Documentation ¶
Index ¶
- func MakeFactory(ctor Ctor) rtesting.Factory
- func NewScheme() *runtime.Scheme
- type Ctor
- type Listers
- func (l *Listers) GetCMCertificateLister() certmanagerlisters.CertificateLister
- func (l *Listers) GetCMCertificateObjects() []runtime.Object
- func (l *Listers) GetCMChallengeLister() acmelisters.ChallengeLister
- func (l *Listers) GetCMClusterIssuerLister() certmanagerlisters.ClusterIssuerLister
- func (l *Listers) GetCertificateLister() networkinglisters.CertificateLister
- func (l *Listers) GetEndpointsLister() corev1listers.EndpointsLister
- func (l *Listers) GetIngressLister() networkinglisters.IngressLister
- func (l *Listers) GetK8sServiceLister() corev1listers.ServiceLister
- func (l *Listers) GetKubeObjects() []runtime.Object
- func (l *Listers) GetNetworkingObjects() []runtime.Object
- func (l *Listers) GetSecretLister() corev1listers.SecretLister
- func (l *Listers) IndexerFor(obj runtime.Object) cache.Indexer
- func (*Listers) NewScheme() *runtime.Scheme
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MakeFactory ¶
MakeFactory creates a reconciler factory with fake clients and controller created by `ctor`.
Types ¶
type Ctor ¶
type Ctor func(context.Context, *Listers, configmap.Watcher) controller.Reconciler
Ctor functions create a k8s controller with given params.
type Listers ¶
type Listers struct {
// contains filtered or unexported fields
}
func NewListers ¶
func (*Listers) GetCMCertificateLister ¶
func (l *Listers) GetCMCertificateLister() certmanagerlisters.CertificateLister
GetCMCertificateLister gets lister for Cert Manager Certificate resource.
func (*Listers) GetCMCertificateObjects ¶
GetCMCertificateObjects gets a list of Cert-Manager Certificate objects.
func (*Listers) GetCMChallengeLister ¶
func (l *Listers) GetCMChallengeLister() acmelisters.ChallengeLister
GetCMChallengeLister gets lister for Cert Manager Challenge resource.
func (*Listers) GetCMClusterIssuerLister ¶
func (l *Listers) GetCMClusterIssuerLister() certmanagerlisters.ClusterIssuerLister
GetCMClusterIssuerLister gets lister for Cert Manager ClusterIssuer resource.
func (*Listers) GetCertificateLister ¶
func (l *Listers) GetCertificateLister() networkinglisters.CertificateLister
GetCertificateLister get lister for Certificate resource.
func (*Listers) GetEndpointsLister ¶
func (l *Listers) GetEndpointsLister() corev1listers.EndpointsLister
GetEndpointsLister get lister for K8s Endpoints resource.
func (*Listers) GetIngressLister ¶
func (l *Listers) GetIngressLister() networkinglisters.IngressLister
GetIngressLister get lister for Ingress resource.
func (*Listers) GetK8sServiceLister ¶
func (l *Listers) GetK8sServiceLister() corev1listers.ServiceLister
GetK8sServiceLister get lister for K8s Service resource.
func (*Listers) GetKubeObjects ¶
func (*Listers) GetNetworkingObjects ¶ added in v0.16.0
func (*Listers) GetSecretLister ¶
func (l *Listers) GetSecretLister() corev1listers.SecretLister
GetSecretLister get lister for K8s Secret resource.
func (*Listers) IndexerFor ¶
IndexerFor returns the indexer for the given object.