function

package
v0.0.0-...-696ba86 Latest Latest
Warning

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

Go to latest
Published: Oct 6, 2023 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateFunction

func CreateFunction(log *logrus.Entry, fn *Function, name string, spec serverlessv1alpha2.FunctionSpec) executor.Step

func UpdateFunction

func UpdateFunction(log *logrus.Entry, fn *Function, name string, spec serverlessv1alpha2.FunctionSpec) executor.Step

Types

type Function

type Function struct {
	FunctionURL *url.URL
	// contains filtered or unexported fields
}

func NewFunction

func NewFunction(name, namespace string, proxyEnabled bool, c utils.Container) *Function

func (*Function) Create

func (*Function) Delete

func (f *Function) Delete() error

func (*Function) Get

func (Function) LogResource

func (f Function) LogResource() error

func (*Function) Update

func (*Function) WaitForStatusRunning

func (f *Function) WaitForStatusRunning() error

Jump to

Keyboard shortcuts

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