networking

package
v0.0.0-...-1359b6c Latest Latest
Warning

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

Go to latest
Published: Sep 18, 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