package networking

import "github.com/Microsoft/hcsshim/internal/ncproxy/networking"

Index

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
}

Source Files

endpoints.go networks.go

Version
v0.12.9 (latest)
Published
Oct 30, 2024
Platform
linux/amd64
Last checked
14 hours ago

Tools for package owners.