policy

package
v0.0.0-...-e1628ab Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AppliedAsSecurityPeer

func AppliedAsSecurityPeer(namespace string, applied securityv1alpha1.ApplyToPeer) securityv1alpha1.SecurityPolicyPeer

func EndpointGroupIndexSecurityPolicyFunc

func EndpointGroupIndexSecurityPolicyFunc(o client.Object) []string

EndpointGroupIndexSecurityPolicyFunc return the SecurityPolicy reference EndpointGroup names

func GenerateGroupName

func GenerateGroupName(spec *groupv1alpha1.EndpointGroupSpec) string

GenerateGroupName use spec hash as EndpointGroup name

func GetAllEpWithNamedPortGroup

func GetAllEpWithNamedPortGroup() *groupv1alpha1.EndpointGroup

Types

type Reconciler

type Reconciler struct {
	client.Client
	ReadClient client.Reader
	Scheme     *runtime.Scheme
	// contains filtered or unexported fields
}

func (*Reconciler) GroupGenerateReconcile

func (r *Reconciler) GroupGenerateReconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)

GroupGenerateReconcile generate EndpointGroups by SecurityPolicy selector.

func (*Reconciler) SetupWithManager

func (r *Reconciler) SetupWithManager(mgr ctrl.Manager) error

Jump to

Keyboard shortcuts

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