cli

package
v1.0.8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 7, 2019 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CmdGenFlags added in v1.0.4

type CmdGenFlags struct {
}

type CmdReqFlags added in v1.0.1

type CmdReqFlags struct {
	Method   string
	Url      string
	Header   []string
	Body     string
	Format   string
	Snapshot bool
}

func (*CmdReqFlags) GetBody added in v1.0.1

func (f *CmdReqFlags) GetBody() string

func (*CmdReqFlags) GetFormat added in v1.0.5

func (f *CmdReqFlags) GetFormat() string

func (*CmdReqFlags) GetHeader added in v1.0.1

func (f *CmdReqFlags) GetHeader() []string

func (*CmdReqFlags) GetMethod added in v1.0.1

func (f *CmdReqFlags) GetMethod() string

func (*CmdReqFlags) GetUrl added in v1.0.1

func (f *CmdReqFlags) GetUrl() string

type CmdRunFlags added in v1.0.1

type CmdRunFlags struct {
}

type Commander

type Commander struct {
	// contains filtered or unexported fields
}

func NewCommander

func NewCommander(manifest Manifest) (*Commander, error)

func (*Commander) Run

func (c *Commander) Run() error

type ControllerOptions added in v1.0.3

type ControllerOptions struct {
	ConfigPath string
	TestDirs   []string
	InclFiles  []string
	ExclFiles  []string
	TestName   string
	Tags       []string
	NoColor    bool
	// contains filtered or unexported fields
}

func (*ControllerOptions) GetConditionalTags added in v1.0.5

func (a *ControllerOptions) GetConditionalTags() []string

func (*ControllerOptions) GetConfigPath added in v1.0.3

func (a *ControllerOptions) GetConfigPath() string

func (*ControllerOptions) GetExclFiles added in v1.0.6

func (a *ControllerOptions) GetExclFiles() []string

func (*ControllerOptions) GetInclFiles added in v1.0.6

func (a *ControllerOptions) GetInclFiles() []string

func (*ControllerOptions) GetNoColor added in v1.0.6

func (a *ControllerOptions) GetNoColor() bool

func (*ControllerOptions) GetRevision added in v1.0.3

func (a *ControllerOptions) GetRevision() string

func (*ControllerOptions) GetTestDirs added in v1.0.6

func (a *ControllerOptions) GetTestDirs() []string

func (*ControllerOptions) GetTestName added in v1.0.6

func (a *ControllerOptions) GetTestName() string

func (*ControllerOptions) GetVersion added in v1.0.3

func (a *ControllerOptions) GetVersion() string

type Manifest

type Manifest interface {
	GetRevision() string
	GetVersion() string
	String() (string, bool)
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL