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 ExecuteRoles
- type Job
- type JobGetResponse
- type JobTemplate
- type JobTemplateGetResponse
- type JobTemplateLaunchGetResponse
- type JobTemplateLaunchPostRequest
- type JobTemplateLaunchPostResponse
- type JobTemplatesGetResponse
- type JobsGetResponse
- type ListGetResponse
- type ObjectRoles
- type Organization
- type OrganizationGetResponse
- type OrganizationsGetResponse
- type PATPostRequest
- type PATPostResponse
- type Project
- type ProjectGetResponse
- type ProjectsGetResponse
- type SummaryFields
- type User
- type UserGetResponse
- type UsersGetResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthTokenPostRequest ¶
type AuthTokenPostResponse ¶
type ExecuteRoles ¶
type ExecuteRoles struct {
Id int `json:"id,omitempty"`
}
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 ObjectRoles ¶
type ObjectRoles struct {
Executeroles ExecuteRoles `json:"execute_role,omitempty"`
}
Results []*Organization `json:"results,omitempty"`
type Organization ¶
type Organization struct { Id int `json:"id,omitempty"` Name string `json:"name,omitempty"` //Execute_role_Id int `json:"id,omitempty"` //`json:"summary_fields.object_roles.execute_role.id,omitempty"` Summaryfields SummaryFields `json:"summary_fields,omitempty"` }
type OrganizationGetResponse ¶
type OrganizationGetResponse struct {
Organization
}
type OrganizationsGetResponse ¶
type OrganizationsGetResponse struct { ListGetResponse Results []*Organization `json:"results,omitempty"` }
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"` }
type SummaryFields ¶
type SummaryFields struct {
Objectroles ObjectRoles `json:"object_roles,omitempty"`
}
type UserGetResponse ¶
type UserGetResponse struct {
User
}
type UsersGetResponse ¶
type UsersGetResponse struct { ListGetResponse Results []*User `json:"results,omitempty"` }
Click to show internal directories.
Click to hide internal directories.