local

package
v0.0.0-...-a5f8819 Latest Latest
Warning

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

Go to latest
Published: Oct 29, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Local

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

func New

func New() *Local

func (*Local) CreateUploadURL

func (l *Local) CreateUploadURL(ctx context.Context, name string) (string, error)

func (*Local) GetInfo

func (l *Local) GetInfo(ctx context.Context, taskID PID) (*types.TaskInfo, error)

func (*Local) ListSecrets

func (l *Local) ListSecrets(ctx context.Context) ([]string, error)

func (*Local) PutSecret

func (l *Local) PutSecret(ctx context.Context, name, value string) error

func (*Local) Run

func (l *Local) Run(ctx context.Context, env map[string]string, args ...string) (PID, error)

func (*Local) SetUp

func (l *Local) SetUp(ctx context.Context, containers []types.Container) error

func (*Local) Stop

func (l *Local) Stop(ctx context.Context, taskID PID) error

func (*Local) Tail

func (l *Local) Tail(ctx context.Context, taskID PID) error

func (*Local) TearDown

func (l *Local) TearDown(ctx context.Context) error

type PID

type PID = types.TaskID

Jump to

Keyboard shortcuts

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