informers

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Oct 28, 2019 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FilterWithNameAndNamespace

func FilterWithNameAndNamespace(name string, namespace string) func(obj interface{}) bool

func FilterWithNamespace

func FilterWithNamespace(namespace string) func(obj interface{}) bool

func FilterWithOwnerGroupVersionKind

func FilterWithOwnerGroupVersionKind(gvk schema.GroupVersionKind) func(obj interface{}) bool

func HandleAddUpdate

func HandleAddUpdate(h func(interface{})) cache.ResourceEventHandler

func HandleAll

func HandleAll(h func(interface{})) cache.ResourceEventHandler

func New

func New(clients clients.Interface, resync time.Duration) *informers

func PassNew

func PassNew(f func(interface{})) func(interface{}, interface{})

Types

type Interface

type Interface interface {
	// K8s informers
	ConfigMaps() corev1.ConfigMapInformer
	Deployments() appsv1.DeploymentInformer
	HorizontalPodAutoscalers() autoscalingv2beta1.HorizontalPodAutoscalerInformer
	Jobs() batchv1.JobInformer
	NetworkPolicies() networkingv1.NetworkPolicyInformer
	PersistentVolumeClaims() corev1.PersistentVolumeClaimInformer
	Secrets() corev1.SecretInformer
	Services() corev1.ServiceInformer
	StatefulSets() appsv1.StatefulSetInformer
	Ingresses() extensionsv1beta1.IngressInformer

	// Istio informers
	IstioDestinationRules() istionetworkv1alpha3.DestinationRuleInformer
	IstioEnvoyFilters() istionetworkv1alpha3.EnvoyFilterInformer
	IstioGateways() istionetworkv1alpha3.GatewayInformer
	IstioVirtualServices() istionetworkv1alpha3.VirtualServiceInformer
	IstioPolicy() istioauthenticationv1alpha1.PolicyInformer

	// Knative serving informers
	KnativeServingConfigurations() knativeservingv1alpha1.ConfigurationInformer

	// Cellery mesh informers
	Cells() meshv1alpha2.CellInformer
	Components() meshv1alpha2.ComponentInformer
	Composites() meshv1alpha2.CompositeInformer
	Gateways() meshv1alpha2.GatewayInformer
	TokenServices() meshv1alpha2.TokenServiceInformer
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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