v1

package
v0.0.10 Latest Latest
Warning

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

Go to latest
Published: Oct 6, 2020 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewControllerRevisionInformer

func NewControllerRevisionInformer(client migration.MigrationV1Interface, namespace string, resyncPeriod time.Duration, indexers cache.Indexers) cache.SharedIndexInformer

NewControllerRevisionInformer constructs a new inf for ControllerRevision type. Always prefer using an inf factory to get a shared inf instead of getting an independent one. This reduces memory footprint and number of connections to the server.

func NewDaemonSetInformer

func NewDaemonSetInformer(client migration.MigrationV1Interface, namespace string, resyncPeriod time.Duration, indexers cache.Indexers) cache.SharedIndexInformer

NewDaemonSetInformer constructs a new informer for DaemonSet 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 NewDeploymentInformer

func NewDeploymentInformer(client migration.MigrationV1Interface, namespace string, resyncPeriod time.Duration, indexers cache.Indexers) cache.SharedIndexInformer

NewDeploymentInformer constructs a new informer for Deployment 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 NewFilteredControllerRevisionInformer

func NewFilteredControllerRevisionInformer(client migration.MigrationV1Interface, namespace string, resyncPeriod time.Duration, indexers cache.Indexers, tweakListOptions internalinterfaces.TweakListOptionsFunc) cache.SharedIndexInformer

NewFilteredControllerRevisionInformer constructs a new inf for ControllerRevision type. Always prefer using an inf factory to get a shared inf instead of getting an independent one. This reduces memory footprint and number of connections to the server.

func NewFilteredDaemonSetInformer

func NewFilteredDaemonSetInformer(client migration.MigrationV1Interface, namespace string, resyncPeriod time.Duration, indexers cache.Indexers, tweakListOptions internalinterfaces.TweakListOptionsFunc) cache.SharedIndexInformer

NewFilteredDaemonSetInformer constructs a new informer for DaemonSet 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 NewFilteredDeploymentInformer

func NewFilteredDeploymentInformer(client migration.MigrationV1Interface, namespace string, resyncPeriod time.Duration, indexers cache.Indexers, tweakListOptions internalinterfaces.TweakListOptionsFunc) cache.SharedIndexInformer

NewFilteredDeploymentInformer constructs a new informer for Deployment 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 NewFilteredPodInformer

func NewFilteredPodInformer(client migration.MigrationV1Interface, namespace string, resyncPeriod time.Duration, indexers cache.Indexers, tweakListOptions internalinterfaces.TweakListOptionsFunc) cache.SharedIndexInformer

NewFilteredPodInformer constructs a new informer for Pod 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 NewFilteredPodTemplateInformer

func NewFilteredPodTemplateInformer(client migration.MigrationV1Interface, namespace string, resyncPeriod time.Duration, indexers cache.Indexers, tweakListOptions internalinterfaces.TweakListOptionsFunc) cache.SharedIndexInformer

NewFilteredPodTemplateInformer constructs a new informer for PodTemplate 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 NewFilteredReplicaSetInformer

func NewFilteredReplicaSetInformer(client migration.MigrationV1Interface, namespace string, resyncPeriod time.Duration, indexers cache.Indexers, tweakListOptions internalinterfaces.TweakListOptionsFunc) cache.SharedIndexInformer

NewFilteredReplicaSetInformer constructs a new informer for ReplicaSet 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 NewFilteredStatefulSetInformer

func NewFilteredStatefulSetInformer(client migration.MigrationV1Interface, namespace string, resyncPeriod time.Duration, indexers cache.Indexers, tweakListOptions internalinterfaces.TweakListOptionsFunc) cache.SharedIndexInformer

NewFilteredStatefulSetInformer constructs a new informer for StatefulSet 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 NewPodInformer

func NewPodInformer(client migration.MigrationV1Interface, namespace string, resyncPeriod time.Duration, indexers cache.Indexers) cache.SharedIndexInformer

NewPodInformer constructs a new informer for Pod 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 NewPodTemplateInformer

func NewPodTemplateInformer(client migration.MigrationV1Interface, namespace string, resyncPeriod time.Duration, indexers cache.Indexers) cache.SharedIndexInformer

NewPodTemplateInformer constructs a new informer for PodTemplate 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 NewReplicaSetInformer

func NewReplicaSetInformer(client migration.MigrationV1Interface, namespace string, resyncPeriod time.Duration, indexers cache.Indexers) cache.SharedIndexInformer

NewReplicaSetInformer constructs a new informer for ReplicaSet 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 NewStatefulSetInformer

func NewStatefulSetInformer(client migration.MigrationV1Interface, namespace string, resyncPeriod time.Duration, indexers cache.Indexers) cache.SharedIndexInformer

NewStatefulSetInformer constructs a new informer for StatefulSet 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 ControllerRevisionInformer

type ControllerRevisionInformer interface {
	Informer() cache.SharedIndexInformer
	Lister() lister.ControllerRevisionLister
}

type DaemonSetInformer

type DaemonSetInformer interface {
	Informer() cache.SharedIndexInformer
	Lister() lister.DaemonSetLister
}

DaemonSetInformer provides access to a shared informer and lister for DaemonSets.

type DeploymentInformer

type DeploymentInformer interface {
	Informer() cache.SharedIndexInformer
	Lister() lister.DeploymentLister
}

DeploymentInformer provides access to a shared informer and lister for Deployments.

type Interface

type Interface interface {
	// ControllerRevisions returns a ControllerRevisionInformer.
	ControllerRevisions() ControllerRevisionInformer
	// DaemonSets returns a DaemonSetInformer.
	DaemonSets() DaemonSetInformer
	// Deployments returns a DeploymentInformer.
	Deployments() DeploymentInformer
	// ReplicaSets returns a ReplicaSetInformer.
	ReplicaSets() ReplicaSetInformer
	// StatefulSets returns a StatefulSetInformer.
	StatefulSets() StatefulSetInformer
	Pods() PodInformer
}

func New

New returns a new Interface.

type PodInformer

type PodInformer interface {
	Informer() cache.SharedIndexInformer
	Lister() lister.PodLister
}

PodInformer provides access to a shared informer and lister for Pods.

type PodTemplateInformer

type PodTemplateInformer interface {
	Informer() cache.SharedIndexInformer
	Lister() lister.PodTemplateLister
}

PodTemplateInformer provides access to a shared informer and lister for PodTemplates.

type ReplicaSetInformer

type ReplicaSetInformer interface {
	Informer() cache.SharedIndexInformer
	Lister() lister.ReplicaSetLister
}

ReplicaSetInformer provides access to a shared informer and lister for ReplicaSets.

type StatefulSetInformer

type StatefulSetInformer interface {
	Informer() cache.SharedIndexInformer
	Lister() lister.StatefulSetLister
}

StatefulSetInformer provides access to a shared informer and lister for StatefulSets.

Jump to

Keyboard shortcuts

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