package v1

import "k8s.io/client-go/informers/networking/v1"

Index

Functions

func NewFilteredIngressClassInformer

func NewFilteredIngressClassInformer(client kubernetes.Interface, resyncPeriod time.Duration, indexers cache.Indexers, tweakListOptions internalinterfaces.TweakListOptionsFunc) cache.SharedIndexInformer

NewFilteredIngressClassInformer constructs a new informer for IngressClass type. Always prefer using an informer factory to get a shared informer instead of getting an independent one. This reduces memory footprint and number of connections to the server.

func NewFilteredIngressInformer

func NewFilteredIngressInformer(client kubernetes.Interface, namespace string, resyncPeriod time.Duration, indexers cache.Indexers, tweakListOptions internalinterfaces.TweakListOptionsFunc) cache.SharedIndexInformer

NewFilteredIngressInformer constructs a new informer for Ingress type. Always prefer using an informer factory to get a shared informer instead of getting an independent one. This reduces memory footprint and number of connections to the server.

func NewFilteredNetworkPolicyInformer

func NewFilteredNetworkPolicyInformer(client kubernetes.Interface, namespace string, resyncPeriod time.Duration, indexers cache.Indexers, tweakListOptions internalinterfaces.TweakListOptionsFunc) cache.SharedIndexInformer

NewFilteredNetworkPolicyInformer constructs a new informer for NetworkPolicy type. Always prefer using an informer factory to get a shared informer instead of getting an independent one. This reduces memory footprint and number of connections to the server.

func NewIngressClassInformer

func NewIngressClassInformer(client kubernetes.Interface, resyncPeriod time.Duration, indexers cache.Indexers) cache.SharedIndexInformer

NewIngressClassInformer constructs a new informer for IngressClass type. Always prefer using an informer factory to get a shared informer instead of getting an independent one. This reduces memory footprint and number of connections to the server.

func NewIngressInformer

func NewIngressInformer(client kubernetes.Interface, namespace string, resyncPeriod time.Duration, indexers cache.Indexers) cache.SharedIndexInformer

NewIngressInformer constructs a new informer for Ingress type. Always prefer using an informer factory to get a shared informer instead of getting an independent one. This reduces memory footprint and number of connections to the server.

func NewNetworkPolicyInformer

func NewNetworkPolicyInformer(client kubernetes.Interface, namespace string, resyncPeriod time.Duration, indexers cache.Indexers) cache.SharedIndexInformer

NewNetworkPolicyInformer constructs a new informer for NetworkPolicy type. Always prefer using an informer factory to get a shared informer instead of getting an independent one. This reduces memory footprint and number of connections to the server.

Types

type IngressClassInformer

type IngressClassInformer interface {
	Informer() cache.SharedIndexInformer
	Lister() v1.IngressClassLister
}

IngressClassInformer provides access to a shared informer and lister for IngressClasses.

type IngressInformer

type IngressInformer interface {
	Informer() cache.SharedIndexInformer
	Lister() v1.IngressLister
}

IngressInformer provides access to a shared informer and lister for Ingresses.

type Interface

type Interface interface {
	// Ingresses returns a IngressInformer.
	Ingresses() IngressInformer
	// IngressClasses returns a IngressClassInformer.
	IngressClasses() IngressClassInformer
	// NetworkPolicies returns a NetworkPolicyInformer.
	NetworkPolicies() NetworkPolicyInformer
}

Interface provides access to all the informers in this group version.

func New

New returns a new Interface.

type NetworkPolicyInformer

type NetworkPolicyInformer interface {
	Informer() cache.SharedIndexInformer
	Lister() v1.NetworkPolicyLister
}

NetworkPolicyInformer provides access to a shared informer and lister for NetworkPolicies.

Source Files

ingress.go ingressclass.go interface.go networkpolicy.go

Version
v0.28.15
Published
Oct 23, 2024
Platform
js/wasm
Imports
10 packages
Last checked
17 minutes ago

Tools for package owners.