istio

package
v0.29.0 Latest Latest
Warning

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

Go to latest
Published: Jan 24, 2022 License: Apache-2.0 Imports: 26 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var FakeStatusManagerKey struct{}

FakeStatusManagerKey is a key for retrieving the FakeStatusManager in a test

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) GetDestinationRuleLister added in v0.22.0

func (l *Listers) GetDestinationRuleLister() istiolisters.DestinationRuleLister

GetDestinationRuleLister get lister for istio DestinationRule resource.

func (*Listers) GetEndpointsLister

func (l *Listers) GetEndpointsLister() corev1listers.EndpointsLister

GetEndpointsLister get lister for K8s Endpoints resource.

func (*Listers) GetGatewayLister

func (l *Listers) GetGatewayLister() istiolisters.GatewayLister

GetGatewayLister get lister for Gateway resource.

func (*Listers) GetIngressLister

func (l *Listers) GetIngressLister() networkinglisters.IngressLister

GetIngressLister get lister for Ingress resource.

func (*Listers) GetIstioObjects

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

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 added in v0.16.0

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

func (*Listers) GetSecretLister

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

GetSecretLister get lister for K8s Secret resource.

func (*Listers) GetServerlessServiceLister added in v0.22.0

func (l *Listers) GetServerlessServiceLister() networkinglisters.ServerlessServiceLister

GetServerlessServiceLister get lister for ServerlessService resource.

func (*Listers) GetVirtualServiceLister

func (l *Listers) GetVirtualServiceLister() istiolisters.VirtualServiceLister

GetVirtualServiceLister get lister for istio VirtualService 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