v2

package
v0.1.14 Latest Latest
Warning

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

Go to latest
Published: Dec 1, 2022 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause Imports: 5 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 BatchCreateNatGatewayDnatRulesInvoker added in v0.0.90

type BatchCreateNatGatewayDnatRulesInvoker struct {
	*invoker.BaseInvoker
}

func (*BatchCreateNatGatewayDnatRulesInvoker) Invoke added in v0.0.90

type CreateNatGatewayDnatRuleInvoker added in v0.0.90

type CreateNatGatewayDnatRuleInvoker struct {
	*invoker.BaseInvoker
}

func (*CreateNatGatewayDnatRuleInvoker) Invoke added in v0.0.90

type CreateNatGatewayInvoker added in v0.0.90

type CreateNatGatewayInvoker struct {
	*invoker.BaseInvoker
}

func (*CreateNatGatewayInvoker) Invoke added in v0.0.90

type CreateNatGatewaySnatRuleInvoker added in v0.0.90

type CreateNatGatewaySnatRuleInvoker struct {
	*invoker.BaseInvoker
}

func (*CreateNatGatewaySnatRuleInvoker) Invoke added in v0.0.90

type DeleteNatGatewayDnatRuleInvoker added in v0.0.90

type DeleteNatGatewayDnatRuleInvoker struct {
	*invoker.BaseInvoker
}

func (*DeleteNatGatewayDnatRuleInvoker) Invoke added in v0.0.90

type DeleteNatGatewayInvoker added in v0.0.90

type DeleteNatGatewayInvoker struct {
	*invoker.BaseInvoker
}

func (*DeleteNatGatewayInvoker) Invoke added in v0.0.90

type DeleteNatGatewaySnatRuleInvoker added in v0.0.90

type DeleteNatGatewaySnatRuleInvoker struct {
	*invoker.BaseInvoker
}

func (*DeleteNatGatewaySnatRuleInvoker) Invoke added in v0.0.90

type ListNatGatewayDnatRulesInvoker added in v0.0.90

type ListNatGatewayDnatRulesInvoker struct {
	*invoker.BaseInvoker
}

func (*ListNatGatewayDnatRulesInvoker) Invoke added in v0.0.90

type ListNatGatewaySnatRulesInvoker added in v0.0.90

type ListNatGatewaySnatRulesInvoker struct {
	*invoker.BaseInvoker
}

func (*ListNatGatewaySnatRulesInvoker) Invoke added in v0.0.90

type ListNatGatewaysInvoker added in v0.0.90

type ListNatGatewaysInvoker struct {
	*invoker.BaseInvoker
}

func (*ListNatGatewaysInvoker) Invoke added in v0.0.90

type NatClient

type NatClient struct {
	HcClient *http_client.HcHttpClient
}

func NewNatClient

func NewNatClient(hcClient *http_client.HcHttpClient) *NatClient

func (*NatClient) BatchCreateNatGatewayDnatRules

BatchCreateNatGatewayDnatRules 批量创建DNAT规则

批量创建DNAT规则。

Please refer to HUAWEI cloud API Explorer for details.

func (*NatClient) BatchCreateNatGatewayDnatRulesInvoker added in v0.0.90

func (c *NatClient) BatchCreateNatGatewayDnatRulesInvoker(request *model.BatchCreateNatGatewayDnatRulesRequest) *BatchCreateNatGatewayDnatRulesInvoker

BatchCreateNatGatewayDnatRulesInvoker 批量创建DNAT规则

func (*NatClient) CreateNatGateway

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

CreateNatGateway 创建公网NAT网关

创建公网NAT网关实例。

Please refer to HUAWEI cloud API Explorer for details.

func (*NatClient) CreateNatGatewayDnatRule

CreateNatGatewayDnatRule 创建DNAT规则

创建DNAT规则。

Please refer to HUAWEI cloud API Explorer for details.

func (*NatClient) CreateNatGatewayDnatRuleInvoker added in v0.0.90

func (c *NatClient) CreateNatGatewayDnatRuleInvoker(request *model.CreateNatGatewayDnatRuleRequest) *CreateNatGatewayDnatRuleInvoker

CreateNatGatewayDnatRuleInvoker 创建DNAT规则

func (*NatClient) CreateNatGatewayInvoker added in v0.0.90

