exec_v1alpha

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Mar 10, 2026 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AdaptSandboxExec

func AdaptSandboxExec(t SandboxExec) *rpc.Interface

Types

type SandboxExec

type SandboxExec interface {
	Exec(ctx context.Context, state *SandboxExecExec) error
}

type SandboxExecClient

type SandboxExecClient struct {
	rpc.Client
}

func NewSandboxExecClient

func NewSandboxExecClient(client rpc.Client) *SandboxExecClient

func (SandboxExecClient) Exec

func (v SandboxExecClient) Exec(ctx context.Context, category string, value string, command string, options *ShellOptions, input stream.RecvStream[[]byte], output stream.SendStream[[]byte], window_updates stream.RecvStream[*WindowSize]) (*SandboxExecClientExecResults, error)

func (SandboxExecClient) Export

func (c SandboxExecClient) Export() SandboxExec

type SandboxExecClientExecResults

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

func (*SandboxExecClientExecResults) Code

func (*SandboxExecClientExecResults) HasCode

func (v *SandboxExecClientExecResults) HasCode() bool

type SandboxExecExec

type SandboxExecExec struct {
	rpc.Call
	// contains filtered or unexported fields
}

func (*SandboxExecExec) Args

func (*SandboxExecExec) Results

type SandboxExecExecArgs

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

func (*SandboxExecExecArgs) Category

func (v *SandboxExecExecArgs) Category() string

func (*SandboxExecExecArgs) Command

func (v *SandboxExecExecArgs) Command() string

func (*SandboxExecExecArgs) HasCategory

func (v *SandboxExecExecArgs) HasCategory() bool

func (*SandboxExecExecArgs) HasCommand

func (v *SandboxExecExecArgs) HasCommand() bool

func (*SandboxExecExecArgs) HasInput

func (v *SandboxExecExecArgs) HasInput() bool

func (*SandboxExecExecArgs) HasOptions

func (v *SandboxExecExecArgs) HasOptions() bool

func (*SandboxExecExecArgs) HasOutput

func (v *SandboxExecExecArgs) HasOutput() bool

func (*SandboxExecExecArgs) HasValue

func (v *SandboxExecExecArgs) HasValue() bool

func (*SandboxExecExecArgs) HasWindowUpdates

func (v *SandboxExecExecArgs) HasWindowUpdates() bool

func (*SandboxExecExecArgs) Input

func (*SandboxExecExecArgs) MarshalCBOR

func (v *SandboxExecExecArgs) MarshalCBOR() ([]byte, error)

func (*SandboxExecExecArgs) MarshalJSON

func (v *SandboxExecExecArgs) MarshalJSON() ([]byte, error)

func (*SandboxExecExecArgs) Options

func (v *SandboxExecExecArgs) Options() *ShellOptions

func (*SandboxExecExecArgs) Output

func (*SandboxExecExecArgs) UnmarshalCBOR

func (v *SandboxExecExecArgs) UnmarshalCBOR(data []byte) error

func (*SandboxExecExecArgs) UnmarshalJSON

func (v *SandboxExecExecArgs) UnmarshalJSON(data []byte) error

func (*SandboxExecExecArgs) Value

func (v *SandboxExecExecArgs) Value() string

func (*SandboxExecExecArgs) WindowUpdates

func (v *SandboxExecExecArgs) WindowUpdates() *stream.RecvStreamClient[*WindowSize]

type SandboxExecExecResults

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

func (*SandboxExecExecResults) MarshalCBOR

func (v *SandboxExecExecResults) MarshalCBOR() ([]byte, error)

func (*SandboxExecExecResults) MarshalJSON

func (v *SandboxExecExecResults) MarshalJSON() ([]byte, error)

func (*SandboxExecExecResults) SetCode

func (v *SandboxExecExecResults) SetCode(code int32)

func (*SandboxExecExecResults) UnmarshalCBOR

func (v *SandboxExecExecResults) UnmarshalCBOR(data []byte) error

func (*SandboxExecExecResults) UnmarshalJSON

func (v *SandboxExecExecResults) UnmarshalJSON(data []byte) error

type ShellOptions

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

func (*ShellOptions) Command

func (v *ShellOptions) Command() []string

func (*ShellOptions) Env

func (v *ShellOptions) Env() []string

func (*ShellOptions) HasCommand

func (v *ShellOptions) HasCommand() bool

func (*ShellOptions) HasEnv

func (v *ShellOptions) HasEnv() bool

func (*ShellOptions) HasPool

func (v *ShellOptions) HasPool() bool

func (*ShellOptions) HasTerminal

func (v *ShellOptions) HasTerminal() bool

func (*ShellOptions) HasWinSize

func (v *ShellOptions) HasWinSize() bool

func (*ShellOptions) MarshalCBOR

func (v *ShellOptions) MarshalCBOR() ([]byte, error)

func (*ShellOptions) MarshalJSON

func (v *ShellOptions) MarshalJSON() ([]byte, error)

func (*ShellOptions) Pool

func (v *ShellOptions) Pool() string

func (*ShellOptions) SetCommand

func (v *ShellOptions) SetCommand(command []string)

func (*ShellOptions) SetEnv

func (v *ShellOptions) SetEnv(env []string)

func (*ShellOptions) SetPool

func (v *ShellOptions) SetPool(pool string)

func (*ShellOptions) SetTerminal

func (v *ShellOptions) SetTerminal(terminal bool)

func (*ShellOptions) SetWinSize

func (v *ShellOptions) SetWinSize(win_size *WindowSize)

func (*ShellOptions) Terminal

func (v *ShellOptions) Terminal() bool

func (*ShellOptions) UnmarshalCBOR

func (v *ShellOptions) UnmarshalCBOR(data []byte) error

func (*ShellOptions) UnmarshalJSON

func (v *ShellOptions) UnmarshalJSON(data []byte) error

func (*ShellOptions) WinSize

func (v *ShellOptions) WinSize() *WindowSize

type WindowSize

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

func (*WindowSize) HasHeight

func (v *WindowSize) HasHeight() bool

func (*WindowSize) HasWidth

func (v *WindowSize) HasWidth() bool

func (*WindowSize) Height

func (v *WindowSize) Height() int32

func (*WindowSize) MarshalCBOR

func (v *WindowSize) MarshalCBOR() ([]byte, error)

func (*WindowSize) MarshalJSON

func (v *WindowSize) MarshalJSON() ([]byte, error)

func (*WindowSize) SetHeight

func (v *WindowSize) SetHeight(height int32)

func (*WindowSize) SetWidth

func (v *WindowSize) SetWidth(width int32)

func (*WindowSize) UnmarshalCBOR

func (v *WindowSize) UnmarshalCBOR(data []byte) error

func (*WindowSize) UnmarshalJSON

func (v *WindowSize) UnmarshalJSON(data []byte) error

func (*WindowSize) Width

func (v *WindowSize) Width() int32

Jump to

Keyboard shortcuts

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