Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Dep ¶
type Dep struct { ID int `json:"id"` StateTarget scripts.State `json:"state_target"` User scripts.User `json:"user"` Credentials map[string][]scripts.Credential `json:"credentials"` Questionnaire map[string]string `json:"questionnaire"` // this relates to the polymorphic type added by the polymorphic serializer ResourceType string `json:"resourcetype"` // VO is only set if this is a VODeployment VO VO `json:"vo,omitempty"` // Service may be filled by scheduleDep Service config.Service `json:"service,omitempty"` }
Dep describes a deployment action
type Reply ¶
type Reply struct { // ID of the according Dep (at the backend: DeploymentState) ID int `json:"id"` Output scripts.Output `json:"output"` // Service is the service for which we performed the deploy action Service config.Service `json:"service"` }
Reply is sent back to the backend to inform it about executed deployment actions
Click to show internal directories.
Click to hide internal directories.