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 ¶
IsArgsLengthError returns true if the underlying cause was an errArgsLength.
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 PodLabels map[string]string PodAnnotations map[string]string }
Click to show internal directories.
Click to hide internal directories.