common

package
v1.10.34-beta4 Latest Latest
Warning

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

Go to latest
Published: Apr 5, 2023 License: MIT Imports: 14 Imported by: 0

Documentation

Index

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 CreateVariables(cmd *cobra.Command, ignoreSecretVariable bool) (vars map[string]testkube.Variable, err error)

func GetClient

func GetClient(cmd *cobra.Command) (client.Client, string)

GetClient returns api client

func NewDataFromFlags added in v1.7.29

func NewDataFromFlags(cmd *cobra.Command) (data *string, err error)

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

func UIPrintCRD(tmpl crd.Template, object any, firstEntry *bool)

UIPrintCRD prints crd to ui

func UiPrintContext added in v1.9.23

func UiPrintContext(cfg config.Data)

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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