controller

package
v0.0.0-...-1c17d71 Latest Latest
Warning

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

Go to latest
Published: Feb 1, 2018 License: Apache-2.0 Imports: 15 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 {
	// Namespace      string
	// ClusterWide    bool
	BaseHost string

	ServiceAccount string

	KinkyClient  versioned.Interface
	K8sClient    kubernetes.Interface
	EtcdClient   etcdclientset.Interface
	APIExtClient apiextensionsclientset.Interface

	CreateCRD bool
}

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(stop <-chan struct{})

type Event

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

Jump to

Keyboard shortcuts

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