controllers

package
v0.0.0-...-350d68e Latest Latest
Warning

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

Go to latest
Published: Nov 10, 2016 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewSharedInformerFactory

func NewSharedInformerFactory(client *kubernetes.Clientset, namespace string, defaultResync time.Duration) *sharedInformerFactory

NewSharedInformerFactory constructs a new instance of sharedInformerFactory

Types

type CustomController

type CustomController struct {
	// contains filtered or unexported fields
}

func NewCustomController

func NewCustomController(dInformer DeploymentInformer, rsInformer ReplicaSetInformer, extClient typed.ExtensionsInterface) *CustomController

func (*CustomController) Run

func (c *CustomController) Run(threadiness int, stopCh <-chan struct{})

type DeploymentInformer

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

type ReplicaSetInformer

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

Jump to

Keyboard shortcuts

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