Documentation ¶
Index ¶
- func CreateNatGateway(client *nat.NatClient, name string, spec *ccev1.CCEClusterConfigSpec) (*model.CreateNatGatewayResponse, error)
- func CreateNatGatewaySnatRule(client *nat.NatClient, natID, networkID, eipID string, sourceType int32) (*model.CreateNatGatewaySnatRuleResponse, error)
- func DeleteNatGateway(client *nat.NatClient, id string) (*model.DeleteNatGatewayResponse, error)
- func DeleteNatGatewaySnatRule(client *nat.NatClient, snatRuleID, natGatewayID string) (*model.DeleteNatGatewaySnatRuleResponse, error)
- func ListNatGatewaySnatRules(client *nat.NatClient, natIDs []string) (*model.ListNatGatewaySnatRulesResponse, error)
- func NewNatClient(auth *common.ClientAuth) *nat.NatClient
- func ShowNatGateway(client *nat.NatClient, id string) (*model.ShowNatGatewayResponse, error)
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 DeleteNatGateway ¶
func ListNatGatewaySnatRules ¶
func NewNatClient ¶
func NewNatClient(auth *common.ClientAuth) *nat.NatClient
func ShowNatGateway ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.