v1alpha1

package
v0.5.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewDomainResourceInformer

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

NewDomainResourceInformer constructs a new informer for DomainResource 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 NewFilteredDomainResourceInformer

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

NewFilteredDomainResourceInformer constructs a new informer for DomainResource 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 NewFilteredInstanceInformer

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

NewFilteredInstanceInformer constructs a new informer for Instance 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 NewFilteredPortInformer

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

NewFilteredPortInformer constructs a new informer for Port 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 NewFilteredSchedulerRuleInformer

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

NewFilteredSchedulerRuleInformer constructs a new informer for SchedulerRule 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 NewInstanceInformer

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

NewInstanceInformer constructs a new informer for Instance 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 NewPortInformer

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

NewPortInformer constructs a new informer for Port 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 NewSchedulerRuleInformer

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

NewSchedulerRuleInformer constructs a new informer for SchedulerRule 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 DomainResourceInformer

type DomainResourceInformer interface {
	Informer() cache.SharedIndexInformer
	Lister() v1alpha1.DomainResourceLister
}

DomainResourceInformer provides access to a shared informer and lister for DomainResources.

type InstanceInformer

type InstanceInformer interface {
	Informer() cache.SharedIndexInformer
	Lister() v1alpha1.InstanceLister
}

InstanceInformer provides access to a shared informer and lister for Instances.

type Interface

type Interface interface {
	// DomainResources returns a DomainResourceInformer.
	DomainResources() DomainResourceInformer
	// Instances returns a InstanceInformer.
	Instances() InstanceInformer
	// Ports returns a PortInformer.
	Ports() PortInformer
	// SchedulerRules returns a SchedulerRuleInformer.
	SchedulerRules() SchedulerRuleInformer
}

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

func New

New returns a new Interface.

type PortInformer

type PortInformer interface {
	Informer() cache.SharedIndexInformer
	Lister() v1alpha1.PortLister
}

PortInformer provides access to a shared informer and lister for Ports.

type SchedulerRuleInformer

type SchedulerRuleInformer interface {
	Informer() cache.SharedIndexInformer
	Lister() v1alpha1.SchedulerRuleLister
}

SchedulerRuleInformer provides access to a shared informer and lister for SchedulerRules.

Jump to

Keyboard shortcuts

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