provider

package
v1.5.3 Latest Latest
Warning

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

Go to latest
Published: Jun 28, 2022 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FaaSProvider

type FaaSProvider interface {
	Init() error
	GetStatus(name string) (*spec.Status, error)
	Create(funcSpec *spec.Spec) error
	Delete(name string) error
	Update(funcSpec *spec.Spec) error
}

FaaSProvider is the physical serverless function instance manager

func NewProvider

func NewProvider(superSpec *supervisor.Spec) FaaSProvider

NewProvider returns FaaSProvider client. It only supports Knative now.

Jump to

Keyboard shortcuts

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