informers

package
v1.6.0-beta.0 Latest Latest
Warning

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

Go to latest
Published: Feb 22, 2017 License: Apache-2.0 Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewInternalLimitRangeInformer

func NewInternalLimitRangeInformer(internalclient internalclientset.Interface, resyncPeriod time.Duration) cache.SharedIndexInformer

NewInternalLimitRangeInformer returns a SharedIndexInformer that lists and watches all LimitRanges

func NewInternalNamespaceInformer

func NewInternalNamespaceInformer(client internalclientset.Interface, resyncPeriod time.Duration) cache.SharedIndexInformer

NewInternalNamespaceInformer returns a SharedIndexInformer that lists and watches namespaces

func NewJobInformer added in v1.5.0

func NewJobInformer(client clientset.Interface, resyncPeriod time.Duration) cache.SharedIndexInformer

NewJobInformer returns a SharedIndexInformer that lists and watches all jobs

func NewLimitRangeInformer added in v1.5.0

func NewLimitRangeInformer(client clientset.Interface, resyncPeriod time.Duration) cache.SharedIndexInformer

NewLimitRangeInformer returns a SharedIndexInformer that lists and watches all LimitRanges

func NewNamespaceInformer

func NewNamespaceInformer(client clientset.Interface, resyncPeriod time.Duration) cache.SharedIndexInformer

NewNamespaceInformer returns a SharedIndexInformer that lists and watches namespaces

func NewNodeInformer

func NewNodeInformer(client clientset.Interface, resyncPeriod time.Duration) cache.SharedIndexInformer

NewNodeInformer returns a SharedIndexInformer that lists and watches all nodes

func NewPVCInformer

func NewPVCInformer(client clientset.Interface, resyncPeriod time.Duration) cache.SharedIndexInformer

NewPVCInformer returns a SharedIndexInformer that lists and watches all PVCs

func NewPVInformer

func NewPVInformer(client clientset.Interface, resyncPeriod time.Duration) cache.SharedIndexInformer

NewPVInformer returns a SharedIndexInformer that lists and watches all PVs

func NewPodInformer

func NewPodInformer(client clientset.Interface, resyncPeriod time.Duration) cache.SharedIndexInformer

NewPodInformer returns a SharedIndexInformer that lists and watches all pods

func NewReplicationControllerInformer

func NewReplicationControllerInformer(client clientset.Interface, resyncPeriod time.Duration) cache.SharedIndexInformer

NewReplicationControllerInformer returns a SharedIndexInformer that lists and watches all replication controllers.

func NewServiceAccountInformer added in v1.5.0

func NewServiceAccountInformer(client clientset.Interface, resyncPeriod time.Duration) cache.SharedIndexInformer

NewServiceAccountInformer returns a SharedIndexInformer that lists and watches all ServiceAccounts

Types

type ClusterRoleBindingInformer added in v1.5.0

type ClusterRoleBindingInformer interface {
	Informer() cache.SharedIndexInformer
	Lister() listers.ClusterRoleBindingLister
}

type ClusterRoleInformer added in v1.5.0

type ClusterRoleInformer interface {
	Informer() cache.SharedIndexInformer
	Lister() listers.ClusterRoleLister
}

type DaemonSetInformer added in v1.5.0

type DaemonSetInformer interface {
	Informer() cache.SharedIndexInformer
	Lister() *listers.StoreToDaemonSetLister
}

DaemonSetInformer is type of SharedIndexInformer which watches and lists all pods. Interface provides constructor for informer and lister for pods

type DeploymentInformer added in v1.5.0

type DeploymentInformer interface {
	Informer() cache.SharedIndexInformer
	Lister() *listers.StoreToDeploymentLister
}

DeploymentInformer is a type of SharedIndexInformer which watches and lists all deployments.

type GenericInformer added in v1.5.0

type GenericInformer interface {
	Informer() cache.SharedIndexInformer
	Lister() cache.GenericLister
}

GenericInformer is type of SharedIndexInformer which will locate and delegate to other sharedInformers based on type

type InternalLimitRangeInformer

type InternalLimitRangeInformer interface {
	Informer() cache.SharedIndexInformer
	Lister() coreinternallisters.LimitRangeLister
}

InternalLimitRangeInformer is type of SharedIndexInformer which watches and lists all limit ranges. Interface provides constructor for informer and lister for limit ranges.

type InternalNamespaceInformer

type InternalNamespaceInformer interface {
	Informer() cache.SharedIndexInformer
	Lister() coreinternallisters.NamespaceLister
}

InternalNamespaceInformer is type of SharedIndexInformer which watches and lists all namespaces. Interface provides constructor for informer and lister for namsespaces

type JobInformer added in v1.5.0

type JobInformer interface {
	Informer() cache.SharedIndexInformer
	Lister() batchv1listers.JobLister
}

JobInformer is type of SharedIndexInformer which watches and lists all jobs. Interface provides constructor for informer and lister for jobs

