controller

package
v0.6.1 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Namespace          string
	ServiceAccount     string
	PVProvisioner      string
	KubeCli            kubernetes.Interface
	KubeExtCli         apiextensionsclient.Interface
	EtcdCRCli          versioned.Interface
	CreateCRD          bool
	CreateStorageClass bool
}

func (*Config) Validate added in v0.2.0

func (c *Config) Validate() error

type Controller

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

func New

func New(cfg Config) *Controller

func (*Controller) Start added in v0.5.2

func (c *Controller) Start() error

type Event

type Event struct {
	Type   kwatch.EventType
	Object *api.EtcdCluster
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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