controller

package
v0.1.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrVersionOutdated = errors.New("requested version is outdated in apiserver")
)

Functions

This section is empty.

Types

type Config

type Config struct {
	Namespace     string
	MasterHost    string
	KubeCli       *unversioned.Client
	PVProvisioner string
}

type Controller

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

func New

func New(cfg Config) *Controller

func (*Controller) Run

func (c *Controller) Run() error

type EtcdClusterList

type EtcdClusterList struct {
	unversioned.TypeMeta `json:",inline"`
	// Standard list metadata
	// More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata
	unversioned.ListMeta `json:"metadata,omitempty"`
	// Items is a list of third party objects
	Items []spec.EtcdCluster `json:"items"`
}

type Event

type Event struct {
	Type   string
	Object *spec.EtcdCluster
}

Jump to

Keyboard shortcuts

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