controller

package
v0.0.0-...-d073fef Latest Latest
Warning

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

Go to latest
Published: May 31, 2017 License: GPL-3.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsRetryFailure

func IsRetryFailure(err error) bool

Types

type ConditionFunc

type ConditionFunc func() (bool, error)

type Config

type Config struct {
	Namespace string
	KubeCli   kubernetes.Interface
}

type Controller

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

func New

func New(config *Config) Controller

func (*Controller) Run

func (c *Controller) Run() error

type Event

type Event struct {
	Type   watch.EventType
	Object *spec.Canary
}

type RetryError

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

func (*RetryError) Error

func (e *RetryError) Error() string

Jump to

Keyboard shortcuts

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