Versions in this module Expand all Collapse all v1 v1.0.10 Mar 20, 2019 Changes in this version + const ResourceTypeENI + const ResourceTypeENIIP + const ResourceTypeVeth type Configure + EniCapRatio float64 + EniCapShift int type ENI + DeviceNumber int32 + MaxIPs int + func (eni *ENI) GetResourceId() string + func (eni *ENI) GetType() string + type ENIIP struct + Eni *ENI + SecAddress net.IP + func (eniIP *ENIIP) GetResourceId() string + func (eniIP *ENIIP) GetType() string + type NetworkResource interface + GetResourceId func() string + GetType func() string type PoolConfig + EniCapRatio float64 + EniCapShift int + type ResourceCreateArgs struct + VethCreateArgs *VethCreateArgs + type ResourceDestroyArgs struct + type Veth struct + HostVeth string + func (veth *Veth) GetResourceId() string + func (veth *Veth) GetType() string + type VethCreateArgs struct + PodName string + PodNamespace string v0 v0.1.0 Nov 21, 2018 Changes in this version + type Configure struct + AccessId string + AccessSecret string + HotPlug string + MaxPoolSize int + MinPoolSize int + Prefix string + SecurityGroup string + ServiceCIDR string + VSwitches map[string]string + Version string + type ENI struct + Address net.IPNet + Gateway net.IP + ID string + MAC string + Name string + type NetConf struct + IP string + func NewConf(args *skel.CmdArgs) (*NetConf, error) + type PoolConfig struct + AccessId string + AccessSecret string + HotPlug bool + InstanceID string + MaxPoolSize int + MinPoolSize int + Region string + SecurityGroup string + VPC string + VSwitch string + Zone string + type TrafficShappingRule struct + Bandwidth string + Classify int + ID string + Source string