Documentation ¶
Index ¶
- Variables
- func CreateVariables(cmd *cobra.Command, ignoreSecretVariable bool) (vars map[string]testkube.Variable, err error)
- func GetClient(cmd *cobra.Command) (client.Client, string)
- func NewDataFromFlags(cmd *cobra.Command) (data *string, err error)
- func NewRepositoryFromFlags(cmd *cobra.Command) (repository *testkube.Repository, err error)
- func NewRepositoryUpdateFromFlags(cmd *cobra.Command) (repository *testkube.RepositoryUpdate, err error)
- func UIPrintCRD(tmpl crd.Template, object any, firstEntry *bool)
- func UiPrintContext(cfg config.Data)
- func ValidateUpsertOptions(cmd *cobra.Command, sourceName string) error
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Commit string Version string BuiltBy string Date string )
Functions ¶
func CreateVariables ¶ added in v1.1.10
func NewDataFromFlags ¶ added in v1.7.29
NewDataFromFlags read input data from stdin or '--file' parameter
func NewRepositoryFromFlags ¶ added in v1.7.29
func NewRepositoryFromFlags(cmd *cobra.Command) (repository *testkube.Repository, err error)
NewRepositoryFromFlags creates repository from command flags
func NewRepositoryUpdateFromFlags ¶ added in v1.7.29
func NewRepositoryUpdateFromFlags(cmd *cobra.Command) (repository *testkube.RepositoryUpdate, err error)
NewRepositoryUpdateFromFlags creates repository update from command flags
func UIPrintCRD ¶ added in v1.2.39
UIPrintCRD prints crd to ui
func UiPrintContext ¶ added in v1.9.23
Types ¶
This section is empty.
Source Files ¶
Click to show internal directories.
Click to hide internal directories.