bdd

package
v2.1.155 Latest Latest
Warning

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

Go to latest
Published: Dec 24, 2020 License: Apache-2.0 Imports: 32 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCmdStepBDD

func NewCmdStepBDD(commonOpts *opts.CommonOptions) *cobra.Command

Types

type Command

type Command struct {
	Command string   `json:"command,omitempty"`
	Args    []string `json:"args,omitempty"`
}

Command for running post create cluster commands

type CreateCluster

type CreateCluster struct {
	Name      string   `json:"name,omitempty"`
	Args      []string `json:"args,omitempty"`
	NoLabels  bool     `json:"noLabels,omitempty"`
	Labels    string   `json:"labels,omitempty"`
	Terraform bool     `json:"terraform,omitempty"`

	Commands []Command `json:"commands,omitempty"`
}

CreateCluster defines how to create a cluster

type CreateClusters

type CreateClusters struct {
	Clusters []*CreateCluster `json:"clusters,omitempty"`
}

CreateClusters contains an array of clusters

func LoadBddClusters

func LoadBddClusters(fileName string) (*CreateClusters, error)

LoadBddClusters loads the cluster configuration from the given file

type StepBDDFlags

type StepBDDFlags struct {
	GoPath              string
	GitProvider         string
	GitOwner            string
	ReportsOutputDir    string
	UseCurrentTeam      bool
	DeleteTeam          bool
	DisableDeleteApp    bool
	DisableDeleteRepo   bool
	IgnoreTestFailure   bool
	Parallel            bool
	VersionsDir         string
	VersionsRepository  string
	VersionsGitRef      string
	ConfigFile          string
	TestRepoGitCloneUrl string
	SkipRepoGitClone    bool
	UseRevision         bool
	TestGitBranch       string
	TestGitPrNumber     string
	JxBinary            string
	TestCases           []string
	VersionsRepoPr      bool
	BaseDomain          string
	Dir                 string
}

type StepBDDOptions

type StepBDDOptions struct {
	step.StepOptions

	InstallOptions create.InstallOptions
	Flags          StepBDDFlags
}

StepBDDOptions contains the command line arguments for this command

func (*StepBDDOptions) Run

func (o *StepBDDOptions) Run() error

Jump to

Keyboard shortcuts

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