message

package
v1.2.13 Latest Latest
Warning

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

Go to latest
Published: Oct 2, 2025 License: BSD-3-Clause Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DirectoryCreateRequest added in v1.1.12

type DirectoryCreateRequest struct {
	Pathname string
	Mode     fs.FileMode
}

type DirectoryDestroyRequest added in v1.1.12

type DirectoryDestroyRequest struct {
	Pathname string
}

type DirectoryEntry added in v1.1.10

type DirectoryEntry struct {
	Name    string
	Size    int64
	ModTime time.Time
	Mode    fs.FileMode
}

type DirectoryRequest added in v1.1.9

type DirectoryRequest struct {
	Pathname string
}

type DirectoryResponse added in v1.1.9

type DirectoryResponse struct {
	Success  bool
	Message  string
	Pathname string
	Entries  map[string]DirectoryEntry
}

type ExecRequest

type ExecRequest struct {
	Command string
	Args    []string
	Env     []string
}

type ExecResponse

type ExecResponse struct {
	Success  bool
	Message  string
	Command  string
	ExitCode int
	Stdout   string
	Stderr   string
}

type FailResponse

type FailResponse struct {
	Success bool
	Message string
}

type FileDeleteRequest added in v1.2.1

type FileDeleteRequest struct {
	Pathname string
}

type FileDownloadRequest

type FileDownloadRequest struct {
	Pathname string
}

type FileDownloadResponse

type FileDownloadResponse struct {
	Success   bool
	Message   string
	Pathname  string
	Content   []byte
	Timestamp time.Time
	Mode      fs.FileMode
}

type FileGetRequest

type FileGetRequest struct {
	Pathname          string
	URL               string
	CA                []byte
	Cert              []byte
	Key               []byte
	AutoDeleteSeconds int
}

type FileGetResponse

type FileGetResponse struct {
	Success  bool
	Message  string
	Pathname string
	Bytes    int64
}

type FileResponse added in v1.2.1

type FileResponse struct {
	Success  bool
	Message  string
	Pathname string
}

type FileUploadRequest

type FileUploadRequest struct {
	Pathname  string
	Content   []byte
	Timestamp time.Time
	Mode      fs.FileMode
	Force     bool
}

type GetOSResponse added in v1.2.1

type GetOSResponse struct {
	Success bool
	Message string
	OS      string
}

type IsRequest added in v1.2.1

type IsRequest struct {
	Pathname string
}

type IsResponse added in v1.2.1

type IsResponse struct {
	Success  bool
	Message  string
	Pathname string
	Result   bool
}

type NetbootConfig added in v1.2.1

type NetbootConfig struct {
	Address           string `json:"address"`
	OS                string `json:"os"`
	Version           string `json:"version"`
	Arch              string `json:"arch"`
	Serial            string `json:"serial"`
	Mirror            string `json:"mirror"`
	Response          string `json:"response"`
	DisklabelTemplate string `json:"disklabel_template"`
	KernelParams      string `json:"kernel_params"`
	Debug             bool   `json:"debug"`
	Quiet             bool   `json:"quiet"`
}

type SpawnRequest added in v1.2.1

type SpawnRequest struct {
	Command string
	Args    []string
	Env     []string
}

type SpawnResponse

type SpawnResponse struct {
	Success  bool
	Message  string
	Command  string
	ExitCode int
}

type SuccessResponse added in v1.2.1

type SuccessResponse struct {
	Success bool
	Message string
}

Jump to

Keyboard shortcuts

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