portrole

package
v0.0.0-...-9649b88 Latest Latest
Warning

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

Go to latest
Published: Sep 16, 2020 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PortBuilderRole

type PortBuilderRole struct {
	NetworkName  string
	NetworkPlane string
	PortName     string
	VnicType     string
	Accelerate   string
	FixIP        string
	IPGroupName  string
}

func (*PortBuilderRole) Transform

func (this *PortBuilderRole) Transform(port *monitor.Port) error

type PortTableRole

type PortTableRole struct {
	// contains filtered or unexported fields
}

func GetPortTableSingleton

func GetPortTableSingleton() *PortTableRole

func (*PortTableRole) Delete

func (this *PortTableRole) Delete(portID string) error

func (*PortTableRole) Get

func (this *PortTableRole) Get(portID string) (string, error)

func (*PortTableRole) Insert

func (this *PortTableRole) Insert(portID, portName string) error

func (*PortTableRole) IsExist

func (this *PortTableRole) IsExist(vethName string) bool

func (*PortTableRole) Load

func (this *PortTableRole) Load() error

Jump to

Keyboard shortcuts

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