Documentation ¶
Index ¶
- Constants
- type EniResult
- type EriClient
- func (c *EriClient) AddPrivateIP(ctx context.Context, eniID, privateIP string) (string, error)
- func (c *EriClient) BatchAddPrivateIP(ctx context.Context, eniID string, privateIPs []string, count int) ([]string, error)
- func (c *EriClient) BatchDeletePrivateIP(ctx context.Context, eniID string, privateIPs []string) error
- func (c *EriClient) DeletePrivateIP(ctx context.Context, eniID string, privateIP string) error
- func (c *EriClient) GetRDMAIntType() string
- func (c *EriClient) ListEnis(ctx context.Context, vpcID, instanceID string) ([]EniResult, error)
- type HpcClient
- func (c *HpcClient) AddPrivateIP(ctx context.Context, eniID, _ string) (string, error)
- func (c *HpcClient) BatchAddPrivateIP(ctx context.Context, eniID string, privateIPs []string, count int) ([]string, error)
- func (c *HpcClient) BatchDeletePrivateIP(ctx context.Context, eniID string, privateIPs []string) error
- func (c *HpcClient) DeletePrivateIP(ctx context.Context, eniID, privateIP string) error
- func (c *HpcClient) GetRDMAIntType() string
- func (c *HpcClient) ListEnis(ctx context.Context, _, instanceID string) ([]EniResult, error)
- type IaaSClient
- type PrivateIP
Constants ¶
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EriClient ¶
type EriClient struct {
// contains filtered or unexported fields
}
func NewEriClient ¶
func (*EriClient) AddPrivateIP ¶
func (*EriClient) BatchAddPrivateIP ¶
func (*EriClient) BatchDeletePrivateIP ¶
func (*EriClient) DeletePrivateIP ¶
func (*EriClient) GetRDMAIntType ¶
type HpcClient ¶
type HpcClient struct {
// contains filtered or unexported fields
}
func NewHpcClient ¶
func (*HpcClient) AddPrivateIP ¶
func (*HpcClient) BatchAddPrivateIP ¶
func (*HpcClient) BatchDeletePrivateIP ¶
func (*HpcClient) DeletePrivateIP ¶
func (*HpcClient) GetRDMAIntType ¶
type IaaSClient ¶
type IaaSClient interface { ListEnis(ctx context.Context, vpcID, instanceID string) ([]EniResult, error) AddPrivateIP(ctx context.Context, eniID, privateIP string) (string, error) DeletePrivateIP(ctx context.Context, eniID, privateIP string) error BatchAddPrivateIP(ctx context.Context, eniID string, privateIPs []string, count int) ([]string, error) BatchDeletePrivateIP(ctx context.Context, eniID string, privateIPs []string) error GetRDMAIntType() string }
Click to show internal directories.
Click to hide internal directories.