Documentation ¶
Index ¶
- func AddCreateFlags(cmd *cobra.Command, flags *CreateCommonFlags)
- func DownloadArtifacts(id, dir, format string, masks []string, client apiclientv1.Client)
- func NewAbortExecutionCmd() *cobra.Command
- func NewAbortExecutionsCmd() *cobra.Command
- func NewCreateTestsCmd() *cobra.Command
- func NewDeleteTestsCmd() *cobra.Command
- func NewGetExecutionCmd() *cobra.Command
- func NewGetTestsCmd() *cobra.Command
- func NewRunTestCmd() *cobra.Command
- func NewUpdateTestOptionsFromFlags(cmd *cobra.Command) (options apiclientv1.UpdateTestOptions, err error)
- func NewUpdateTestsCmd() *cobra.Command
- func NewUpsertTestOptionsFromFlags(cmd *cobra.Command) (options apiclientv1.UpsertTestOptions, err error)
- func NewWatchExecutionCmd() *cobra.Command
- func PrepareVariablesFile(client client.Client, parentName string, parentType client.TestingType, ...) (string, bool, error)
- type CreateCommonFlags
Constants ¶
This section is empty.
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, format string, masks []string, client apiclientv1.Client)
func NewAbortExecutionCmd ¶ added in v0.9.5
func NewAbortExecutionsCmd ¶ added in v1.9.22
func NewCreateTestsCmd ¶
NewCreateTestsCmd is a command tp create new Test Custom Resource
func NewDeleteTestsCmd ¶
func NewGetExecutionCmd ¶ added in v0.9.5
func NewGetTestsCmd ¶
func NewRunTestCmd ¶ added in v0.9.5
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 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
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 ArgsMode 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 JobTemplateReference string CronJobTemplate string CronJobTemplateReference string PreRunScript string PostRunScript string ExecutePostRunScriptBeforeScraping bool ScraperTemplate string ScraperTemplateReference string PvcTemplate string PvcTemplateReference string NegativeTest bool MountConfigMaps map[string]string VariableConfigMaps []string MountSecrets map[string]string VariableSecrets []string UploadTimeout string ArtifactStorageBucket string ArtifactOmitFolderPerExecution bool Description string }
CreateCommonFlags are common flags for creating all test types
Source Files ¶
Click to show internal directories.
Click to hide internal directories.