function

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Aug 29, 2018 License: Apache-2.0 Imports: 26 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Controller

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

func NewController

func NewController(
	kubeClient kubernetes.Interface,
	kfnClient clientset.Interface,
	deployementInformer appsinformers.DeploymentInformer,
	configMapInformer coreinformers.ConfigMapInformer,
	functionInformer informers.FunctionInformer,
	functionBaseConfig FunctionDefaultConfig) *Controller

func (*Controller) Run

func (c *Controller) Run(threadiness int, stopCh <-chan struct{}) error

type FunctionConfig

type FunctionConfig struct {
	Function map[string]string
	Consumer map[string]string
	Producer map[string]string
}

FunctionConfig represents the configuration passed to the Function runtime.

func (*FunctionConfig) SerializeAsProperties

func (cfg *FunctionConfig) SerializeAsProperties() string

SerializeAsProperties serializes the FunctionConfig as properties

type FunctionDefaultConfig

type FunctionDefaultConfig struct {
	KafkaBoostrap string
	Function      map[string]string
	Consumer      map[string]string
	Producer      map[string]string
}

FunctionDefaultConfig contains the default configuration used for each Function. It is usually provided via cli's arguments

Jump to

Keyboard shortcuts

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