...

Package v1beta1

import "github.com/linkerd/linkerd2/controller/gen/client/informers/externalversions/server/v1beta1"
Overview
Index

Overview ▾

func NewFilteredServerInformer

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

NewFilteredServerInformer constructs a new informer for Server 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 NewServerInformer

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

NewServerInformer constructs a new informer for Server 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 {
    // Servers returns a ServerInformer.
    Servers() ServerInformer
}

func New

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

New returns a new Interface.

type ServerInformer

ServerInformer provides access to a shared informer and lister for Servers.

type ServerInformer interface {
    Informer() cache.SharedIndexInformer
    Lister() v1beta1.ServerLister
}