type PolicyMatcher …
type matcher …
func NewPolicyMatcher(m *matching.Matcher) PolicyMatcher { … }
func (c *matcher) ValidateInitialization() error { … }
func (c *matcher) DefinitionMatches(a admission.Attributes, o admission.ObjectInterfaces, definition PolicyAccessor) (bool, schema.GroupVersionResource, schema.GroupVersionKind, error) { … }
func (c *matcher) BindingMatches(a admission.Attributes, o admission.ObjectInterfaces, binding BindingAccessor) (bool, error) { … }
func (c *matcher) GetNamespace(name string) (*corev1.Namespace, error) { … }
var _ …
type matchCriteria …
func (m *matchCriteria) GetParsedNamespaceSelector() (labels.Selector, error) { … }
func (m *matchCriteria) GetParsedObjectSelector() (labels.Selector, error) { … }
func (m *matchCriteria) GetMatchResources() admissionregistrationv1.MatchResources { … }