controller

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Feb 4, 2019 License: Apache-2.0 Imports: 24 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	KubeCli        kubernetes.Interface
	FunctionClient versioned.Interface
}

Config contains k8s client of a controller

type FunctionController added in v0.5.0

type FunctionController struct {
	Functions map[string]*kubelessApi.Function
	// contains filtered or unexported fields
}

FunctionController object

func NewFunctionController added in v0.5.0

func NewFunctionController(cfg Config, smclient *monitoringv1alpha1.MonitoringV1alpha1Client) *FunctionController

NewFunctionController returns a new *FunctionController

func (*FunctionController) HasSynced added in v0.5.0

func (c *FunctionController) HasSynced() bool

HasSynced is required for the cache.Controller interface.

func (*FunctionController) LastSyncResourceVersion added in v0.5.0

func (c *FunctionController) LastSyncResourceVersion() string

LastSyncResourceVersion is required for the cache.Controller interface.

func (*FunctionController) Run added in v0.5.0

func (c *FunctionController) Run(stopCh <-chan struct{})

Run starts the kubeless controller

Jump to

Keyboard shortcuts

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