Documentation
¶
Index ¶
- type CreateInstanceRequest
- type CreateInstanceResponse
- type DaemonServer
- type DeleteImageRequest
- type DeleteImageResponse
- type DestroyInstanceRequest
- type DestroyInstanceResponse
- type ExecBody
- type ExecRequest
- type ExecResponse
- type FollowInstanceLogsRequest
- type GetInstanceLogsRequest
- type GetInstanceLogsResponse
- type GetInstanceRequest
- type GetInstanceResponse
- type ListImagesRequest
- type ListImagesResponse
- type ListInstancesRequest
- type ListInstancesResponse
- type PullImageRequest
- type PullImageResponse
- type StartInstanceRequest
- type StartInstanceResponse
- type StopInstanceRequest
- type StopInstanceResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreateInstanceRequest ¶
type CreateInstanceRequest struct {
Body daemon.InstanceOptions
}
type CreateInstanceResponse ¶
type DaemonServer ¶
type DaemonServer struct {
// contains filtered or unexported fields
}
func NewDaemonServer ¶
func NewDaemonServer(daemon daemon.Daemon) *DaemonServer
func (*DaemonServer) Serve ¶
func (s *DaemonServer) Serve(ln net.Listener)
type DeleteImageRequest ¶
type DeleteImageRequest struct {
Ref string `path:"ref"`
}
type DeleteImageResponse ¶
type DeleteImageResponse struct { }
type DestroyInstanceRequest ¶
type DestroyInstanceRequest struct {
Id string `path:"id"`
}
type DestroyInstanceResponse ¶
type DestroyInstanceResponse struct { }
type ExecRequest ¶
type ExecRequest struct { Id string `path:"id"` Body api.ExecOptions }
type ExecResponse ¶
type ExecResponse struct {
Body *api.ExecResult
}
type FollowInstanceLogsRequest ¶
type FollowInstanceLogsRequest struct {
Id string `path:"id"`
}
type GetInstanceLogsRequest ¶
type GetInstanceLogsResponse ¶
type GetInstanceRequest ¶
type GetInstanceRequest struct {
Id string `path:"id"`
}
type GetInstanceResponse ¶
type ListImagesRequest ¶
type ListImagesRequest struct { }
type ListImagesResponse ¶
type ListInstancesRequest ¶
type ListInstancesRequest struct { }
type ListInstancesResponse ¶
type PullImageRequest ¶
type PullImageRequest struct {
Body daemon.ImagePullOptions
}
type PullImageResponse ¶
type StartInstanceRequest ¶
type StartInstanceRequest struct {
Id string `path:"id"`
}
type StartInstanceResponse ¶
type StartInstanceResponse struct { }
type StopInstanceRequest ¶
type StopInstanceRequest struct { Id string `path:"id"` Body *api.StopConfig `required:"false"` }
type StopInstanceResponse ¶
type StopInstanceResponse struct { }
Click to show internal directories.
Click to hide internal directories.