type LimitRangeInformer added in v1.5.0

type LimitRangeInformer interface {
	Informer() cache.SharedIndexInformer
	Lister() *listers.StoreToLimitRangeLister
}

LimitRangeInformer is type of SharedIndexInformer which watches and lists all limit ranges. Interface provides constructor for informer and lister for limit ranges.

type NamespaceInformer

type NamespaceInformer interface {
	Informer() cache.SharedIndexInformer
	Lister() *listers.IndexerToNamespaceLister
}

NamespaceInformer is type of SharedIndexInformer which watches and lists all namespaces. Interface provides constructor for informer and lister for namsespaces

type NodeInformer

type NodeInformer interface {
	Informer() cache.SharedIndexInformer
	Lister() *listers.StoreToNodeLister
}

NodeInformer is type of SharedIndexInformer which watches and lists all nodes. Interface provides constructor for informer and lister for nodes

type PVCInformer

type PVCInformer interface {
	Informer() cache.SharedIndexInformer
	Lister() *listers.StoreToPersistentVolumeClaimLister
}

PVCInformer is type of SharedIndexInformer which watches and lists all persistent volume claims. Interface provides constructor for informer and lister for persistent volume claims

type PVInformer

type PVInformer interface {
	Informer() cache.SharedIndexInformer
	Lister() *listers.StoreToPVFetcher
}

PVInformer is type of SharedIndexInformer which watches and lists all persistent volumes. Interface provides constructor for informer and lister for persistent volumes

type PodInformer

type PodInformer interface {
	Informer() cache.SharedIndexInformer
	Lister() *listers.StoreToPodLister
}

PodInformer is type of SharedIndexInformer which watches and lists all pods. Interface provides constructor for informer and lister for pods

type ReplicaSetInformer added in v1.5.0

type ReplicaSetInformer interface {
	Informer() cache.SharedIndexInformer
	Lister() *listers.StoreToReplicaSetLister
}

ReplicaSetInformer is a type of SharedIndexInformer which watches and lists all replicasets.

type ReplicationControllerInformer

type ReplicationControllerInformer interface {
	Informer() cache.SharedIndexInformer
	Lister() *listers.StoreToReplicationControllerLister
}

ReplicationControllerInformer is type of SharedIndexInformer which watches and lists all replication controllers. Interface provides constructor for informer and lister for replication controllers.

type RoleBindingInformer added in v1.5.0

type RoleBindingInformer interface {
	Informer() cache.SharedIndexInformer
	Lister() listers.RoleBindingLister
}

type RoleInformer added in v1.5.0

type RoleInformer interface {
	Informer() cache.SharedIndexInformer
	Lister() listers.RoleLister
}

type ServiceAccountInformer added in v1.5.0

type ServiceAccountInformer interface {
	Informer() cache.SharedIndexInformer
	Lister() *listers.StoreToServiceAccountLister
}

ServiceAccountInformer is type of SharedIndexInformer which watches and lists all ServiceAccounts. Interface provides constructor for informer and lister for ServiceAccounts

type SharedInformerFactory

type SharedInformerFactory interface {
	// Start starts informers that can start AFTER the API server and controllers have started
	Start(stopCh <-chan struct{})

	ForResource(schema.GroupResource) (GenericInformer, error)

	Pods() PodInformer
	LimitRanges() LimitRangeInformer
	InternalLimitRanges() InternalLimitRangeInformer
	Namespaces() NamespaceInformer
	InternalNamespaces() InternalNamespaceInformer
	Nodes() NodeInformer
	PersistentVolumeClaims() PVCInformer
	PersistentVolumes() PVInformer
	ServiceAccounts() ServiceAccountInformer

	DaemonSets() DaemonSetInformer
	Deployments() DeploymentInformer
	ReplicaSets() ReplicaSetInformer
	ReplicationControllers() ReplicationControllerInformer

	ClusterRoleBindings() ClusterRoleBindingInformer
	ClusterRoles() ClusterRoleInformer
	RoleBindings() RoleBindingInformer
	Roles() RoleInformer

	StorageClasses() StorageClassInformer

	Jobs() JobInformer
}

SharedInformerFactory provides interface which holds unique informers for pods, nodes, namespaces, persistent volume claims and persistent volumes

func NewSharedInformerFactory

func NewSharedInformerFactory(client clientset.Interface, internalclient internalclientset.Interface, defaultResync time.Duration) SharedInformerFactory

NewSharedInformerFactory constructs a new instance of sharedInformerFactory

type StorageClassInformer added in v1.5.0

type StorageClassInformer interface {
	Informer() cache.SharedIndexInformer
	Lister() listers.StorageClassLister
}

StorageClassInformer is type of SharedIndexInformer which watches and lists all storage classes. Interface provides constructor for informer and lister for storage classes

Jump to

Keyboard shortcuts

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