package v1

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

Index

Functions

func NewFilteredIPAddressInformer

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

NewFilteredIPAddressInformer constructs a new informer for IPAddress 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 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 NewFilteredServiceCIDRInformer

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

NewFilteredServiceCIDRInformer constructs a new informer for ServiceCIDR 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 NewIPAddressInformer

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

NewIPAddressInformer constructs a new informer for IPAddress 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.

func NewServiceCIDRInformer

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

NewServiceCIDRInformer constructs a new informer for ServiceCIDR 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 IPAddressInformer

type IPAddressInformer interface {
	Informer() cache.SharedIndexInformer
	Lister() networkingv1.IPAddressLister
}

IPAddressInformer provides access to a shared informer and lister for IPAddresses.

type IngressClassInformer

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

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

type IngressInformer

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

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

type Interface

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

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() networkingv1.NetworkPolicyLister
}

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

type ServiceCIDRInformer

type ServiceCIDRInformer interface {
	Informer() cache.SharedIndexInformer
	Lister() networkingv1.ServiceCIDRLister
}

ServiceCIDRInformer provides access to a shared informer and lister for ServiceCIDRs.

Source Files

ingress.go ingressclass.go interface.go ipaddress.go networkpolicy.go servicecidr.go

Version
v0.33.0 (latest)
Published
Apr 23, 2025
Platform
linux/amd64
Imports
10 packages
Last checked
1 hour ago

Tools for package owners.