api

package
v0.7.1 Latest Latest
Warning

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

Go to latest
Published: Jan 19, 2025 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ServeInitdAPI

func ServeInitdAPI(env *environment.Env) error

Types

type ExecRequest

type ExecRequest struct {
	Body api.ExecOptions
}

type ExecResponse

type ExecResponse struct {
	Body *api.ExecResult
}

type GetStatusRequest

type GetStatusRequest struct {
}

type GetStatusResponse

type GetStatusResponse struct {
	Body initd.Status
}

type InternalEndpoint

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

type ListDirRequest

type ListDirRequest struct {
	Path string `query:"path"`
}

type ListDirResponse

type ListDirResponse struct {
	Body []initd.FSEntry
}

type MkdirRequest

type MkdirRequest struct {
	Body initd.MkdirOptions
}

type MkdirResponse

type MkdirResponse struct {
}

type ReadFileRequest

type ReadFileRequest struct {
	Path string `query:"path"`
}

type RemoveRequest

type RemoveRequest struct {
	Path string `query:"path"`
}

type RemoveResponse

type RemoveResponse struct {
}

type SignalRequest

type SignalRequest struct {
	Body initd.SignalOptions
}

type SignalResponse

type SignalResponse struct{}

type StatFileRequest

type StatFileRequest struct {
	Path string `query:"path"`
}

type StatFileResponse

type StatFileResponse struct {
	Body *initd.FSEntry
}

type WaitRequest

type WaitRequest struct{}

type WaitResponse

type WaitResponse struct {
	Body initd.WaitResult
}

type WatchDirRequest

type WatchDirRequest struct {
	Path string `query:"path"`
}

type WriteFileRequest

type WriteFileRequest struct {
	RawBody multipart.Form
}

type WriteFileResponse

type WriteFileResponse struct {
}

Jump to

Keyboard shortcuts

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