knitteragentrole

package
Version: 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: 16 Imported by: 0

Documentation

Index

Constants

View Source
const KnitterAgnent string = "http://127.0.0.1:6006/v1/pod"

Variables

This section is empty.

Functions

func InitVlanIDSlice

func InitVlanIDSlice(buff []int)

Types

type DeployPodRole

type DeployPodRole struct {
}

func (*DeployPodRole) ConnectToBrdep

func (this *DeployPodRole) ConnectToBrdep(containerID string) error

type DetachTriggerRole

type DetachTriggerRole struct {
}

func (DetachTriggerRole) SendPostReqToSelf

func (this DetachTriggerRole) SendPostReqToSelf(args *skel.CmdArgs) error

type NetConfigFileRole

type NetConfigFileRole struct {
}

func (NetConfigFileRole) Create

func (this NetConfigFileRole) Create(podObj *podobj.PodObj, nics []bind.Dpdknic) error

type PortObjRole

type PortObjRole struct {
}

func (PortObjRole) Create

func (this PortObjRole) Create(value string) (*portobj.PortObj, error)

func (PortObjRole) Deserialize

func (this PortObjRole) Deserialize(portJSON string) (*portobj.PortObj, error)

type VlanIDAllocatorRole

type VlanIDAllocatorRole struct {
}

func (*VlanIDAllocatorRole) Alloc

func (this *VlanIDAllocatorRole) Alloc() string

func (*VlanIDAllocatorRole) Free

func (this *VlanIDAllocatorRole) Free(vlanID string) error

Jump to

Keyboard shortcuts

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