func (c *NatClient) CreateNatGatewayInvoker(request *model.CreateNatGatewayRequest) *CreateNatGatewayInvoker

CreateNatGatewayInvoker 创建公网NAT网关

func (*NatClient) CreateNatGatewaySnatRule

CreateNatGatewaySnatRule 创建SNAT规则

创建SNAT规则。

Please refer to HUAWEI cloud API Explorer for details.

func (*NatClient) CreateNatGatewaySnatRuleInvoker added in v0.0.90

func (c *NatClient) CreateNatGatewaySnatRuleInvoker(request *model.CreateNatGatewaySnatRuleRequest) *CreateNatGatewaySnatRuleInvoker

CreateNatGatewaySnatRuleInvoker 创建SNAT规则

func (*NatClient) DeleteNatGateway

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

DeleteNatGateway 删除公网NAT网关

删除公网NAT网关实例。

Please refer to HUAWEI cloud API Explorer for details.

func (*NatClient) DeleteNatGatewayDnatRule

DeleteNatGatewayDnatRule 删除DNAT规则

删除指定的DNAT规则。

Please refer to HUAWEI cloud API Explorer for details.

func (*NatClient) DeleteNatGatewayDnatRuleInvoker added in v0.0.90

func (c *NatClient) DeleteNatGatewayDnatRuleInvoker(request *model.DeleteNatGatewayDnatRuleRequest) *DeleteNatGatewayDnatRuleInvoker

DeleteNatGatewayDnatRuleInvoker 删除DNAT规则

func (*NatClient) DeleteNatGatewayInvoker added in v0.0.90

func (c *NatClient) DeleteNatGatewayInvoker(request *model.DeleteNatGatewayRequest) *DeleteNatGatewayInvoker

DeleteNatGatewayInvoker 删除公网NAT网关

func (*NatClient) DeleteNatGatewaySnatRule

DeleteNatGatewaySnatRule 删除SNAT规则

删除指定的SNAT规则。

Please refer to HUAWEI cloud API Explorer for details.

func (*NatClient) DeleteNatGatewaySnatRuleInvoker added in v0.0.90

func (c *NatClient) DeleteNatGatewaySnatRuleInvoker(request *model.DeleteNatGatewaySnatRuleRequest) *DeleteNatGatewaySnatRuleInvoker

DeleteNatGatewaySnatRuleInvoker 删除SNAT规则

func (*NatClient) ListNatGatewayDnatRules

ListNatGatewayDnatRules 查询DNAT规则列表

查询DNAT规则列表。

Please refer to HUAWEI cloud API Explorer for details.

func (*NatClient) ListNatGatewayDnatRulesInvoker added in v0.0.90

func (c *NatClient) ListNatGatewayDnatRulesInvoker(request *model.ListNatGatewayDnatRulesRequest) *ListNatGatewayDnatRulesInvoker

ListNatGatewayDnatRulesInvoker 查询DNAT规则列表

func (*NatClient) ListNatGatewaySnatRules

ListNatGatewaySnatRules 查询SNAT规则列表

查询SNAT规则列表。

Please refer to HUAWEI cloud API Explorer for details.

func (*NatClient) ListNatGatewaySnatRulesInvoker added in v0.0.90

func (c *NatClient) ListNatGatewaySnatRulesInvoker(request *model.ListNatGatewaySnatRulesRequest) *ListNatGatewaySnatRulesInvoker

ListNatGatewaySnatRulesInvoker 查询SNAT规则列表

func (*NatClient) ListNatGateways

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

ListNatGateways 查询公网NAT网关列表

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

Please refer to HUAWEI cloud API Explorer for details.

func (*NatClient) ListNatGatewaysInvoker added in v0.0.90

func (c *NatClient) ListNatGatewaysInvoker(request *model.ListNatGatewaysRequest) *ListNatGatewaysInvoker

ListNatGatewaysInvoker 查询公网NAT网关列表

func (*NatClient) ShowNatGateway

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

ShowNatGateway 查询指定的公网NAT网关详情

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

Please refer to HUAWEI cloud API Explorer for details.

func (*NatClient) ShowNatGatewayDnatRule

ShowNatGatewayDnatRule 查询指定的DNAT规则详情

查询指定的DNAT规则详情。

