Help us shape the future of Go! Take the 2026 Go Developer Survey

daemonclient

package
v1.4.2 Latest Latest
Warning

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

Go to latest
Published: Jul 7, 2026 License: MPL-2.0 Imports: 47 Imported by: 0

Documentation

Index

Constants

View Source
const (
	TaskStatusRunning = "Running"
	TaskStatusSucceed = "Succeeded"
	TaskStatusFailed  = "Failed"
)
View Source
const (
	TaskTypeUp     = "up"
	TaskTypeStop   = "stop"
	TaskTypeDelete = "delete"
)

Variables

This section is empty.

Functions

func New

func New(
	devsyConfig *config.Config,
	prov *provider.ProviderConfig,
	workspace *provider.Workspace,
) (clientpkg.DaemonClient, error)

Types

type CancelFunc

type CancelFunc = func()

type FieldParameter

type FieldParameter struct {
	storagev1.AppParameter

	StringValue string
	BoolValue   bool
}

type Message

type Message struct {
	Type     MessageType `json:"type"`
	ExitCode int         `json:"exitCode,omitempty"`
	Bytes    []byte      `json:"bytes,omitempty"`
}

type MessageType

type MessageType byte
const (
	StdoutData MessageType = 0
	StderrData MessageType = 2
	ExitCode   MessageType = 6
)

type ProjectOption

type ProjectOption = huh.Option[*managementv1.Project]

Jump to

Keyboard shortcuts

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