controller

package
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: Jan 12, 2021 License: Apache-2.0 Imports: 19 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HTTPTriggerConfig

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

HTTPTriggerConfig contains k8s client of a controller

type HTTPTriggerController

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

HTTPTriggerController object

func NewHTTPTriggerController

func NewHTTPTriggerController(cfg HTTPTriggerConfig) *HTTPTriggerController

NewHTTPTriggerController initializes a controller object

func (*HTTPTriggerController) HasSynced

func (c *HTTPTriggerController) HasSynced() bool

HasSynced is required for the cache.Controller interface.

func (*HTTPTriggerController) Run

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

Run starts the Trigger controller

Jump to

Keyboard shortcuts

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