Documentation
¶
Overview ¶
Package goaci is a a Cisco ACI client library for Go.
Package goaci is a a Cisco ACI client library for Go.
Package goaci is a a Cisco ACI client library for Go.
Package goaci is a a Cisco ACI client library for Go.
Package goaci is a a Cisco ACI client library for Go.
Index ¶
- func NoRefresh(req *Req)
- func Query(k, v string) func(req *Req)
- func RequestTimeout(x time.Duration) func(*Client)
- type Backup
- type Body
- type Client
- func (client Client) Get(path string, mods ...func(*Req)) (Res, error)
- func (client Client) GetClass(class string, mods ...func(*Req)) (Res, error)
- func (client Client) GetDn(dn string, mods ...func(*Req)) (Res, error)
- func (client Client) Login() error
- func (client Client) Post(path, data string, mods ...func(*Req)) (Res, error)
- func (client Client) Refresh() error
- type Req
- type Res
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RequestTimeout ¶
RequestTimeout modifies the HTTP request timeout from the default.
Types ¶
type Backup ¶
type Backup struct {
// contains filtered or unexported fields
}
Backup is a client that queries an ACI backup file.
type Client ¶ added in v0.2.0
type Client struct {
// contains filtered or unexported fields
}
Client is an HTTP API client.
func (Client) GetClass ¶ added in v0.2.0
GetClass makes a GET request by class and unwraps the results.