Documentation ¶
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"` SyncBefore string `usage:"Force sync all deployments before this RFC3339 time"` }
type BundleInputArgs ¶
type Fleet ¶ added in v0.3.0
type Fleet struct { SystemNamespace string `usage:"System namespace of the controller" default:"fleet-system"` Namespace string `usage:"namespace" env:"NAMESPACE" default:"fleet-local" short:"n" env:"NAMESPACE"` 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"` 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"` PrintBundle bool `usage:"Don't run match and just output the generated bundle"` }
Click to show internal directories.
Click to hide internal directories.