v2

package
v0.0.25-beta Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 15, 2020 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause Imports: 4 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenReqDefForBatchCreateNatGatewayDnatRules

func GenReqDefForBatchCreateNatGatewayDnatRules() *def.HttpRequestDef

func GenReqDefForCreateNatGateway

func GenReqDefForCreateNatGateway() *def.HttpRequestDef

func GenReqDefForCreateNatGatewayDnatRule

func GenReqDefForCreateNatGatewayDnatRule() *def.HttpRequestDef

func GenReqDefForCreateNatGatewaySnatRule

func GenReqDefForCreateNatGatewaySnatRule() *def.HttpRequestDef

func GenReqDefForDeleteNatGateway

func GenReqDefForDeleteNatGateway() *def.HttpRequestDef

func GenReqDefForDeleteNatGatewayDnatRule

func GenReqDefForDeleteNatGatewayDnatRule() *def.HttpRequestDef

func GenReqDefForDeleteNatGatewaySnatRule

func GenReqDefForDeleteNatGatewaySnatRule() *def.HttpRequestDef

func GenReqDefForListNatGatewayDnatRules

func GenReqDefForListNatGatewayDnatRules() *def.HttpRequestDef

func GenReqDefForListNatGatewaySnatRules

func GenReqDefForListNatGatewaySnatRules() *def.HttpRequestDef

func GenReqDefForListNatGateways

func GenReqDefForListNatGateways() *def.HttpRequestDef

func GenReqDefForShowNatGateway

func GenReqDefForShowNatGateway() *def.HttpRequestDef

func GenReqDefForShowNatGatewayDnatRule

func GenReqDefForShowNatGatewayDnatRule() *def.HttpRequestDef

func GenReqDefForShowNatGatewaySnatRule

func GenReqDefForShowNatGatewaySnatRule() *def.HttpRequestDef

func GenReqDefForUpdateNatGateway

func GenReqDefForUpdateNatGateway() *def.HttpRequestDef

func GenReqDefForUpdateNatGatewayDnatRule

func GenReqDefForUpdateNatGatewayDnatRule() *def.HttpRequestDef

func GenReqDefForUpdateNatGatewaySnatRule

func GenReqDefForUpdateNatGatewaySnatRule() *def.HttpRequestDef

func NatClientBuilder

func NatClientBuilder() *http_client.HcHttpClientBuilder

Types

type NatClient

type NatClient struct {
	HcClient *http_client.HcHttpClient
}

func NewNatClient

func NewNatClient(hcClient *http_client.HcHttpClient) *NatClient

func (*NatClient) BatchCreateNatGatewayDnatRules

批量创建DNAT规则。

func (*NatClient) CreateNatGateway

func (c *NatClient) CreateNatGateway(request *model.CreateNatGatewayRequest) (*model.CreateNatGatewayResponse, error)

创建公网NAT网关实例。

func (*NatClient) CreateNatGatewayDnatRule

创建DNAT规则。

func (*NatClient) CreateNatGatewaySnatRule

创建SNAT规则。

func (*NatClient) DeleteNatGateway

func (c *NatClient) DeleteNatGateway(request *model.DeleteNatGatewayRequest) (*model.DeleteNatGatewayResponse, error)

删除公网NAT网关实例。

func (*NatClient) DeleteNatGatewayDnatRule

删除指定的DNAT规则。

func (*NatClient) DeleteNatGatewaySnatRule

删除指定的SNAT规则。

func (*NatClient) ListNatGatewayDnatRules

查询DNAT规则列表。

func (*NatClient) ListNatGatewaySnatRules

查询SNAT规则列表。

func (*NatClient) ListNatGateways

func (c *NatClient) ListNatGateways(request *model.ListNatGatewaysRequest) (*model.ListNatGatewaysResponse, error)

查询公网NAT网关实例列表。

func (*NatClient) ShowNatGateway

func (c *NatClient) ShowNatGateway(request *model.ShowNatGatewayRequest) (*model.ShowNatGatewayResponse, error)

查询指定的公网NAT网关实例详情。

func (*NatClient) ShowNatGatewayDnatRule

查询指定的DNAT规则详情。

func (*NatClient) ShowNatGatewaySnatRule

查询指定的SNAT规则详情。

func (*NatClient) UpdateNatGateway

func (c *NatClient) UpdateNatGateway(request *model.UpdateNatGatewayRequest) (*model.UpdateNatGatewayResponse, error)

更新公网NAT网关实例。

func (*NatClient) UpdateNatGatewayDnatRule

更新指定的DNAT规则。

func (*NatClient) UpdateNatGatewaySnatRule

更新指定的SNAT规则。

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL