pod

package
v0.0.0-...-d67a62d Latest Latest
Warning

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

Go to latest
Published: Jul 19, 2018 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DNSifyMAC

func DNSifyMAC(mac net.HardwareAddr) string

func IFNameForKey

func IFNameForKey(key string) string

IFNameForKey returns a deterministic interface name for the given key This is a copy-and-modified version of libcalico-go VethNameForWorkload

func NewController

NewController creates a pod controller.

Types

type PortARP

type PortARP struct {
	BridgeID uuid.UUID
	IP       net.IP
	MAC      net.HardwareAddr
}

func (*PortARP) Convert

func (p *PortARP) Convert(key converter.Key, config *converter.Config) ([]converter.BackendResource, error)

type PortMAC

type PortMAC struct {
	BridgeID uuid.UUID
	PortID   uuid.UUID
	MAC      net.HardwareAddr
}

func (*PortMAC) Convert

func (p *PortMAC) Convert(key converter.Key, config *converter.Config) ([]converter.BackendResource, error)

Jump to

Keyboard shortcuts

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