nat

package
v0.3.2 Latest Latest
Warning

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

Go to latest
Published: Jan 10, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateNatGateway

func CreateNatGateway(
	client *nat.NatClient, name string, spec *ccev1.CCEClusterConfigSpec,
) (*model.CreateNatGatewayResponse, error)

func CreateNatGatewaySnatRule

func CreateNatGatewaySnatRule(
	client *nat.NatClient, natID, networkID, eipID string, sourceType int32,
) (*model.CreateNatGatewaySnatRuleResponse, error)

func DeleteNatGateway

func DeleteNatGateway(
	client *nat.NatClient, id string,
) (*model.DeleteNatGatewayResponse, error)

func DeleteNatGatewaySnatRule

func DeleteNatGatewaySnatRule(
	client *nat.NatClient, snatRuleID, natGatewayID string,
) (*model.DeleteNatGatewaySnatRuleResponse, error)

func ListNatGatewaySnatRules

func ListNatGatewaySnatRules(
	client *nat.NatClient, natIDs []string,
) (*model.ListNatGatewaySnatRulesResponse, error)

func NewNatClient

func NewNatClient(auth *common.ClientAuth) *nat.NatClient

func ShowNatGateway

func ShowNatGateway(
	client *nat.NatClient, id string,
) (*model.ShowNatGatewayResponse, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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