var matchEverythingRules …
var sideEffectsUnknown …
var sideEffectsNone …
var sideEffectsSome …
var sideEffectsNoneOnDryRun …
var reinvokeNever …
var reinvokeIfNeeded …
func NewFakeValidatingDataSource(name string, webhooks []registrationv1.ValidatingWebhook, stopCh <-chan struct{ … }
func NewFakeMutatingDataSource(name string, webhooks []registrationv1.MutatingWebhook, stopCh <-chan struct{ … }
func newAttributesRecord(object metav1.Object, oldObject metav1.Object, kind schema.GroupVersionKind, namespace string, name string, resource string, labels map[string]string, dryRun bool) admission.Attributes { … }
type FakeAttributes …
func (f *FakeAttributes) AddAnnotation(k, v string) error { … }
func (f *FakeAttributes) AddAnnotationWithLevel(k, v string, _ auditinternal.Level) error { … }
func (f *FakeAttributes) GetAnnotations(level auditinternal.Level) map[string]string { … }
func NewAttribute(namespace string, labels map[string]string, dryRun bool) admission.Attributes { … }
func NewAttributeUnstructured(namespace string, labels map[string]string, dryRun bool) admission.Attributes { … }
type urlConfigGenerator …
func (c urlConfigGenerator) ccfgURL(urlPath string) registrationv1.WebhookClientConfig { … }
type ValidatingTest …
type MutatingTest …
type DurationTest …
func ConvertToMutatingTestCases(tests []ValidatingTest, configurationName string) []MutatingTest { … }
func ConvertToMutatingWebhooks(webhooks []registrationv1.ValidatingWebhook) []registrationv1.MutatingWebhook { … }
func NewNonMutatingTestCases(url *url.URL) []ValidatingTest { … }
func NewNonMutatingPanicTestCases(url *url.URL) []ValidatingTest { … }
func mutationAnnotationValue(configuration, webhook string, mutated bool) string { … }
func patchAnnotationValue(configuration, webhook string, patch string) string { … }
func NewMutatingTestCases(url *url.URL, configurationName string) []MutatingTest { … }
type CachedTest …
func NewCachedClientTestcases(url *url.URL) []CachedTest { … }
func ccfgSVC(urlPath string) registrationv1.WebhookClientConfig { … }
func newMatchEverythingRules() []registrationv1.RuleWithOperations { … }
func NewObjectInterfacesForTest() admission.ObjectInterfaces { … }
func NewValidationDurationTestCases(url *url.URL) []DurationTest { … }