Skip to content

Colstuwjx/awx-go

Folders and files

NameName
Last commit message
Last commit date

Latest commit

18b6677 · Aug 2, 2021

History

53 Commits
Aug 2, 2021
Oct 19, 2018
Sep 1, 2018
Sep 1, 2018
Aug 19, 2018
Aug 13, 2018
Jun 22, 2018
Sep 1, 2018
Dec 3, 2018
Oct 19, 2018
Aug 2, 2021
Aug 25, 2018
Aug 13, 2018
Apr 4, 2019
Apr 4, 2019
Sep 1, 2018
Sep 1, 2018
Sep 1, 2018
Sep 1, 2018
Aug 2, 2021
Aug 2, 2021
Aug 2, 2021
Aug 2, 2021
Aug 13, 2018
Oct 23, 2018
Sep 8, 2018
Sep 1, 2018
Aug 13, 2018
Sep 1, 2018
Sep 29, 2018
Sep 29, 2018
Sep 8, 2018
Sep 8, 2018
Aug 19, 2018
Aug 2, 2021
Oct 19, 2018
Oct 19, 2018

Repository files navigation

awx-go

Build Status Go Report Card codecov

AWX SDK for the Go programming language.

AWX-GO-ROBOT

Installing

If you are using Go 1.5 with the GO15VENDOREXPERIMENT=1 vendoring flag, or 1.6 and higher you can use the following command to retrieve the SDK. The SDK will be included.

go get -u github.com/Colstuwjx/awx-go

Example

We can simply import awx-go and call its services, such as PingService:

import (
    "log"
    awxGo "github.com/Colstuwjx/awx-go"
)

func main() {
    awx := awxGo.NewAWX("http://awx.your_server_host.com", "your_awx_username", "your_awx_passwd", nil)
    result, err := awx.PingService.Ping()
    if err != nil {
        log.Fatalf("Ping awx err: %s", err)
    }

    log.Println("Ping awx: ", result)
}

More examples can be found at here.

Roadmap

awx-go is still in development, and its roadmap could be found at here.

Contribute

There are many ways to contribute to awx-go.

About

AWX SDK for the Go programming language: https://github.com/ansible/awx

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages