agent

package
v0.7.0-alpha.13 Latest Latest
Warning

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

Go to latest
Published: Mar 18, 2025 License: MPL-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetEncodedDaemonConfig

func GetEncodedDaemonConfig(platformOptions devpod.PlatformOptions, workspaceConfig *provider2.Workspace, substitutionContext *config.SubstitutionContext, mergedConfig *config.MergedDevContainerConfig) (string, error)

func InstallDaemon

func InstallDaemon(agentDir string, interval string, log log.Logger) error

func RemoveDaemon

func RemoveDaemon() error

func RunProcessReaper

func RunProcessReaper()

Types

type DaemonConfig

type DaemonConfig struct {
	Platform devpod.PlatformOptions `json:"platform,omitempty"`
	Ssh      SshConfig              `json:"ssh,omitempty"`
	Timeout  string                 `json:"timeout"`
}

func BuildDaemonConfig

func BuildDaemonConfig(platformOptions devpod.PlatformOptions, workspaceConfig *provider2.Workspace, substitutionContext *config.SubstitutionContext, mergedConfig *config.MergedDevContainerConfig) (*DaemonConfig, error)

type SshConfig

type SshConfig struct {
	Workdir string `json:"workdir,omitempty"`
	User    string `json:"user,omitempty"`
}

Jump to

Keyboard shortcuts

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