Documentation ¶
Index ¶
- type Aliyun
- func (a *Aliyun) AssignNIPv4(eniID string, count int, mac string) ([]netip.Addr, error)
- func (a *Aliyun) AssignNIPv6(eniID string, count int, mac string) ([]netip.Addr, error)
- func (a *Aliyun) CreateNetworkInterface(ipv4, ipv6 int, eniType string) (*daemon.ENI, []netip.Addr, []netip.Addr, error)
- func (a *Aliyun) DeleteNetworkInterface(eniID string) error
- func (a *Aliyun) GetAttachedNetworkInterface(trunkENIID string) ([]*daemon.ENI, error)
- func (a *Aliyun) LoadNetworkInterface(mac string) (ipv4Set []netip.Addr, ipv6Set []netip.Addr, err error)
- func (a *Aliyun) UnAssignNIPv4(eniID string, ips []netip.Addr, mac string) error
- func (a *Aliyun) UnAssignNIPv6(eniID string, ips []netip.Addr, mac string) error
- type Eflo
- func (p *Eflo) AssignNIPv4(eniID string, count int, mac string) ([]netip.Addr, error)
- func (p *Eflo) AssignNIPv6(eniID string, count int, mac string) ([]netip.Addr, error)
- func (p *Eflo) CreateNetworkInterface(ipv4, ipv6 int, eniType string) (*daemon.ENI, []netip.Addr, []netip.Addr, error)
- func (p *Eflo) DeleteNetworkInterface(eniID string) error
- func (p *Eflo) GetAttachedNetworkInterface(preferTrunkID string) ([]*daemon.ENI, error)
- func (p *Eflo) LoadNetworkInterface(mac string) ([]netip.Addr, []netip.Addr, error)
- func (p *Eflo) UnAssignNIPv4(eniID string, ips []netip.Addr, mac string) error
- func (p *Eflo) UnAssignNIPv6(eniID string, ips []netip.Addr, mac string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Aliyun ¶
type Aliyun struct {
// contains filtered or unexported fields
}
Aliyun the local eni factory impl for aliyun.
func (*Aliyun) AssignNIPv4 ¶
func (*Aliyun) AssignNIPv6 ¶
func (*Aliyun) CreateNetworkInterface ¶
func (*Aliyun) DeleteNetworkInterface ¶
func (*Aliyun) GetAttachedNetworkInterface ¶
func (*Aliyun) LoadNetworkInterface ¶
func (*Aliyun) UnAssignNIPv4 ¶
type Eflo ¶ added in v1.8.0
type Eflo struct {
// contains filtered or unexported fields
}
func (*Eflo) AssignNIPv4 ¶ added in v1.8.0
func (*Eflo) AssignNIPv6 ¶ added in v1.8.0
func (*Eflo) CreateNetworkInterface ¶ added in v1.8.0
func (*Eflo) DeleteNetworkInterface ¶ added in v1.8.0
func (*Eflo) GetAttachedNetworkInterface ¶ added in v1.8.0
func (*Eflo) LoadNetworkInterface ¶ added in v1.8.0
func (*Eflo) UnAssignNIPv4 ¶ added in v1.8.0
Click to show internal directories.
Click to hide internal directories.