informers

package
v0.3.0-alpha Latest Latest
Warning

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

Go to latest
Published: Dec 30, 2016 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AddonInformer

type AddonInformer interface {
	Informer(client *clientset.CoreClient) cache.SharedIndexInformer
}

AddonInformer is a type of SharedIndexInformer which watches and lists all addons.

type DeploymentInformer

type DeploymentInformer interface {
	Informer() cache.SharedIndexInformer
}

DeploymentInformer is a type of SharedIndexInformer which watches and lists all its resources

type NamespaceInformer

type NamespaceInformer interface {
	Informer() cache.SharedIndexInformer
}

NamespaceInformer is a type of SharedIndexInformer which watches and lists all Namespaces.

type PetSetInformer

type PetSetInformer interface {
	Informer() cache.SharedIndexInformer
}

PetSetInformer is a type of SharedIndexInformer which watches and lists all PetSets.

type ServicePlanInformer

type ServicePlanInformer interface {
	Informer(sysClient *clientset.CoreClient) cache.SharedIndexInformer
}

ServicePlanInformer is a type of SharedIndexInformer which watches and lists all service plans.

type SharedInformerFactory

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

	Addons() AddonInformer
	ServicePlans() ServicePlanInformer
	PetSets() PetSetInformer
	Namespaces() NamespaceInformer
	Deployments() DeploymentInformer
}

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

func NewSharedInformerFactory

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

NewSharedInformerFactory constructs a new instance of sharedInformerFactory

Jump to

Keyboard shortcuts

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