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
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 NewAliyun ¶
func NewAliyun(ctx context.Context, openAPI *client.OpenAPI, getter eni.ENIInfoGetter, vsw *vswpool.SwitchPool, cfg *types.PoolConfig) *Aliyun
func (*Aliyun) AssignNIPv4 ¶
func (*Aliyun) AssignNIPv6 ¶
func (*Aliyun) CreateNetworkInterface ¶
func (*Aliyun) DeleteNetworkInterface ¶
func (*Aliyun) GetAttachedNetworkInterface ¶
func (*Aliyun) LoadNetworkInterface ¶
func (*Aliyun) UnAssignNIPv4 ¶
Click to show internal directories.
Click to hide internal directories.