testing

package
v0.48.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 31, 2026 License: Apache-2.0 Imports: 26 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MakeFactory

func MakeFactory(ctor Ctor) rtesting.Factory

MakeFactory creates a reconciler factory with fake clients and controller created by `ctor`.

func NewScheme

func NewScheme() *runtime.Scheme

Types

type Ctor

Ctor functions create a k8s controller with given params.

type Listers

type Listers struct {
	// contains filtered or unexported fields
}

func NewListers

func NewListers(objs []runtime.Object) Listers

func (*Listers) GetCMCertificateLister

func (l *Listers) GetCMCertificateLister() certmanagerlisters.CertificateLister

GetCMCertificateLister gets lister for Cert Manager Certificate resource.

func (*Listers) GetCMCertificateObjects

func (l *Listers) GetCMCertificateObjects() []runtime.Object

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 (l *Listers) GetKubeObjects() []runtime.Object

func (*Listers) GetNetworkingObjects

func (l *Listers) GetNetworkingObjects() []runtime.Object

func (*Listers) GetSecretLister

func (l *Listers) GetSecretLister() corev1listers.SecretLister

GetSecretLister get lister for K8s Secret resource.

func (*Listers) IndexerFor

func (l *Listers) IndexerFor(obj runtime.Object) cache.Indexer

IndexerFor returns the indexer for the given object.

func (*Listers) NewScheme

func (*Listers) NewScheme() *runtime.Scheme

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL