Documentation
¶
Index ¶
- func ServeInitdAPI(env *environment.Env) error
- type ExecRequest
- type ExecResponse
- type GetStatusRequest
- type GetStatusResponse
- type InternalEndpoint
- type ListDirRequest
- type ListDirResponse
- type MkdirRequest
- type MkdirResponse
- type ReadFileRequest
- type RemoveRequest
- type RemoveResponse
- type SignalRequest
- type SignalResponse
- type StatFileRequest
- type StatFileResponse
- type WaitRequest
- type WaitResponse
- type WatchDirRequest
- type WriteFileRequest
- type WriteFileResponse
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 InternalEndpoint ¶
type InternalEndpoint struct {
// contains filtered or unexported fields
}
type ListDirRequest ¶
type ListDirRequest struct {
Path string `query:"path"`
}
type ListDirResponse ¶
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 WaitRequest ¶
type WaitRequest struct{}
type WaitResponse ¶
type WaitResponse struct {
Body initd.WaitResult
}
type WatchDirRequest ¶
type WatchDirRequest struct {
Path string `query:"path"`
}
type WriteFileRequest ¶
type WriteFileResponse ¶
type WriteFileResponse struct { }
Click to show internal directories.
Click to hide internal directories.