funcinst

package
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: Oct 28, 2022 License: Apache-2.0 Imports: 34 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 {
	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.

Jump to

Keyboard shortcuts

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