...

Package v1beta1

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

Overview ▾

func NewExternalWorkloadInformer

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

NewExternalWorkloadInformer constructs a new informer for ExternalWorkload 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 NewFilteredExternalWorkloadInformer

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

NewFilteredExternalWorkloadInformer constructs a new informer for ExternalWorkload 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 ExternalWorkloadInformer

ExternalWorkloadInformer provides access to a shared informer and lister for ExternalWorkloads.

type ExternalWorkloadInformer interface {
    Informer() cache.SharedIndexInformer
    Lister() v1beta1.ExternalWorkloadLister
}

type Interface

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

type Interface interface {
    // ExternalWorkloads returns a ExternalWorkloadInformer.
    ExternalWorkloads() ExternalWorkloadInformer
}

func New

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

New returns a new Interface.