controller

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jun 27, 2019 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type NatsTriggerConfig

type NatsTriggerConfig struct {
	KubeCli        kubernetes.Interface
	TriggerClient  versioned.Interface
	KubelessClient kubelessversioned.Interface
}

NatsTriggerConfig contains config for NatsTriggerController

type NatsTriggerController

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

NatsTriggerController object

func NewNatsTriggerController

func NewNatsTriggerController(cfg NatsTriggerConfig) *NatsTriggerController

NewNatsTriggerController returns a new *NatsTriggerController.

func (*NatsTriggerController) FunctionAddedDeletedUpdated

func (c *NatsTriggerController) FunctionAddedDeletedUpdated(obj interface{}, deleted bool)

FunctionAddedDeletedUpdated process the updates to Function objects

func (*NatsTriggerController) Run

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

Run starts the nats trigger controller

Jump to

Keyboard shortcuts

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