Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Name string RequestTimeout time.Duration ConnectTo url.URL MaxTokenLifetime time.Duration }
Config - configuration for network service client
type FullMeshNetworkServiceClient ¶
type FullMeshNetworkServiceClient struct {
// contains filtered or unexported fields
}
func (*FullMeshNetworkServiceClient) Close ¶
func (fmnsc *FullMeshNetworkServiceClient) Close() error
Close -
func (*FullMeshNetworkServiceClient) Request ¶
func (fmnsc *FullMeshNetworkServiceClient) Request(request *networkservice.NetworkServiceRequest) error
Request -
type NSCConnectionFactory ¶
type NSCConnectionFactory interface {
NewNSCIPContext() (*networkservice.IPContext, error)
}
type NetworkServiceClient ¶
type NetworkServiceClient interface { Request(request *networkservice.NetworkServiceRequest) error Close() error }
func NewFullMeshNetworkServiceClient ¶
func NewFullMeshNetworkServiceClient(config *Config, nsmAPIClient *nsm.APIClient, additionalFunctionality ...networkservice.NetworkServiceClient) NetworkServiceClient
NewFullMeshNetworkServiceClient -
func NewSimpleNetworkServiceClient ¶
func NewSimpleNetworkServiceClient(config *Config, nsmAPIClient *nsm.APIClient, additionalFunctionality ...networkservice.NetworkServiceClient) NetworkServiceClient
NewnetworkServiceClient
type SimpleNetworkServiceClient ¶
type SimpleNetworkServiceClient struct { Connection *networkservice.Connection // contains filtered or unexported fields }
func (*SimpleNetworkServiceClient) Close ¶
func (snsc *SimpleNetworkServiceClient) Close() error
func (*SimpleNetworkServiceClient) Request ¶
func (snsc *SimpleNetworkServiceClient) Request(request *networkservice.NetworkServiceRequest) error
Click to show internal directories.
Click to hide internal directories.