Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var FS embed.FS
FS go:embed
Functions ¶
func GetAgentAddon ¶
func GetAgentAddon(ctx context.Context, controllerContext *controllercmd.ControllerContext) (agent.AgentAddon, error)
func GetAndAddAgent ¶
func GetAndAddAgent( ctx context.Context, mgr addonmanager.AddonManager, controllerContext *controllercmd.ControllerContext, ) error
Types ¶
type UserArgs ¶
type UserArgs struct { policyaddon.UserArgs EvaluationConcurrency uint8 `json:"evaluationConcurrency,omitempty"` ClientQPS uint8 `json:"clientQPS,omitempty"` //nolint:tagliatelle ClientBurst uint8 `json:"clientBurst,omitempty"` }
type UserValues ¶
type UserValues struct { GlobalValues policyaddon.GlobalValues `json:"global,"` KubernetesDistribution string `json:"kubernetesDistribution"` HostingKubernetesDistribution string `json:"hostingKubernetesDistribution"` Prometheus map[string]interface{} `json:"prometheus"` OperatorPolicy map[string]interface{} `json:"operatorPolicy"` UserArgs UserArgs `json:"args,"` }
Click to show internal directories.
Click to hide internal directories.