Documentation ¶
Index ¶
- func Capabilities(a, u, p string) error
- func Get(a, u, p string, args ...string) (*gpb.GetResponse, error)
- func HTTPGet(apiEndpoint, f string, args ...string) error
- func Set(a, u, p, typ string, args ...string) error
- func Subscribe(a, u, p string, sample, heartbeat int64, args ...string) error
- func Target(bindAddr string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Capabilities ¶
Capabilities sends a gNMI Capabilities request to the specified target and prints the supported models to stdout
func Get ¶
func Get(a, u, p string, args ...string) (*gpb.GetResponse, error)
Get sends a gNMI Get request to the specified target and prints the response to stdout
func HTTPGet ¶
HTTPGet sends sends requests from the CLI to the gosdn HTTP API and processes any response data
func Set ¶
Set sends a gNMI Set request to the specified target. Only one request per invocation supported.
Types ¶
This section is empty.
Source Files ¶
Click to show internal directories.
Click to hide internal directories.