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 { }
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
Click to show internal directories.
Click to hide internal directories.