action

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Nov 22, 2023 License: BSD-3-Clause Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Action

type Action interface {
	Get(ctx context.Context, name string) (*gocb.EventingFunction, error)
	Pause(ctx context.Context, name string) error
	Upsert(ctx context.Context, f *model.Function) error
}

Action represents eventing function actions.

func NewAction

func NewAction(cluster *gocb.Cluster, timeout time.Duration) Action

NewAction creates new eventing function Action instance.

Jump to

Keyboard shortcuts

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