tests

package
v1.10.42 Latest Latest
Warning

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

Go to latest
Published: Apr 10, 2023 License: MIT Imports: 19 Imported by: 0

Documentation

Index

Constants

View Source
const WatchInterval = 2 * time.Second

Variables

This section is empty.

Functions

func AddCreateFlags added in v1.10.29

func AddCreateFlags(cmd *cobra.Command, flags *CreateCommonFlags)

AddCreateFlags adds flags to the create command that can be used by the create from file

func DownloadArtifacts added in v0.9.5

func DownloadArtifacts(id, dir string, client apiclientv1.Client)

func NewAbortExecutionCmd added in v0.9.5

func NewAbortExecutionCmd() *cobra.Command

func NewAbortExecutionsCmd added in v1.9.22

func NewAbortExecutionsCmd() *cobra.Command

func NewCreateTestsCmd

func NewCreateTestsCmd() *cobra.Command

NewCreateTestsCmd is a command tp create new Test Custom Resource

func NewDeleteTestsCmd

func NewDeleteTestsCmd() *cobra.Command

func NewGetExecutionCmd added in v0.9.5

func NewGetExecutionCmd() *cobra.Command

func NewGetTestsCmd

func NewGetTestsCmd() *cobra.Command

func NewRunTestCmd added in v0.9.5

func NewRunTestCmd() *cobra.Command

func NewUpdateTestOptionsFromFlags added in v1.7.29

func NewUpdateTestOptionsFromFlags(cmd *cobra.Command) (options apiclientv1.UpdateTestOptions, err error)

NewUpdateTestOptionsFromFlags creates update test options from command flags

func NewUpdateTestsCmd

func NewUpdateTestsCmd() *cobra.Command

func NewUpsertTestOptionsFromFlags added in v0.9.5

func NewUpsertTestOptionsFromFlags(cmd *cobra.Command) (options apiclientv1.UpsertTestOptions, err error)

NewUpsertTestOptionsFromFlags creates upsert test options from command flags

func NewWatchExecutionCmd added in v0.9.5

func NewWatchExecutionCmd() *cobra.Command

Types

type CreateCommonFlags added in v1.10.29

type CreateCommonFlags struct {
	ExecutorType             string
	Labels                   map[string]string
	Variables                map[string]string
	SecretVariables          map[string]string
	Schedule                 string
	ExecutorArgs             []string
	ExecutionName            string
	VariablesFile            string
	Envs                     map[string]string
	SecretEnvs               map[string]string
	HttpProxy, HttpsProxy    string
	SecretVariableReferences map[string]string
	CopyFiles                []string
	Image                    string
	Command                  []string
	ImagePullSecretNames     []string
	Timeout                  int64
	ArtifactStorageClassName string
	ArtifactVolumeMountPath  string
	ArtifactDirs             []string
	JobTemplate              string
	PreRunScript             string
	ScraperTemplate          string
	NegativeTest             bool
	MountConfigMaps          map[string]string
	VariableConfigMaps       []string
	MountSecrets             map[string]string
	VariableSecrets          []string
	UploadTimeout            string
}

CreateCommonFlags are common flags for creating all test types

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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