Documentation ¶
Index ¶
- func Find(slice []string, val string) bool
- type PolicyRequireIngressExemption
- type PolicyRequireUniqueHost
- func (p PolicyRequireUniqueHost) CheckIngressNamespaces(ctx context.Context, host string) (map[string]struct{}, error)
- func (p PolicyRequireUniqueHost) Name() string
- func (p PolicyRequireUniqueHost) Validate(ctx context.Context, config policies.Config, ar *admissionv1.AdmissionRequest) ([]policies.ResourceViolation, []policies.PatchOperation)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type PolicyRequireIngressExemption ¶
type PolicyRequireIngressExemption struct{}
func (PolicyRequireIngressExemption) Name ¶
func (p PolicyRequireIngressExemption) Name() string
func (PolicyRequireIngressExemption) Validate ¶
func (p PolicyRequireIngressExemption) Validate(ctx context.Context, config policies.Config, ar *admissionv1.AdmissionRequest) ([]policies.ResourceViolation, []policies.PatchOperation)
type PolicyRequireUniqueHost ¶
type PolicyRequireUniqueHost struct {
// contains filtered or unexported fields
}
func NewPolicyRequireUniqueHost ¶
func NewPolicyRequireUniqueHost() (PolicyRequireUniqueHost, error)
func (PolicyRequireUniqueHost) CheckIngressNamespaces ¶
func (PolicyRequireUniqueHost) Name ¶
func (p PolicyRequireUniqueHost) Name() string
func (PolicyRequireUniqueHost) Validate ¶
func (p PolicyRequireUniqueHost) Validate(ctx context.Context, config policies.Config, ar *admissionv1.AdmissionRequest) ([]policies.ResourceViolation, []policies.PatchOperation)
Click to show internal directories.
Click to hide internal directories.