Please refer to HUAWEI cloud API Explorer for details.

func (*NatClient) ShowNatGatewayDnatRuleInvoker added in v0.0.90

func (c *NatClient) ShowNatGatewayDnatRuleInvoker(request *model.ShowNatGatewayDnatRuleRequest) *ShowNatGatewayDnatRuleInvoker

ShowNatGatewayDnatRuleInvoker 查询指定的DNAT规则详情

func (*NatClient) ShowNatGatewayInvoker added in v0.0.90

func (c *NatClient) ShowNatGatewayInvoker(request *model.ShowNatGatewayRequest) *ShowNatGatewayInvoker

ShowNatGatewayInvoker 查询指定的公网NAT网关详情

func (*NatClient) ShowNatGatewaySnatRule

ShowNatGatewaySnatRule 查询指定的SNAT规则详情

查询指定的SNAT规则详情。

Please refer to HUAWEI cloud API Explorer for details.

func (*NatClient) ShowNatGatewaySnatRuleInvoker added in v0.0.90

func (c *NatClient) ShowNatGatewaySnatRuleInvoker(request *model.ShowNatGatewaySnatRuleRequest) *ShowNatGatewaySnatRuleInvoker

ShowNatGatewaySnatRuleInvoker 查询指定的SNAT规则详情

func (*NatClient) UpdateNatGateway

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

UpdateNatGateway 更新公网NAT网关

更新公网NAT网关实例。

Please refer to HUAWEI cloud API Explorer for details.

func (*NatClient) UpdateNatGatewayDnatRule

UpdateNatGatewayDnatRule 更新DNAT规则

更新指定的DNAT规则。

Please refer to HUAWEI cloud API Explorer for details.

func (*NatClient) UpdateNatGatewayDnatRuleInvoker added in v0.0.90

func (c *NatClient) UpdateNatGatewayDnatRuleInvoker(request *model.UpdateNatGatewayDnatRuleRequest) *UpdateNatGatewayDnatRuleInvoker

UpdateNatGatewayDnatRuleInvoker 更新DNAT规则

func (*NatClient) UpdateNatGatewayInvoker added in v0.0.90

func (c *NatClient) UpdateNatGatewayInvoker(request *model.UpdateNatGatewayRequest) *UpdateNatGatewayInvoker

UpdateNatGatewayInvoker 更新公网NAT网关

func (*NatClient) UpdateNatGatewaySnatRule

UpdateNatGatewaySnatRule 更新SNAT规则

更新指定的SNAT规则。

Please refer to HUAWEI cloud API Explorer for details.

func (*NatClient) UpdateNatGatewaySnatRuleInvoker added in v0.0.90

func (c *NatClient) UpdateNatGatewaySnatRuleInvoker(request *model.UpdateNatGatewaySnatRuleRequest) *UpdateNatGatewaySnatRuleInvoker

UpdateNatGatewaySnatRuleInvoker 更新SNAT规则

type ShowNatGatewayDnatRuleInvoker added in v0.0.90

type ShowNatGatewayDnatRuleInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowNatGatewayDnatRuleInvoker) Invoke added in v0.0.90

type ShowNatGatewayInvoker added in v0.0.90

type ShowNatGatewayInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowNatGatewayInvoker) Invoke added in v0.0.90

type ShowNatGatewaySnatRuleInvoker added in v0.0.90

type ShowNatGatewaySnatRuleInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowNatGatewaySnatRuleInvoker) Invoke added in v0.0.90

type UpdateNatGatewayDnatRuleInvoker added in v0.0.90

type UpdateNatGatewayDnatRuleInvoker struct {
	*invoker.BaseInvoker
}

func (*UpdateNatGatewayDnatRuleInvoker) Invoke added in v0.0.90

type UpdateNatGatewayInvoker added in v0.0.90

type UpdateNatGatewayInvoker struct {
	*invoker.BaseInvoker
}

func (*UpdateNatGatewayInvoker) Invoke added in v0.0.90

type UpdateNatGatewaySnatRuleInvoker added in v0.0.90

type UpdateNatGatewaySnatRuleInvoker struct {
	*invoker.BaseInvoker
}

func (*UpdateNatGatewaySnatRuleInvoker) Invoke added in v0.0.90

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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