Documentation
¶
Index ¶
Constants ¶
View Source
const ( ManagerConfigName = "fleet-controller" AgentConfigName = "fleet-agent" Key = "config" DefaultNamespace = "fleet-system" )
Variables ¶
Functions ¶
Types ¶
type Config ¶
type Config struct {
AgentImage string `json:"agentImage,omitempty"`
ManageAgent *bool `json:"manageAgent,omitempty"`
Labels map[string]string `json:"labels,omitempty"`
ClientID string `json:"clientID,omitempty"`
APIServerURL string `json:"apiServerURL,omitempty"`
APIServerCA []byte `json:"apiServerCA,omitempty"`
BootstrapNamespace string `json:"bootstrapNamespace,omitempty"`
BootstrapRepo string `json:"bootstrapRepo,omitempty"`
BootstrapBranch string `json:"bootstrapBranch,omitempty"`
}
func DefaultConfig ¶
func DefaultConfig() *Config
Click to show internal directories.
Click to hide internal directories.