v1alpha2

package
v0.4.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 19, 2022 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewFilteredHubInformer

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

NewFilteredHubInformer constructs a new informer for Hub 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 NewFilteredRouteInformer

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

NewFilteredRouteInformer constructs a new informer for Route 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 NewFilteredRoutePolicyInformer

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

NewFilteredRoutePolicyInformer constructs a new informer for RoutePolicy 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 NewHubInformer

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

NewHubInformer constructs a new informer for Hub 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 NewRouteInformer

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

NewRouteInformer constructs a new informer for Route 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 NewRoutePolicyInformer

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

NewRoutePolicyInformer constructs a new informer for RoutePolicy 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 HubInformer

type HubInformer interface {
	Informer() cache.SharedIndexInformer
	Lister() v1alpha2.HubLister
}

HubInformer provides access to a shared informer and lister for Hubs.

type Interface

type Interface interface {
	// Hubs returns a HubInformer.
	Hubs() HubInformer
	// Routes returns a RouteInformer.
	Routes() RouteInformer
	// RoutePolicies returns a RoutePolicyInformer.
	RoutePolicies() RoutePolicyInformer
}

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

func New

New returns a new Interface.

type RouteInformer

type RouteInformer interface {
	Informer() cache.SharedIndexInformer
	Lister() v1alpha2.RouteLister
}

RouteInformer provides access to a shared informer and lister for Routes.

type RoutePolicyInformer

type RoutePolicyInformer interface {
	Informer() cache.SharedIndexInformer
	Lister() v1alpha2.RoutePolicyLister
}

RoutePolicyInformer provides access to a shared informer and lister for RoutePolicies.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL