Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Controller ¶
type Controller struct { GCInterval time.Duration IdleDuraion time.Duration // contains filtered or unexported fields }
Controller manages funcinsts.
func NewController ¶
func NewController( cfg *rest.Config, rclient refunc.Interface, kclient kubernetes.Interface, refuncInformers rfinformers.SharedInformerFactory, kubeinformers k8sinformers.SharedInformerFactory, ) (rc *Controller, err error)
NewController creates a new refunc controller from config
func (*Controller) Run ¶
func (rc *Controller) Run(workers int, stopC <-chan struct{})
Run will not return until stopC is closed.
Click to show internal directories.
Click to hide internal directories.