function

package
v1.0.2-0...-13c4e12 Latest Latest
Warning

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

Go to latest
Published: Apr 3, 2024 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