Documentation ¶
Index ¶
- func EipClientBuilder() *http_client.HcHttpClientBuilder
- func GenReqDefForAssociatePublicips(request *model.AssociatePublicipsRequest) *def.HttpRequestDef
- func GenReqDefForDisassociatePublicips(request *model.DisassociatePublicipsRequest) *def.HttpRequestDef
- func GenReqDefForListPublicips(request *model.ListPublicipsRequest) *def.HttpRequestDef
- func GenReqDefForShowPublicip(request *model.ShowPublicipRequest) *def.HttpRequestDef
- func GenRespForAssociatePublicips() (*model.AssociatePublicipsResponse, *def.HttpResponseDef)
- func GenRespForDisassociatePublicips() (*model.DisassociatePublicipsResponse, *def.HttpResponseDef)
- func GenRespForListPublicips() (*model.ListPublicipsResponse, *def.HttpResponseDef)
- func GenRespForShowPublicip() (*model.ShowPublicipResponse, *def.HttpResponseDef)
- type EipClient
- func (c *EipClient) AssociatePublicips(request *model.AssociatePublicipsRequest) (*model.AssociatePublicipsResponse, error)
- func (c *EipClient) DisassociatePublicips(request *model.DisassociatePublicipsRequest) (*model.DisassociatePublicipsResponse, error)
- func (c *EipClient) ListPublicips(request *model.ListPublicipsRequest) (*model.ListPublicipsResponse, error)
- func (c *EipClient) ShowPublicip(request *model.ShowPublicipRequest) (*model.ShowPublicipResponse, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EipClientBuilder ¶
func EipClientBuilder() *http_client.HcHttpClientBuilder
func GenReqDefForAssociatePublicips ¶
func GenReqDefForAssociatePublicips(request *model.AssociatePublicipsRequest) *def.HttpRequestDef
func GenReqDefForDisassociatePublicips ¶
func GenReqDefForDisassociatePublicips(request *model.DisassociatePublicipsRequest) *def.HttpRequestDef
func GenReqDefForListPublicips ¶
func GenReqDefForListPublicips(request *model.ListPublicipsRequest) *def.HttpRequestDef
func GenReqDefForShowPublicip ¶
func GenReqDefForShowPublicip(request *model.ShowPublicipRequest) *def.HttpRequestDef
func GenRespForAssociatePublicips ¶
func GenRespForAssociatePublicips() (*model.AssociatePublicipsResponse, *def.HttpResponseDef)
func GenRespForDisassociatePublicips ¶
func GenRespForDisassociatePublicips() (*model.DisassociatePublicipsResponse, *def.HttpResponseDef)
func GenRespForListPublicips ¶
func GenRespForListPublicips() (*model.ListPublicipsResponse, *def.HttpResponseDef)
func GenRespForShowPublicip ¶
func GenRespForShowPublicip() (*model.ShowPublicipResponse, *def.HttpResponseDef)
Types ¶
type EipClient ¶
type EipClient struct {
// contains filtered or unexported fields
}
func NewEipClient ¶
func NewEipClient(hcClient *http_client.HcHttpClient) *EipClient
func (*EipClient) AssociatePublicips ¶
func (c *EipClient) AssociatePublicips(request *model.AssociatePublicipsRequest) (*model.AssociatePublicipsResponse, error)
绑定弹性公网IP
func (*EipClient) DisassociatePublicips ¶
func (c *EipClient) DisassociatePublicips(request *model.DisassociatePublicipsRequest) (*model.DisassociatePublicipsResponse, error)
解绑弹性公网IP
func (*EipClient) ListPublicips ¶
func (c *EipClient) ListPublicips(request *model.ListPublicipsRequest) (*model.ListPublicipsResponse, error)
查询弹性公网IP列表信息
func (*EipClient) ShowPublicip ¶
func (c *EipClient) ShowPublicip(request *model.ShowPublicipRequest) (*model.ShowPublicipResponse, error)
查询弹性公网IP详情
Click to show internal directories.
Click to hide internal directories.