Documentation ¶
Index ¶
- Variables
- func App() *cobra.Command
- func NewAgentConfig() *cobra.Command
- func NewAgentToken() *cobra.Command
- func NewApply() *cobra.Command
- func NewInstall() *cobra.Command
- func NewManager() *cobra.Command
- func NewTest() *cobra.Command
- type AgentConfig
- type AgentToken
- type Apply
- type BundleInputArgs
- type Flt
- type Manager
- type OutputArgs
- type OutputArgsNoDefault
- type Test
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Client *client.Getter Debug command.DebugConfig )
Functions ¶
func NewAgentConfig ¶
func NewAgentToken ¶
func NewInstall ¶
func NewManager ¶
Types ¶
type AgentConfig ¶
type AgentToken ¶
type AgentToken struct { SystemNamespace string `usage:"System namespace of the manager" default:"fleet-system"` TTL string `usage:"How long the generated registration token is valid, 0 means forever" default:"1440m" short:"t"` CAFile string `usage:"File containing optional CA cert for fleet management server" name:"ca-file" short:"c"` NoCA bool `json:"Use no custom CA for a fleet manager that is signed by a well known CA with a proper CN."` ServerURL string `usage:"The full URL to the fleet management server"` Group string `usage:"Cluster group to generate config for" default:"default" short:"g"` }
type Apply ¶
type Apply struct { BundleInputArgs OutputArgsNoDefault File string `usage:"Read full bundle contents from file" short:"f"` Compress bool `usage:"Force all resources to be compress" short:"c"` }
type BundleInputArgs ¶
type BundleInputArgs struct {
BundleFile string `usage:"Location of the bundle.yaml" short:"b"`
}
type Flt ¶
type Manager ¶
type Manager struct { SystemNamespace string `usage:"Namespace that will be use in manager and agent cluster" default:"fleet-system"` ManagerImage string `usage:"Image to use for manager"` AgentImage string `usage:"Image to use for all agents"` CRDsOnly bool `usage:"Output CustomResourceDefinitions only"` }
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.