Documentation ¶
Overview ¶
Package nsurl provides a wrapper for a url.URL that is being used to represent a Network Service being requested by a workload. The rough schema is ${mechanism}://${network service name}[/${interface name}][{labels in URL query format}] Examples:
kernel://my-service@dc.example.com/ms1 memif://my-vpp-service?A=1&B=2&C=3 vfio://second-service?sriovToken=intel/10G
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NSURL ¶
NSURL - wrapper around *url.URL to allow easy extraction of NSM related information
func (*NSURL) Mechanism ¶
func (n *NSURL) Mechanism() *networkservice.Mechanism
Mechanism - return Mechanism for the requested Network Service
func (*NSURL) NetworkService ¶
NetworkService - return the name of the requested Network Service
Click to show internal directories.
Click to hide internal directories.