overridemanager

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Feb 8, 2021 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func OverridePolicyMatches

func OverridePolicyMatches(resource *unstructured.Unstructured, policy *policyv1alpha1.OverridePolicy) bool

OverridePolicyMatches tells if the override policy should be applied to the resource.

Types

type OverrideManager

type OverrideManager interface {
	ApplyOverridePolicies(rawObj *unstructured.Unstructured, cluster string) error
}

OverrideManager managers override policies operation

func New

func New(client client.Client) OverrideManager

New builds an OverrideManager instance.

Jump to

Keyboard shortcuts

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