policyframework

package
v0.15.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

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 added in v0.12.0

type UserArgs struct {
	policyaddon.UserArgs
	SyncPoliciesOnMulticlusterHub bool  `json:"syncPoliciesOnMulticlusterHub,omitempty"`
	EvaluationConcurrency         uint8 `json:"evaluationConcurrency,omitempty"`
	ClientQPS                     uint8 `json:"clientQPS,omitempty"` //nolint:tagliatelle
	ClientBurst                   uint8 `json:"clientBurst,omitempty"`
}

Jump to

Keyboard shortcuts

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