v1

package
v0.0.27 Latest Latest
Warning

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

Go to latest
Published: Sep 27, 2023 License: Apache-2.0, MIT Imports: 25 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(c config.Config, stopCh <-chan struct{}) (*controller.BaseController, error)

func NewController

func NewController(
	cfg config.Config,
	kubeclientset kubernetes.Interface,
	faasclientset clientset.Interface,
	kubeInformerFactory kubeinformers.SharedInformerFactory,
	functionIngressFactory informers.SharedInformerFactory,
) controller.BaseController

NewController returns a new OpenFaaS controller

Types

type Capabilities

type Capabilities map[string]bool

func (Capabilities) Has

func (c Capabilities) Has(wanted string) bool

func (Capabilities) String

func (c Capabilities) String() string

type SyncHandler

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

SyncHandler is the controller implementation for Function resources

Jump to

Keyboard shortcuts

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