controller

package
v0.0.0-...-cb4c79d Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2019 License: MIT Imports: 27 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	*rest.Config
	DefaultResync time.Duration
}

func NewConfig

func NewConfig(cfg *rest.Config,
	defaultResync time.Duration) Config

type Controller

type Controller interface {
	Run(<-chan struct{})
}

func New

func New(cfg Config,
	kubernetesClient kubernetes.Interface,
	redisClient redisclient.RedisesGetter,
	redisInformer redisinformer.RedisInformer,
	podInformer v1informer.PodInformer,
	deploymentInformer v1beta1informer.DeploymentInformer,
	serviceInformer v1informer.ServiceInformer,
	endpointsInformer v1informer.EndpointsInformer,
	configMapInformer v1informer.ConfigMapInformer,
	statefulSetInformer v1beta1informer.StatefulSetInformer) Controller

type RedisController

type RedisController struct {
	Config
	// contains filtered or unexported fields
}

func (*RedisController) Run

func (c *RedisController) Run(stopCh <-chan struct{})

Jump to

Keyboard shortcuts

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