configpolicy

package
v0.11.0 Latest Latest
Warning

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

Go to latest
Published: May 25, 2023 License: Apache-2.0 Imports: 14 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"`
	UserArgs               UserArgs                 `json:"args,"`
}

Jump to

Keyboard shortcuts

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