Go golang API rest client for A10 Networks devices
Switch branches/tags
Nothing to show
Clone or download
udhos
Latest commit fb69549 Nov 20, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
a10go Fix caller name in error. Nov 20, 2018
examples Test server creation. Nov 9, 2018
.gitignore Initial commit Nov 1, 2018
LICENSE Initial commit Nov 1, 2018
README.md Install examples. Nov 16, 2018
build.sh Virtual server example. Nov 6, 2018
go.mod Initial. Nov 1, 2018
go.sum Initial. Nov 1, 2018

README.md

license GoDoc Go Report Card

a10-go-rest-client

A10 golang rest client

Build

git clone https://github.com/udhos/a10-go-rest-client ;# clone outside of GOPATH
cd a10-go-rest-client
go test ./a10go
go install ./a10go
go install ./examples/...

Usage

import "github.com/udhos/a10-go-rest-client/a10go"

// (...)

options := a10go.Options{Debug: true} // client options
c := a10go.New(host, options) // create api client

errLogin := c.Login(user, pass) // open session
if errLogin != nil {
    fmt.Printf("login failure: %v", errLogin)
    return
}
vServers := c.VirtualServerList()

c.Logout() // close session

See GoDoc: http://godoc.org/github.com/udhos/a10-go-rest-client/a10go

See examples: