data

package
v0.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 23, 2018 License: Apache-2.0 Imports: 1 Imported by: 0

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

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AuthTokenPostRequest

type AuthTokenPostRequest struct {
	Username string `json:"username,omitempty"`
	Password string `json:"password,omitempty"`
}

type AuthTokenPostResponse

type AuthTokenPostResponse struct {
	Token   string    `json:"token,omitempty"`
	Expires time.Time `json:"expires,omitempty"`
}

type JobTemplate

type JobTemplate struct {
	Id   int    `json:"id,omitempty"`
	Name string `json:"name,omitempty"`
}

type JobTemplateGetResponse

type JobTemplateGetResponse struct {
	JobTemplate
}

type JobTemplateLaunchGetResponse

type JobTemplateLaunchGetResponse struct {
	JobTemplateData *JobTemplateGetResponse `json:"job_template_data,omitempty"`
}

type JobTemplateLaunchPostRequest

type JobTemplateLaunchPostRequest struct {
	ExtraVars string `json:"extra_vars,omitempty"`
}

type JobTemplateLaunchPostResponse

type JobTemplateLaunchPostResponse struct {
}

type JobTemplatesGetResponse

type JobTemplatesGetResponse struct {
	ListGetResponse

	Results []*JobTemplate `json:"results,omitempty"`
}

type ListGetResponse

type ListGetResponse struct {
	Count    int    `json:"count,omitempty"`
	Next     string `json:"next,omitempty"`
	Previous string `json:"previous,omitempty"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL