kanctl

package
v0.0.0-...-b5a9d2e Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2024 License: Apache-2.0 Imports: 37 Imported by: 1

Documentation

Index

Constants

View Source
const (
	AzureStorageAccountFlag = "storage-account"
	AzureStorageKeyFlag     = "storage-key"
	AzureStorageEnvFlag     = "storage-env"
)

Variables

View Source
var (
	// Verbose indicates whether verbose output should be displayed
	Verbose bool
)

Functions

func ChildActionSet

func ChildActionSet(parent *crv1alpha1.ActionSet, params *PerformParams) (*crv1alpha1.ActionSet, error)

func Execute

func Execute()

Execute adds all child commands to the root command and sets flags appropriately. This is called by main.main(). It only needs to happen once to the rootCmd.

func IsArgsLengthError

func IsArgsLengthError(err error) bool

IsArgsLengthError returns true iff the underlying cause was an argsLengthErr.

Types

type PerformParams

type PerformParams struct {
	Namespace        string
	ActionName       string
	ActionSetName    string
	ParentName       string
	Blueprint        string
	DryRun           bool
	Objects          []crv1alpha1.ObjectReference
	Options          map[string]string
	Profile          *crv1alpha1.ObjectReference
	RepositoryServer *crv1alpha1.ObjectReference
	Secrets          map[string]crv1alpha1.ObjectReference
	ConfigMaps       map[string]crv1alpha1.ObjectReference
	Labels           map[string]string
}

Jump to

Keyboard shortcuts

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