...

Package v1

import "github.com/k8snetworkplumbingwg/network-attachment-definition-client/pkg/client/informers/externalversions/k8s.cni.cncf.io/v1"
Overview
Index

Overview ▾

func NewFilteredNetworkAttachmentDefinitionInformer

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

NewFilteredNetworkAttachmentDefinitionInformer constructs a new informer for NetworkAttachmentDefinition 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 NewNetworkAttachmentDefinitionInformer

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

NewNetworkAttachmentDefinitionInformer constructs a new informer for NetworkAttachmentDefinition 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.

type Interface

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

type Interface interface {
    // NetworkAttachmentDefinitions returns a NetworkAttachmentDefinitionInformer.
    NetworkAttachmentDefinitions() NetworkAttachmentDefinitionInformer
}

func New

func New(f internalinterfaces.SharedInformerFactory, namespace string, tweakListOptions internalinterfaces.TweakListOptionsFunc) Interface

New returns a new Interface.

type NetworkAttachmentDefinitionInformer

NetworkAttachmentDefinitionInformer provides access to a shared informer and lister for NetworkAttachmentDefinitions.

type NetworkAttachmentDefinitionInformer interface {
    Informer() cache.SharedIndexInformer
    Lister() v1.NetworkAttachmentDefinitionLister
}