Documentation ¶
Index ¶
- Variables
- func CreatePublicIP(client *eip.EipClient, param *ccev1.CCEClusterPublicIP) (*eip_model.CreatePublicipResponse, error)
- func CreateSubnet(client *vpc.VpcClient, name, vpcID, pDNS, sDNS string) (*vpc_model.CreateSubnetResponse, error)
- func CreateVPC(client *vpc.VpcClient, name, cidr string) (*vpc_model.CreateVpcResponse, error)
- func DeletePublicIP(client *eip.EipClient, ID string) (*eip_model.DeletePublicipResponse, error)
- func DeleteRoute(client *vpc.VpcClient, RouteID string) (*vpc_model.DeleteVpcRouteResponse, error)
- func DeleteSubnet(client *vpc.VpcClient, vpcID string, subnetID string) (*vpc_model.DeleteSubnetResponse, error)
- func DeleteVPC(client *vpc.VpcClient, ID string) (*vpc_model.DeleteVpcResponse, error)
- func DeleteVpcepService(client *vpcep.VpcepClient, ID string) (*vpcep_model.DeleteEndpointServiceResponse, error)
- func GetPublicIP(client *eip.EipClient, ID string) (*eip_model.ShowPublicipResponse, error)
- func GetRouteTables(client *vpc.VpcClient, RtID, VpcID, SubnetID string) (*vpc_model.ListRouteTablesResponse, error)
- func GetSubnet(client *vpc.VpcClient, ID string) (*vpc_model.ShowSubnetResponse, error)
- func GetVPC(client *vpc.VpcClient, ID string) (*vpc_model.ShowVpcResponse, error)
- func GetVpcRoute(client *vpc.VpcClient, RouteID string) (*vpc_model.ShowVpcRouteResponse, error)
- func GetVpcRoutes(client *vpc.VpcClient, vpcID string) (*vpc_model.ListVpcRoutesResponse, error)
- func GetVpcepService(client *vpcep.VpcepClient, svcID string) (*vpcep_model.ListServiceDetailsResponse, error)
- func GetVpcepServices(client *vpcep.VpcepClient, svcID string) (*vpcep_model.ListEndpointServiceResponse, error)
- func ListNameServers(client *dns.DnsClient, region string) (*dns_model.ListNameServersResponse, error)
- func ListSecurityGroups(client *vpc.VpcClient, vpcID string) (*vpc_model.ListSecurityGroupsResponse, error)
- func NewDnsClient(c *common.ClientAuth) *dns.DnsClient
- func NewEipClient(c *common.ClientAuth) *eip.EipClient
- func NewVpcClient(c *common.ClientAuth) *vpc.VpcClient
- func NewVpcepClient(c *common.ClientAuth) *vpcep.VpcepClient
Constants ¶
This section is empty.
Variables ¶
View Source
var ( DefaultVpcCIDR = "10.10.0.0/16" DefaultSubnetCIDR = "10.10.0.0/16" DefaultSubnetGateway = "10.10.0.1" DefaultContainerNetworkMode = "eni" DefaultContainerNetworkCIDR = "10.101.0.0/16" )
Functions ¶
func CreatePublicIP ¶
func CreatePublicIP( client *eip.EipClient, param *ccev1.CCEClusterPublicIP, ) (*eip_model.CreatePublicipResponse, error)
func CreateSubnet ¶
func DeletePublicIP ¶
func DeleteRoute ¶
func DeleteSubnet ¶
func DeleteVpcepService ¶
func DeleteVpcepService(client *vpcep.VpcepClient, ID string) (*vpcep_model.DeleteEndpointServiceResponse, error)
func GetPublicIP ¶
func GetRouteTables ¶
func GetVpcRoute ¶
func GetVpcRoutes ¶
func GetVpcepService ¶
func GetVpcepService(client *vpcep.VpcepClient, svcID string) (*vpcep_model.ListServiceDetailsResponse, error)
func GetVpcepServices ¶
func GetVpcepServices( client *vpcep.VpcepClient, svcID string, ) (*vpcep_model.ListEndpointServiceResponse, error)
func ListNameServers ¶
func ListSecurityGroups ¶
func NewDnsClient ¶
func NewDnsClient(c *common.ClientAuth) *dns.DnsClient
func NewEipClient ¶
func NewEipClient(c *common.ClientAuth) *eip.EipClient
func NewVpcClient ¶
func NewVpcClient(c *common.ClientAuth) *vpc.VpcClient
func NewVpcepClient ¶
func NewVpcepClient(c *common.ClientAuth) *vpcep.VpcepClient
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.