wacker

package
v0.0.0-...-e3ba354 Latest Latest
Warning

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

Go to latest
Published: May 10, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ProgramStatusRunning  uint32 = 0
	ProgramStatusFinished uint32 = 1
	ProgramStatusError    uint32 = 2
	ProgramStatusStopped  uint32 = 3

	ProgramTypeWASI uint32 = 0
	ProgramTypeHTTP uint32 = 1
)

Variables

This section is empty.

Functions

func WithContext

func WithContext(ctx context.Context) func(opts *Options)

func WithGRPCDialOptions

func WithGRPCDialOptions(dialOptions ...grpc.DialOption) func(opts *Options)

func WithSockPath

func WithSockPath(path string) func(opts *Options)

Types

type Client

type Client struct {
	internal.WackerClient
	// contains filtered or unexported fields
}

func NewClient

func NewClient(options ...func(*Options)) (*Client, error)

func (*Client) Close

func (c *Client) Close() error

type DeleteRequest

type DeleteRequest = internal.DeleteRequest

type ListResponse

type ListResponse = internal.ListResponse

type LogRequest

type LogRequest = internal.LogRequest

type LogResponse

type LogResponse = internal.LogResponse

type Options

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

type Program

type Program = internal.Program

type ProgramResponse

type ProgramResponse = internal.ProgramResponse

type RestartRequest

type RestartRequest = internal.RestartRequest

type RunRequest

type RunRequest = internal.RunRequest

type ServeRequest

type ServeRequest = internal.ServeRequest

type StopRequest

type StopRequest = internal.StopRequest

Jump to

Keyboard shortcuts

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