networking

package
v0.12.0-rc.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 1, 2024 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DeviceDetails

type DeviceDetails struct {
	PCIDeviceDetails *PCIDeviceDetails
}

type Endpoint

type Endpoint struct {
	EndpointName string
	NamespaceID  string
	Settings     *EndpointSettings
}

func NewEndpoint

func NewEndpoint(settings *EndpointSettings) (*Endpoint, error)

type EndpointSettings

type EndpointSettings struct {
	Name                  string
	Macaddress            string
	IPAddress             string
	IPAddressPrefixLength uint32
	NetworkName           string
	DefaultGateway        string
	DeviceDetails         *DeviceDetails
}

type Network

type Network struct {
	NetworkName string
	Settings    *NetworkSettings
}

func NewNetwork

func NewNetwork(settings *NetworkSettings) (*Network, error)

type NetworkSettings

type NetworkSettings struct {
	Name string
}

type PCIDeviceDetails

type PCIDeviceDetails struct {
	DeviceID             string
	VirtualFunctionIndex uint32
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL