Documentation ¶
Index ¶
- type Config
- type Endpoint
- func (e *Endpoint) Announce() error
- func (e *Endpoint) Delete()
- func (e *Endpoint) Denounce() error
- func (e *Endpoint) GetUrl() string
- func (e *Endpoint) Start(additionalFunctionality ...networkservice.NetworkServiceServer) error
- func (e *Endpoint) StartWithoutRegister(additionalFunctionality ...networkservice.NetworkServiceServer) error
- type NSEConnectionFactory
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Name string ServiceName string Labels map[string]string MaxTokenLifetime time.Duration MTU int }
Config for Endpoint
type Endpoint ¶
type Endpoint struct {
// contains filtered or unexported fields
}
Endpoint -
func NewEndpoint ¶
func NewEndpoint( context context.Context, config *Config, networkServiceRegistryClient registryapi.NetworkServiceRegistryClient, networkServiceEndpointRegistryClient registryapi.NetworkServiceEndpointRegistryClient) (*Endpoint, error)
NewEndpoint -
Note: on teardown if endpoint is expected to explicitly unregister, then the context shall not be cancelled/closed before Delete() is called
func (*Endpoint) Start ¶
func (e *Endpoint) Start(additionalFunctionality ...networkservice.NetworkServiceServer) error
Start -
func (*Endpoint) StartWithoutRegister ¶
func (e *Endpoint) StartWithoutRegister(additionalFunctionality ...networkservice.NetworkServiceServer) error
Start -
type NSEConnectionFactory ¶
type NSEConnectionFactory interface {
NewNSEIPContext() (*networkservice.IPContext, error)
}
Click to show internal directories.
Click to hide internal directories.