Documentation ¶
Index ¶
- type ContainerCreate
- func (r *ContainerCreate) Attributes(ctx http.Context) map[string]string
- func (r *ContainerCreate) Authorize(ctx http.Context) error
- func (r *ContainerCreate) Filters(ctx http.Context) map[string]string
- func (r *ContainerCreate) Messages(ctx http.Context) map[string]string
- func (r *ContainerCreate) PrepareForValidation(ctx http.Context, data validation.Data) error
- func (r *ContainerCreate) Rules(ctx http.Context) map[string]string
- type ContainerRename
- func (r *ContainerRename) Attributes(ctx http.Context) map[string]string
- func (r *ContainerRename) Authorize(ctx http.Context) error
- func (r *ContainerRename) Filters(ctx http.Context) map[string]string
- func (r *ContainerRename) Messages(ctx http.Context) map[string]string
- func (r *ContainerRename) PrepareForValidation(ctx http.Context, data validation.Data) error
- func (r *ContainerRename) Rules(ctx http.Context) map[string]string
- type ContainerUpdate
- func (r *ContainerUpdate) Attributes(ctx http.Context) map[string]string
- func (r *ContainerUpdate) Authorize(ctx http.Context) error
- func (r *ContainerUpdate) Filters(ctx http.Context) map[string]string
- func (r *ContainerUpdate) Messages(ctx http.Context) map[string]string
- func (r *ContainerUpdate) PrepareForValidation(ctx http.Context, data validation.Data) error
- func (r *ContainerUpdate) Rules(ctx http.Context) map[string]string
- type ID
- func (r *ID) Attributes(ctx http.Context) map[string]string
- func (r *ID) Authorize(ctx http.Context) error
- func (r *ID) Filters(ctx http.Context) map[string]string
- func (r *ID) Messages(ctx http.Context) map[string]string
- func (r *ID) PrepareForValidation(ctx http.Context, data validation.Data) error
- func (r *ID) Rules(ctx http.Context) map[string]string
- type ImagePull
- func (r *ImagePull) Attributes(ctx http.Context) map[string]string
- func (r *ImagePull) Authorize(ctx http.Context) error
- func (r *ImagePull) Filters(ctx http.Context) map[string]string
- func (r *ImagePull) Messages(ctx http.Context) map[string]string
- func (r *ImagePull) PrepareForValidation(ctx http.Context, data validation.Data) error
- func (r *ImagePull) Rules(ctx http.Context) map[string]string
- type NetworkConnectDisConnect
- func (r *NetworkConnectDisConnect) Attributes(ctx http.Context) map[string]string
- func (r *NetworkConnectDisConnect) Authorize(ctx http.Context) error
- func (r *NetworkConnectDisConnect) Filters(ctx http.Context) map[string]string
- func (r *NetworkConnectDisConnect) Messages(ctx http.Context) map[string]string
- func (r *NetworkConnectDisConnect) PrepareForValidation(ctx http.Context, data validation.Data) error
- func (r *NetworkConnectDisConnect) Rules(ctx http.Context) map[string]string
- type NetworkCreate
- func (r *NetworkCreate) Attributes(ctx http.Context) map[string]string
- func (r *NetworkCreate) Authorize(ctx http.Context) error
- func (r *NetworkCreate) Filters(ctx http.Context) map[string]string
- func (r *NetworkCreate) Messages(ctx http.Context) map[string]string
- func (r *NetworkCreate) PrepareForValidation(ctx http.Context, data validation.Data) error
- func (r *NetworkCreate) Rules(ctx http.Context) map[string]string
- type VolumeCreate
- func (r *VolumeCreate) Attributes(ctx http.Context) map[string]string
- func (r *VolumeCreate) Authorize(ctx http.Context) error
- func (r *VolumeCreate) Filters(ctx http.Context) map[string]string
- func (r *VolumeCreate) Messages(ctx http.Context) map[string]string
- func (r *VolumeCreate) PrepareForValidation(ctx http.Context, data validation.Data) error
- func (r *VolumeCreate) Rules(ctx http.Context) map[string]string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ContainerCreate ¶
type ContainerCreate struct { Name string `form:"name" json:"name"` Image string `form:"image" json:"image"` Ports []types.ContainerPort `form:"ports" json:"ports"` Network string `form:"network" json:"network"` Volumes []types.ContainerVolume `form:"volumes" json:"volumes"` Labels []types.KV `form:"labels" json:"labels"` Env []types.KV `form:"env" json:"env"` Entrypoint []string `form:"entrypoint" json:"entrypoint"` Command []string `form:"command" json:"command"` RestartPolicy string `form:"restart_policy" json:"restart_policy"` AutoRemove bool `form:"auto_remove" json:"auto_remove"` Privileged bool `form:"privileged" json:"privileged"` OpenStdin bool `form:"openStdin" json:"open_stdin"` PublishAllPorts bool `form:"publish_all_ports" json:"publish_all_ports"` Tty bool `form:"tty" json:"tty"` CPUs int64 `form:"cpus" json:"cpus"` Memory int64 `form:"memory" json:"memory"` }
func (*ContainerCreate) Attributes ¶
func (r *ContainerCreate) Attributes(ctx http.Context) map[string]string
func (*ContainerCreate) Filters ¶
func (r *ContainerCreate) Filters(ctx http.Context) map[string]string
func (*ContainerCreate) Messages ¶
func (r *ContainerCreate) Messages(ctx http.Context) map[string]string
func (*ContainerCreate) PrepareForValidation ¶
func (r *ContainerCreate) PrepareForValidation(ctx http.Context, data validation.Data) error
type ContainerRename ¶
type ContainerRename struct { ID string `form:"id" json:"id"` Name string `form:"name" json:"name"` }
func (*ContainerRename) Attributes ¶
func (r *ContainerRename) Attributes(ctx http.Context) map[string]string
func (*ContainerRename) Filters ¶
func (r *ContainerRename) Filters(ctx http.Context) map[string]string
func (*ContainerRename) Messages ¶
func (r *ContainerRename) Messages(ctx http.Context) map[string]string
func (*ContainerRename) PrepareForValidation ¶
func (r *ContainerRename) PrepareForValidation(ctx http.Context, data validation.Data) error
type ContainerUpdate ¶
type ContainerUpdate struct { ID string `form:"id" json:"id"` Name string `form:"name" json:"name"` Image string `form:"image" json:"image"` Ports []types.ContainerPort `form:"ports" json:"ports"` Network string `form:"network" json:"network"` Volumes []types.ContainerVolume `form:"volumes" json:"volumes"` Labels []string `form:"labels" json:"labels"` Env []string `form:"env" json:"env"` Entrypoint []string `form:"entrypoint" json:"entrypoint"` Command []string `form:"command" json:"command"` RestartPolicy string `form:"restart_policy" json:"restart_policy"` AutoRemove bool `form:"auto_remove" json:"auto_remove"` Privileged bool `form:"privileged" json:"privileged"` OpenStdin bool `form:"openStdin" json:"open_stdin"` PublishAllPorts bool `form:"publish_all_ports" json:"publish_all_ports"` Tty bool `form:"tty" json:"tty"` CPUs int64 `form:"cpus" json:"cpus"` Memory int64 `form:"memory" json:"memory"` }
func (*ContainerUpdate) Attributes ¶
func (r *ContainerUpdate) Attributes(ctx http.Context) map[string]string
func (*ContainerUpdate) Filters ¶
func (r *ContainerUpdate) Filters(ctx http.Context) map[string]string
func (*ContainerUpdate) Messages ¶
func (r *ContainerUpdate) Messages(ctx http.Context) map[string]string
func (*ContainerUpdate) PrepareForValidation ¶
func (r *ContainerUpdate) PrepareForValidation(ctx http.Context, data validation.Data) error
type ImagePull ¶
type ImagePull struct { Name string `form:"name" json:"name"` Auth bool `form:"auth" json:"auth"` Username string `form:"username" json:"username"` Password string `form:"password" json:"password"` }
func (*ImagePull) PrepareForValidation ¶
type NetworkConnectDisConnect ¶
type NetworkConnectDisConnect struct { Network string `form:"network" json:"network"` Container string `form:"container" json:"container"` }
func (*NetworkConnectDisConnect) Attributes ¶
func (r *NetworkConnectDisConnect) Attributes(ctx http.Context) map[string]string
func (*NetworkConnectDisConnect) Authorize ¶
func (r *NetworkConnectDisConnect) Authorize(ctx http.Context) error
func (*NetworkConnectDisConnect) Filters ¶
func (r *NetworkConnectDisConnect) Filters(ctx http.Context) map[string]string
func (*NetworkConnectDisConnect) Messages ¶
func (r *NetworkConnectDisConnect) Messages(ctx http.Context) map[string]string
func (*NetworkConnectDisConnect) PrepareForValidation ¶
func (r *NetworkConnectDisConnect) PrepareForValidation(ctx http.Context, data validation.Data) error
type NetworkCreate ¶
type NetworkCreate struct { Name string `form:"name" json:"name"` Driver string `form:"driver" json:"driver"` Ipv4 types.ContainerNetwork `form:"ipv4" json:"ipv4"` Ipv6 types.ContainerNetwork `form:"ipv6" json:"ipv6"` Labels []types.KV `form:"labels" json:"labels"` Options []types.KV `form:"options" json:"options"` }
func (*NetworkCreate) Attributes ¶
func (r *NetworkCreate) Attributes(ctx http.Context) map[string]string
func (*NetworkCreate) Messages ¶
func (r *NetworkCreate) Messages(ctx http.Context) map[string]string
func (*NetworkCreate) PrepareForValidation ¶
func (r *NetworkCreate) PrepareForValidation(ctx http.Context, data validation.Data) error
type VolumeCreate ¶
type VolumeCreate struct { Name string `form:"name" json:"name"` Driver string `form:"driver" json:"driver"` Labels []types.KV `form:"labels" json:"labels"` Options []types.KV `form:"options" json:"options"` }
func (*VolumeCreate) Attributes ¶
func (r *VolumeCreate) Attributes(ctx http.Context) map[string]string
func (*VolumeCreate) PrepareForValidation ¶
func (r *VolumeCreate) PrepareForValidation(ctx http.Context, data validation.Data) error
Click to show internal directories.
Click to hide internal directories.