Versions in this module Expand all Collapse all v0 v0.0.3 Apr 15, 2022 v0.0.1 Apr 15, 2022 Changes in this version + func CreateResource(name string) *pkgtest.Resource + func ExpectAllowed(t *testing.T, resp *admissionv1.AdmissionResponse) + func ExpectFailsWith(t *testing.T, resp *admissionv1.AdmissionResponse, contains string) + func ExpectPatches(t *testing.T, a []byte, e []jsonpatch.JsonPatchOperation) + func MakeFactory(ctor Ctor) rtesting.Factory + func NewScheme() *runtime.Scheme + type Ctor func(context.Context, *Listers, configmap.Watcher) controller.Reconciler + type Listers struct + func NewListers(objs []runtime.Object) Listers + func (*Listers) NewScheme() *runtime.Scheme + func (l *Listers) GetAPIExtensionsObjects() []runtime.Object + func (l *Listers) GetConfigMapLister() corev1listers.ConfigMapLister + func (l *Listers) GetCustomResourceDefinitionLister() apixlisters.CustomResourceDefinitionLister + func (l *Listers) GetDeploymentLister() appsv1listers.DeploymentLister + func (l *Listers) GetDuckObjects() []runtime.Object + func (l *Listers) GetEndpointsLister() corev1listers.EndpointsLister + func (l *Listers) GetHorizontalPodAutoscalerLister() autoscalingv2beta1listers.HorizontalPodAutoscalerLister + func (l *Listers) GetK8sServiceLister() corev1listers.ServiceLister + func (l *Listers) GetKubeObjects() []runtime.Object + func (l *Listers) GetMutatingWebhookConfigurationLister() admissionlisters.MutatingWebhookConfigurationLister + func (l *Listers) GetNamespaceLister() corev1listers.NamespaceLister + func (l *Listers) GetSecretLister() corev1listers.SecretLister + func (l *Listers) GetTestObjects() []runtime.Object + func (l *Listers) GetValidatingWebhookConfigurationLister() admissionlisters.ValidatingWebhookConfigurationLister + func (l *Listers) IndexerFor(obj runtime.Object) cache.Indexer