policyendpoints

package
v1.0.8 Latest Latest
Warning

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

Go to latest
Published: Apr 1, 2024 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

View Source
const (
	IndexKeyPolicyReferenceName = "spec.policyRef.name"
)

Variables

This section is empty.

Functions

func IndexFunctionPolicyReferenceName added in v0.5.2

func IndexFunctionPolicyReferenceName(obj client.Object) []string

IndexFunctionPolicyReferenceName is IndexFunc for "PolicyReference" index.

func NewPolicyEndpointsManager

func NewPolicyEndpointsManager(k8sClient client.Client, endpointChunkSize int, logger logr.Logger) *policyEndpointsManager

NewPolicyEndpointsManager constructs a new policyEndpointsManager

Types

type PolicyEndpointsManager

type PolicyEndpointsManager interface {
	Reconcile(ctx context.Context, policy *networking.NetworkPolicy) error
	Cleanup(ctx context.Context, policy *networking.NetworkPolicy) error
}

Jump to

Keyboard shortcuts

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