examples

command
v0.0.0-...-b74415f Latest Latest
Warning

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

Go to latest
Published: Sep 26, 2019 License: Apache-2.0 Imports: 7 Imported by: 0

README

AWX Client Examples

This directory contains a collections of examples that show how to use the AWX client.

Running the Examples

In order to run the examples you will need to provide the details to connect to your AWX server, either modifiying the source code of the example or using the command line options. For example, to run the example that lists the job templates you can use the following command line:

$ go run list_job_templates.go \
-url "https://awx.example.com/api" \
-username "admin" \
-password "..." \
-ca-file "ca.pem" \
-logtostderr \
-v=2

Note that the -logtostderr and -v=2 options aren't needed, but they are very convenient for development, as they ensure that all the HTTP traffic is dumped to the terminal.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

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