Documentation ¶
Index ¶
- Constants
- type AnsibleHost
- type AnsiblePlaybookCreateInput
- type AnsiblePlaybookInstanceListInput
- type AnsiblePlaybookReferenceCreateInput
- type AnsiblePlaybookReferenceRunInput
- type AnsiblePlaybookReferenceRunOutput
- type AnsiblePlaybookReferenceStopInput
- type AnsiblePlaybookReferenceUpdateInput
- type AnsiblePlaybookUpdateInput
- type SAnsiblePlaybook
- type SAnsiblePlaybookInstance
- type SAnsiblePlaybookReference
- type SAnsiblePlaybookV2
Constants ¶
View Source
const ( APReferenceMethodOffline = "offline" APReferenceMethodOnline = "online" APReferenceStatusReady = "ready" )
View Source
const ( AnsiblePlaybookStatusInit = "init" AnsiblePlaybookStatusRunning = "running" AnsiblePlaybookStatusSucceeded = "succeeded" AnsiblePlaybookStatusFailed = "failed" AnsiblePlaybookStatusCanceled = "canceled" AnsiblePlaybookStatusUnknown = "unknown" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AnsibleHost ¶
type AnsiblePlaybookInstanceListInput ¶
type AnsiblePlaybookInstanceListInput struct { apis.StatusStandaloneResourceListInput AnsiblePlayboookReferenceId string }
type AnsiblePlaybookReferenceCreateInput ¶
type AnsiblePlaybookReferenceCreateInput struct { apis.SharableVirtualResourceCreateInput SAnsiblePlaybookReference PlaybookParams map[string]interface{} `json:"playbook_params"` }
type AnsiblePlaybookReferenceRunInput ¶
type AnsiblePlaybookReferenceRunInput struct { Host AnsibleHost Args jsonutils.JSONObject }
type AnsiblePlaybookReferenceRunOutput ¶
type AnsiblePlaybookReferenceRunOutput struct {
AnsiblePlaybookInstanceId string
}
type AnsiblePlaybookReferenceStopInput ¶
type AnsiblePlaybookReferenceStopInput struct {
AnsiblePlaybookInstanceId string
}
type AnsiblePlaybookReferenceUpdateInput ¶
type AnsiblePlaybookReferenceUpdateInput struct { }
type AnsiblePlaybookUpdateInput ¶
type AnsiblePlaybookUpdateInput AnsiblePlaybookCreateInput
type SAnsiblePlaybook ¶
type SAnsiblePlaybook struct { apis.SVirtualResourceBase Playbook *ansible.Playbook `json:"playbook"` Output string `json:"output"` StartTime time.Time `json:"start_time"` EndTime time.Time `json:"end_time"` }
SAnsiblePlaybook is an autogenerated struct via yunion.io/x/onecloud/pkg/ansibleserver/models.SAnsiblePlaybook.
type SAnsiblePlaybookInstance ¶
type SAnsiblePlaybookInstance struct { apis.SStatusStandaloneResourceBase ReferenceId string `json:"reference_id"` ProxyEndpoingId string `json:"proxy_endpoing_id"` LocalForwardId string `json:"local_forward_id"` Proxy string `json:"proxy"` Output string `json:"output"` StartTime time.Time `json:"start_time"` EndTime time.Time `json:"end_time"` }
SAnsiblePlaybookInstance is an autogenerated struct via yunion.io/x/onecloud/pkg/ansibleserver/models.SAnsiblePlaybookInstance.
type SAnsiblePlaybookReference ¶
type SAnsiblePlaybookReference struct { apis.SVirtualResourceBase PlaybookPath string `json:"playbook_path"` Method string `json:"method"` }
SAnsiblePlaybookReference is an autogenerated struct via yunion.io/x/onecloud/pkg/ansibleserver/models.SAnsiblePlaybookReference.
type SAnsiblePlaybookV2 ¶
type SAnsiblePlaybookV2 struct { apis.SVirtualResourceBase Playbook string `json:"playbook"` Inventory string `json:"inventory"` Requirements string `json:"requirements"` Files string `json:"files"` Output string `json:"output"` StartTime time.Time `json:"start_time"` EndTime time.Time `json:"end_time"` CreatorMark string `json:"creator_mark"` }
SAnsiblePlaybookV2 is an autogenerated struct via yunion.io/x/onecloud/pkg/ansibleserver/models.SAnsiblePlaybookV2.
Click to show internal directories.
Click to hide internal directories.