Documentation ¶
Index ¶
- func AppliedAsSecurityPeer(namespace string, applied securityv1alpha1.ApplyToPeer) securityv1alpha1.SecurityPolicyPeer
- func EndpointGroupIndexSecurityPolicyFunc(o client.Object) []string
- func GenerateGroupName(spec *groupv1alpha1.EndpointGroupSpec) string
- func GetAllEpWithNamedPortGroup() *groupv1alpha1.EndpointGroup
- func PeerAsEndpointGroup(namespace string, peer securityv1alpha1.SecurityPolicyPeer) *groupv1alpha1.EndpointGroup
- type Reconciler
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AppliedAsSecurityPeer ¶
func AppliedAsSecurityPeer(namespace string, applied securityv1alpha1.ApplyToPeer) securityv1alpha1.SecurityPolicyPeer
func EndpointGroupIndexSecurityPolicyFunc ¶
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
func PeerAsEndpointGroup ¶
func PeerAsEndpointGroup(namespace string, peer securityv1alpha1.SecurityPolicyPeer) *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
Click to show internal directories.
Click to hide internal directories.