informers

package
v0.8.0-alpha Latest Latest
Warning

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

Go to latest
Published: Oct 18, 2017 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

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 PodInformer

type PodInformer interface {
	Informer(selector labels.Selector) cache.SharedIndexInformer
}

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

type ReleaseInformer

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

ReleaseInformer is a type of SharedIndexInformer which watches and lists all releases.

type SecretInformer

type SecretInformer interface {
	Informer() cache.SharedIndexInformer
}

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

type ServicePlanInformer

type ServicePlanInformer interface {
	Informer(tprClient clientset.CoreInterface) 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{})
	WaitForCacheSync(stopCh <-chan struct{}) map[reflect.Type]bool

	ServicePlans() ServicePlanInformer
	Releases() ReleaseInformer
	PetSets() PetSetInformer
	Namespaces() NamespaceInformer
	Deployments() DeploymentInformer
	Pods() PodInformer
	Secrets() SecretInformer
}

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

func NewSharedInformerFactory

func NewSharedInformerFactory(client kubernetes.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