Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type UserDaemonStub ¶
type UserDaemonStub interface { // Initialize the Client Init() error // Close the Client Close() error // Version retrives the Framework's version Version() (string, error) // ListIfaces retrieves a list of active vhost interfaces ListIfaces() ([]VhostIface, error) // Create a vhost interface Create(VhostIface) error // Destroy a vhost interface identified by the device_id Destroy(string) error }
UserDaemonStub is the Interface with the vDPA User Framework
func NewVdpaClient ¶
func NewVdpaClient(mock bool) UserDaemonStub
NewVdpaClient returns a VdpaClient instance
Click to show internal directories.
Click to hide internal directories.