Documentation
¶
Overview ¶
This package contains the internal data structures used by the client in order to generate and parse the JSON documents used by in the AWX API.
Index ¶
- type AuthTokenPostRequest
- type AuthTokenPostResponse
- type Job
- type JobGetResponse
- type JobTemplate
- type JobTemplateGetResponse
- type JobTemplateLaunchGetResponse
- type JobTemplateLaunchPostRequest
- type JobTemplateLaunchPostResponse
- type JobTemplatesGetResponse
- type JobsGetResponse
- type ListGetResponse
- type PATPostRequest
- type PATPostResponse
- type Project
- type ProjectGetResponse
- type ProjectsGetResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthTokenPostRequest ¶
type AuthTokenPostResponse ¶
type JobGetResponse ¶
type JobGetResponse struct {
Job
}
type JobTemplate ¶
type JobTemplateGetResponse ¶
type JobTemplateGetResponse struct {
JobTemplate
}
type JobTemplateLaunchGetResponse ¶
type JobTemplateLaunchGetResponse struct {
JobTemplateData *JobTemplateGetResponse `json:"job_template_data,omitempty"`
}
type JobTemplateLaunchPostResponse ¶
type JobTemplateLaunchPostResponse struct {
Job int `json:"job,omitempty"`
}
type JobTemplatesGetResponse ¶
type JobTemplatesGetResponse struct { ListGetResponse Results []*JobTemplate `json:"results,omitempty"` }
type JobsGetResponse ¶
type JobsGetResponse struct { ListGetResponse Results []*Job `json:"results,omitempty"` }
type ListGetResponse ¶
type PATPostRequest ¶
type PATPostRequest struct { Description string `json:"description,omitempty"` Application *string `json:"application"` // Must be "null" in a PAT request Scope string `json:"scope,omitempty"` }
Personal Access Token, user token in OAuth2
type PATPostResponse ¶
type ProjectGetResponse ¶
type ProjectGetResponse struct {
Project
}
type ProjectsGetResponse ¶
type ProjectsGetResponse struct { ListGetResponse Results []*Project `json:"results,omitempty"` }
Click to show internal directories.
Click to hide internal directories.