types

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: May 9, 2026 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	SessionStatusRunning = models.SessionStatusRunning
	SessionStatusExited  = models.SessionStatusExited
	SessionStatusKilled  = models.SessionStatusKilled
	SessionStatusFailed  = models.SessionStatusFailed
)
View Source
const (
	MountTypeS3     = models.MountTypeS3
	MountTypeNFS    = models.MountTypeNFS
	MountTypeSSHFS  = models.MountTypeSSHFS
	MountTypeRclone = models.MountTypeRclone
)
View Source
const (
	RuntimeDocker = models.RuntimeDocker
	RuntimeGvisor = models.RuntimeGvisor
	RuntimeKata   = models.RuntimeKata
)

Variables

This section is empty.

Functions

This section is empty.

Types

type CreateSandboxOptions

type CreateSandboxOptions = models.CreateSandboxRequest

type CreateSessionOptions

type CreateSessionOptions = models.CreateSessionRequest

type ExecExitInfo

type ExecExitInfo struct {
	Code   int    `json:"code"`
	Signal string `json:"signal,omitempty"`
}

type ExecRequest

type ExecRequest = models.ExecRequest

type ExecResult

type ExecResult = models.ExecResult

type ExecStreamOptions

type ExecStreamOptions struct {
	Command  string              `json:"command"`
	Workdir  string              `json:"workdir,omitempty"`
	Env      map[string]string   `json:"env,omitempty"`
	TTY      bool                `json:"tty,omitempty"`
	Cols     int                 `json:"cols,omitempty"`
	Rows     int                 `json:"rows,omitempty"`
	OnStdout StreamCallback      `json:"-"`
	OnStderr StreamCallback      `json:"-"`
	OnError  StreamErrorCallback `json:"-"`
}

type ExposedPort

type ExposedPort = models.ExposedPort

type HealthStatus

type HealthStatus = models.HealthStatus

type Lifecycle

type Lifecycle = models.Lifecycle

type MicroVMConfig

type MicroVMConfig struct {
	PATToken   string
	APIUrl     string
	HTTPClient *http.Client
}

type MountSpec

type MountSpec = models.MountSpec

type MountSpecRedacted

type MountSpecRedacted = models.MountSpecRedacted

type MountType

type MountType = models.MountType

type ResizeSandboxOptions

type ResizeSandboxOptions = models.ResizeSandboxRequest

type Sandbox

type Sandbox = models.Sandbox

type Session

type Session = models.Session

type SessionStatus

type SessionStatus = models.SessionStatus

type StreamCallback

type StreamCallback func([]byte)

type StreamErrorCallback

type StreamErrorCallback func(string)

type UpdateLifecycleOptions

type UpdateLifecycleOptions = models.UpdateLifecycleRequest

Jump to

Keyboard shortcuts

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