Documentation ¶
Index ¶
- Constants
- func RegisterOperationDocker(operation string)
- func ResponseDocker(body <-chan []byte)
- type Action
- type Args
- type Container
- type Deploy
- type Element
- type Elements
- type IQ
- func ActionContainer(action Action) (IQ, error)
- func AppendDeploy(deploy Deploy) (IQ, error)
- func ExistsImage(image Image) (IQ, error)
- func GenerateImage(image Image) (IQ, error)
- func LoadImage(image Image) (IQ, error)
- func MasterDeploy(deploy Deploy) (IQ, error)
- func NameContainers(from, to string) (IQ, error)
- func RemoveContainer(action Action) (IQ, error)
- func TotalContainers(from, to string) (IQ, error)
- type IQError
- type Image
- type Ports
- type PortsContainer
- type QueryDocker
- type Response
Constants ¶
View Source
const ( GENERATE_IMAGE = "generate-image" LOAD_IMAGE = "load-image" EXISTS_IMAGE = "exists-image" MASTER_DEPLOY = "master-deploy" APPEND_DEPLOY = "append-deploy" NAME_CONTAINERS = "name-containers" TOTAL_CONTAINERS = "total-containers" OPERATION_CONTAINERS = "operation-containers" REMOVE_CONTAINER = "remove-container" EMPTY_STR = "" )
Variables ¶
This section is empty.
Functions ¶
func RegisterOperationDocker ¶
func RegisterOperationDocker(operation string)
func ResponseDocker ¶
func ResponseDocker(body <-chan []byte)
Types ¶
type Elements ¶
type Elements struct { ID string `xml:"id,omitempty"` Name string `xml:"name,omitempty"` Operation string `xml:"operation,omitempty"` Path string `xml:"path,omitempty"` Key string `xml:"key,omitempty"` Customer string `xml:"customer,omitempty"` ApplicationName string `xml:"application-name,omitempty"` TotalContainers int `xml:"total-containers,omitempty"` Cpus string `xml:"cpus,omitempty"` Memory string `xml:"memory,omitempty"` BuildName string `xml:"build-name,omitempty"` Tag string `xml:"tag,omitempty"` Image string `xml:"image,omitempty"` Address string `xml:"address,omitempty"` CreateImage bool `xml:"create-image,omitempty"` Minion string `xml:"minion,omitempty"` PortsContainer []PortsContainer `xml:"portsContainer,omitempty"` Ports []Ports `xml:"ports,omitempty"` Containers []Container `xml:"containers,omitempty"` Args []Args `xml:"arg,omitempty"` }
type IQ ¶
type IQ struct { XMLName xml.Name `xml:"iq"` From string `xml:"from,attr,omitempty"` To string `xml:"to,attr,omitempty"` Type string `xml:"type,attr,omitempty"` ID string `xml:"id,attr,omitempty"` Error *IQError Query interface{} }
func ActionContainer ¶
func AppendDeploy ¶
func ExistsImage ¶
func GenerateImage ¶
func MasterDeploy ¶
func NameContainers ¶
func RemoveContainer ¶
func TotalContainers ¶
type PortsContainer ¶
type QueryDocker ¶
Click to show internal directories.
Click to hide internal directories.