configpolicy

package
v0.13.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 27, 2024 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

FS go:embed

Functions

func GetAgentAddon

func GetAgentAddon(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"`
	Prometheus             map[string]interface{}   `json:"prometheus"`
	OperatorPolicy         map[string]interface{}   `json:"operatorPolicy"`
	UserArgs               UserArgs                 `json:"args,"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL