kanctl

package
Version: v0.0.0-...-ba709be Latest Latest
Warning

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

Go to latest
Published: May 26, 2022 License: Apache-2.0 Imports: 35 Imported by: 0

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
	ParentName string
	Blueprint  string
	DryRun     bool
	Objects    []crv1alpha1.ObjectReference
	Options    map[string]string
	Profile    *crv1alpha1.ObjectReference
	Secrets    map[string]crv1alpha1.ObjectReference
	ConfigMaps map[string]crv1alpha1.ObjectReference
}

Jump to

Keyboard shortcuts

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