Documentation
¶
Index ¶
- type AgentServer
- type CreateMachineRequest
- type CreateMachineResponse
- type DestroyMachineRequest
- type DestroyMachineResponse
- type DisableMachineGatewayRequest
- type DisableMachineGatewayResponse
- type EnableMachineGatewayRequest
- type EnableMachineGatewayResponse
- type FollowMachineLogsRequest
- type GetMachineLogsRequest
- type GetMachineLogsResponse
- type MachineExecRequest
- type MachineExecResponse
- type StartMachineRequest
- type StartMachineResponse
- type StopMachineRequest
- type StopMachineResponse
- type WaitMachineStatusRequest
- type WaitMachineStatusResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AgentServer ¶
type AgentServer struct {
// contains filtered or unexported fields
}
func NewAgentServer ¶
func NewAgentServer(agent cluster.Agent) *AgentServer
func (*AgentServer) Serve ¶
func (s *AgentServer) Serve(listener net.Listener)
type CreateMachineRequest ¶
type CreateMachineRequest struct {
Body cluster.PutMachineOptions
}
type CreateMachineResponse ¶
type CreateMachineResponse struct {
Body cluster.MachineInstance
}
type DestroyMachineRequest ¶
type DestroyMachineResponse ¶
type DestroyMachineResponse struct { }
type DisableMachineGatewayRequest ¶ added in v0.5.0
type DisableMachineGatewayRequest struct {
Id string `path:"id"`
}
type DisableMachineGatewayResponse ¶ added in v0.5.0
type DisableMachineGatewayResponse struct { }
type EnableMachineGatewayRequest ¶ added in v0.5.0
type EnableMachineGatewayRequest struct {
Id string `path:"id"`
}
type EnableMachineGatewayResponse ¶ added in v0.5.0
type EnableMachineGatewayResponse struct { }
type FollowMachineLogsRequest ¶
type FollowMachineLogsRequest struct {
Id string `path:"id"`
}
type GetMachineLogsRequest ¶
type GetMachineLogsRequest struct {
Id string `path:"id"`
}
type GetMachineLogsResponse ¶
type MachineExecRequest ¶
type MachineExecRequest struct { Id string `path:"id"` Body api.ExecOptions }
type MachineExecResponse ¶
type MachineExecResponse struct {
Body *api.ExecResult
}
type StartMachineRequest ¶
type StartMachineRequest struct {
Id string `path:"id"`
}
type StartMachineResponse ¶
type StartMachineResponse struct { }
type StopMachineRequest ¶
type StopMachineRequest struct { Id string `path:"id"` Body *api.StopConfig }
type StopMachineResponse ¶
type StopMachineResponse struct { }
type WaitMachineStatusRequest ¶ added in v0.6.0
type WaitMachineStatusRequest struct { MachineId string `path:"id"` Timeout uint `query:"timeout" minimum:"1" maximum:"60"` Status api.MachineStatus `query:"status" required:"true"` }
type WaitMachineStatusResponse ¶ added in v0.6.0
type WaitMachineStatusResponse struct { }
Click to show internal directories.
Click to hide internal directories.