controller

package
v0.0.0-...-ae9429c Latest Latest
Warning

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

Go to latest
Published: Sep 14, 2018 License: Apache-2.0 Imports: 25 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsInvalidConfig

func IsInvalidConfig(err error) bool

IsInvalidConfig asserts invalidConfigError.

func IsInvalidVersion

func IsInvalidVersion(err error) bool

IsInvalidVersion asserts invalidVersionError.

Types

type Cluster

type Cluster struct {
	*controller.Controller
}

func NewCluster

func NewCluster(config ClusterConfig) (*Cluster, error)

type ClusterConfig

type ClusterConfig struct {
	G8sClient    versioned.Interface
	K8sClient    kubernetes.Interface
	K8sExtClient apiextensionsclient.Interface
	Logger       micrologger.Logger

	GuestUpdateEnabled bool
	ProjectName        string
}

type Drainer

type Drainer struct {
	*controller.Controller
}

func NewDrainer

func NewDrainer(config DrainerConfig) (*Drainer, error)

type DrainerConfig

type DrainerConfig struct {
	G8sClient versioned.Interface
	K8sClient kubernetes.Interface
	Logger    micrologger.Logger

	ProjectName string
}

Directories

Path Synopsis
v10
key
v11
key
v2
key
messagecontext
Package messagecontext stores and accesses the message struct in context.Context.
Package messagecontext stores and accesses the message struct in context.Context.
v3
key
v4
key
v5
key
v6
key
v7
key
v8
key
v9
key

Jump to

Keyboard shortcuts

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