Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type APIClient ¶
type APIClient struct { GRPCClient *grpc.ClientConn Config *Config NetworkServiceEndpointRegistryClient registry.NetworkServiceEndpointRegistryClient NetworkServiceRegistryClient registry.NetworkServiceRegistryClient GRPCDialOption []grpc.DialOption // contains filtered or unexported fields }
APIClient -
func NewAPIClient ¶
NewAPIClient -
func (*APIClient) Delete ¶ added in v0.4.0
func (apiClient *APIClient) Delete()
Delete - Cancels the context to tear down apiClient
func (*APIClient) GetClientOptions ¶
func (apiClient *APIClient) GetClientOptions() []grpc.DialOption
type Config ¶
type Config struct { Name string ConnectTo url.URL DialTimeout time.Duration RequestTimeout time.Duration MaxTokenLifetime time.Duration }
Config for NSM API Client
type NetworkServiceClient ¶
type NetworkServiceClient interface { networkservice.NetworkServiceClient }
Directories ¶
Path | Synopsis |
---|---|
Package interfacemonitor contains code implementing NetworkServiceServer and NetworkServiceClient to adverstise a listener when an nsm interface has been created or removed
|
Package interfacemonitor contains code implementing NetworkServiceServer and NetworkServiceClient to adverstise a listener when an nsm interface has been created or removed |
Package interfacename contains code implementing NetworkServiceServer and NetworkServiceClient to generate and set the name of the interface in the mechanism and the mechanism preferences of the requests
|
Package interfacename contains code implementing NetworkServiceServer and NetworkServiceClient to generate and set the name of the interface in the mechanism and the mechanism preferences of the requests |
Package mocks is a generated GoMock package.
|
Package mocks is a generated GoMock package. |
Click to show internal directories.
Click to hide internal directories.