package
2.5.1+incompatible
Repository: https://github.com/lxlee1102/vpp-agent.git
Documentation: pkg.go.dev
# Functions
No description provided by the author
ErrorConnectionFailed returns an error with host in the error message when connection to agent failed.
FromEnv configures the client with values from environment variables.
IsErrConnectionFailed returns true if the error is caused by connection failed.
NewClient returns client with host option.
NewClientFromEnv returns client with options from environment.
NewClientWithOpts returns client with ops applied.
No description provided by the author
ParseHostURL parses a url string, validates the string is a host url, and returns the parsed URL.
WithAPIVersionNegotiation enables automatic API version negotiation for the client.
No description provided by the author
WithGRPCClient overrides the grpc client with the specified one.
WithHost overrides the client host with the specified one.
WithHTTPClient overrides the http client with the specified one.
WithHTTPHeaders overrides the client default http headers.
No description provided by the author
WithTimeout configures the time limit for requests made by the HTTP client.
WithVersion overrides the client version with the specified one.
# Variables
DefaultAgentHost defines default host address for agent.
No description provided by the author
No description provided by the author
# Structs
Client is the API client that performs all operations against a Ligato agent.
KVDBClient provides client access to the KVDB server.
# Interfaces
APIClient is an interface that clients that talk with a agent server must implement.
SystemAPIClient defines API client methods for the system.
No description provided by the author
ModelAPIClient defines API client methods for the models.
SchedulerAPIClient defines API client methods for the scheduler.
VppAPIClient defines API client methods for the VPP.
# Type aliases
No description provided by the author