Documentation ¶
Overview ¶
Package cmds sets up the CLI commands for the fleet apply binary. (fleetapply)
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Client *client.Getter SystemNamespace string Debug command.DebugConfig )
Functions ¶
Types ¶
type Apply ¶
type Apply struct { BundleInputArgs OutputArgsNoDefault Label map[string]string `usage:"Labels to apply to created bundles" short:"l"` TargetsFile string `usage:"Addition source of targets and restrictions to be append"` Compress bool `usage:"Force all resources to be compress" short:"c"` ServiceAccount string `usage:"Service account to assign to bundle created" short:"a"` SyncGeneration int `usage:"Generation number used to force sync the deployment"` TargetNamespace string `usage:"Ensure this bundle goes to this target namespace"` Paused bool `usage:"Create bundles in a paused state"` Commit string `usage:"Commit to assign to the bundle" env:"COMMIT"` Username string `usage:"Basic auth username for helm repo" env:"HELM_USERNAME"` PasswordFile string `usage:"Path of file containing basic auth password for helm repo"` CACertsFile string `usage:"Path of custom cacerts for helm repo" name:"cacerts-file"` SSHPrivateKeyFile string `usage:"Path of ssh-private-key for helm repo" name:"ssh-privatekey-file"` }
type BundleInputArgs ¶
type Fleet ¶ added in v0.3.0
type Fleet struct { SystemNamespace string `usage:"System namespace of the controller" default:"cattle-fleet-system"` Namespace string `usage:"namespace" env:"NAMESPACE" default:"fleet-local" short:"n"` Kubeconfig string `usage:"kubeconfig for authentication" short:"k"` Context string `usage:"kubeconfig context for authentication"` }
func (*Fleet) PersistentPre ¶ added in v0.3.0
type OutputArgs ¶
type OutputArgs struct {
Output string `usage:"Output contents to file or - for stdout" short:"o" default:"-"`
}
type OutputArgsNoDefault ¶
type OutputArgsNoDefault struct {
Output string `usage:"Output contents to file or - for stdout" short:"o"`
}
type Test ¶
type Test struct { BundleInputArgs Quiet bool `usage:"Just print the match and don't print the resources" short:"q"` Group string `usage:"Cluster group to match against" short:"g"` Name string `usage:"Cluster name to match against" short:"N"` Label map[string]string `usage:"Cluster labels to match against" short:"l"` GroupLabel map[string]string `usage:"Cluster group labels to match against" short:"L"` Target string `usage:"Explicit target to match" short:"t"` }
Click to show internal directories.
Click to hide internal directories.