cli

package
v0.3.2 Latest Latest
Warning

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

Go to latest
Published: Dec 24, 2018 License: Apache-2.0 Imports: 16 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddUserFromFile added in v0.3.0

func AddUserFromFile(client api.UserServiceClient, ctx context.Context, fn string) error

func GetPassword added in v0.3.0

func GetPassword(cmd *cobra.Command) (string, error)

func LoadTestplan

func LoadTestplan(fn string) (*types.TestPlan, error)

Types

type Config added in v0.3.0

type Config struct {
	Host    string
	TLSCert string `yaml:"tlsCert"`
	Timeout uint32
	Token   string
}

type Init

type Init struct {
	Filename       string
	NonInteractive bool
}

type InitPlan

type InitPlan struct {
	Init
	ID   string
	Name string
}

func (*InitPlan) Run

func (cfg *InitPlan) Run() error

type InitTestcase

type InitTestcase struct {
	Init
	types.Testcase
	MinTesterCountSet bool
}

func (*InitTestcase) Complete

func (cfg *InitTestcase) Complete(suite *types.TestPlan) error

func (*InitTestcase) Run

func (cfg *InitTestcase) Run() error

Jump to

Keyboard shortcuts

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