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
Click to show internal directories.
Click to hide internal directories.