Documentation ¶
Index ¶
- func GenReqDefForAcceptVpcPeering(request *model.AcceptVpcPeeringRequest) *def.HttpRequestDef
- func GenReqDefForCreatePort(request *model.CreatePortRequest) *def.HttpRequestDef
- func GenReqDefForCreatePrivateip(request *model.CreatePrivateipRequest) *def.HttpRequestDef
- func GenReqDefForCreateSecurityGroup(request *model.CreateSecurityGroupRequest) *def.HttpRequestDef
- func GenReqDefForCreateSecurityGroupRule(request *model.CreateSecurityGroupRuleRequest) *def.HttpRequestDef
- func GenReqDefForCreateSubnet(request *model.CreateSubnetRequest) *def.HttpRequestDef
- func GenReqDefForCreateVpc(request *model.CreateVpcRequest) *def.HttpRequestDef
- func GenReqDefForCreateVpcPeering(request *model.CreateVpcPeeringRequest) *def.HttpRequestDef
- func GenReqDefForCreateVpcRoute(request *model.CreateVpcRouteRequest) *def.HttpRequestDef
- func GenReqDefForDeletePort(request *model.DeletePortRequest) *def.HttpRequestDef
- func GenReqDefForDeletePrivateip(request *model.DeletePrivateipRequest) *def.HttpRequestDef
- func GenReqDefForDeleteSecurityGroup(request *model.DeleteSecurityGroupRequest) *def.HttpRequestDef
- func GenReqDefForDeleteSecurityGroupRule(request *model.DeleteSecurityGroupRuleRequest) *def.HttpRequestDef
- func GenReqDefForDeleteSubnet(request *model.DeleteSubnetRequest) *def.HttpRequestDef
- func GenReqDefForDeleteVpc(request *model.DeleteVpcRequest) *def.HttpRequestDef
- func GenReqDefForDeleteVpcPeering(request *model.DeleteVpcPeeringRequest) *def.HttpRequestDef
- func GenReqDefForDeleteVpcRoute(request *model.DeleteVpcRouteRequest) *def.HttpRequestDef
- func GenReqDefForListPorts(request *model.ListPortsRequest) *def.HttpRequestDef
- func GenReqDefForListPrivateips(request *model.ListPrivateipsRequest) *def.HttpRequestDef
- func GenReqDefForListSecurityGroupRules(request *model.ListSecurityGroupRulesRequest) *def.HttpRequestDef
- func GenReqDefForListSecurityGroups(request *model.ListSecurityGroupsRequest) *def.HttpRequestDef
- func GenReqDefForListSubnets(request *model.ListSubnetsRequest) *def.HttpRequestDef
- func GenReqDefForListVpcPeerings(request *model.ListVpcPeeringsRequest) *def.HttpRequestDef
- func GenReqDefForListVpcRoutes(request *model.ListVpcRoutesRequest) *def.HttpRequestDef
- func GenReqDefForListVpcs(request *model.ListVpcsRequest) *def.HttpRequestDef
- func GenReqDefForRejectVpcPeering(request *model.RejectVpcPeeringRequest) *def.HttpRequestDef
- func GenReqDefForShowNetworkIpAvailabilities(request *model.ShowNetworkIpAvailabilitiesRequest) *def.HttpRequestDef
- func GenReqDefForShowPort(request *model.ShowPortRequest) *def.HttpRequestDef
- func GenReqDefForShowPrivateip(request *model.ShowPrivateipRequest) *def.HttpRequestDef
- func GenReqDefForShowQuota(request *model.ShowQuotaRequest) *def.HttpRequestDef
- func GenReqDefForShowSecurityGroup(request *model.ShowSecurityGroupRequest) *def.HttpRequestDef
- func GenReqDefForShowSecurityGroupRule(request *model.ShowSecurityGroupRuleRequest) *def.HttpRequestDef
- func GenReqDefForShowSubnet(request *model.ShowSubnetRequest) *def.HttpRequestDef
- func GenReqDefForShowVpc(request *model.ShowVpcRequest) *def.HttpRequestDef
- func GenReqDefForShowVpcPeering(request *model.ShowVpcPeeringRequest) *def.HttpRequestDef
- func GenReqDefForShowVpcRoute(request *model.ShowVpcRouteRequest) *def.HttpRequestDef
- func GenReqDefForUpdatePort(request *model.UpdatePortRequest) *def.HttpRequestDef
- func GenReqDefForUpdateSubnet(request *model.UpdateSubnetRequest) *def.HttpRequestDef
- func GenReqDefForUpdateVpc(request *model.UpdateVpcRequest) *def.HttpRequestDef
- func GenReqDefForUpdateVpcPeering(request *model.UpdateVpcPeeringRequest) *def.HttpRequestDef
- func GenRespForAcceptVpcPeering() (*model.AcceptVpcPeeringResponse, *def.HttpResponseDef)
- func GenRespForCreatePort() (*model.CreatePortResponse, *def.HttpResponseDef)
- func GenRespForCreatePrivateip() (*model.CreatePrivateipResponse, *def.HttpResponseDef)
- func GenRespForCreateSecurityGroup() (*model.CreateSecurityGroupResponse, *def.HttpResponseDef)
- func GenRespForCreateSecurityGroupRule() (*model.CreateSecurityGroupRuleResponse, *def.HttpResponseDef)
- func GenRespForCreateSubnet() (*model.CreateSubnetResponse, *def.HttpResponseDef)
- func GenRespForCreateVpc() (*model.CreateVpcResponse, *def.HttpResponseDef)
- func GenRespForCreateVpcPeering() (*model.CreateVpcPeeringResponse, *def.HttpResponseDef)
- func GenRespForCreateVpcRoute() (*model.CreateVpcRouteResponse, *def.HttpResponseDef)
- func GenRespForDeletePort() (*model.DeletePortResponse, *def.HttpResponseDef)
- func GenRespForDeletePrivateip() (*model.DeletePrivateipResponse, *def.HttpResponseDef)
- func GenRespForDeleteSecurityGroup() (*model.DeleteSecurityGroupResponse, *def.HttpResponseDef)
- func GenRespForDeleteSecurityGroupRule() (*model.DeleteSecurityGroupRuleResponse, *def.HttpResponseDef)
- func GenRespForDeleteSubnet() (*model.DeleteSubnetResponse, *def.HttpResponseDef)
- func GenRespForDeleteVpc() (*model.DeleteVpcResponse, *def.HttpResponseDef)
- func GenRespForDeleteVpcPeering() (*model.DeleteVpcPeeringResponse, *def.HttpResponseDef)
- func GenRespForDeleteVpcRoute() (*model.DeleteVpcRouteResponse, *def.HttpResponseDef)
- func GenRespForListPorts() (*model.ListPortsResponse, *def.HttpResponseDef)
- func GenRespForListPrivateips() (*model.ListPrivateipsResponse, *def.HttpResponseDef)
- func GenRespForListSecurityGroupRules() (*model.ListSecurityGroupRulesResponse, *def.HttpResponseDef)
- func GenRespForListSecurityGroups() (*model.ListSecurityGroupsResponse, *def.HttpResponseDef)
- func GenRespForListSubnets() (*model.ListSubnetsResponse, *def.HttpResponseDef)
- func GenRespForListVpcPeerings() (*model.ListVpcPeeringsResponse, *def.HttpResponseDef)
- func GenRespForListVpcRoutes() (*model.ListVpcRoutesResponse, *def.HttpResponseDef)
- func GenRespForListVpcs() (*model.ListVpcsResponse, *def.HttpResponseDef)
- func GenRespForRejectVpcPeering() (*model.RejectVpcPeeringResponse, *def.HttpResponseDef)
- func GenRespForShowNetworkIpAvailabilities() (*model.ShowNetworkIpAvailabilitiesResponse, *def.HttpResponseDef)
- func GenRespForShowPort() (*model.ShowPortResponse, *def.HttpResponseDef)
- func GenRespForShowPrivateip() (*model.ShowPrivateipResponse, *def.HttpResponseDef)
- func GenRespForShowQuota() (*model.ShowQuotaResponse, *def.HttpResponseDef)
- func GenRespForShowSecurityGroup() (*model.ShowSecurityGroupResponse, *def.HttpResponseDef)
- func GenRespForShowSecurityGroupRule() (*model.ShowSecurityGroupRuleResponse, *def.HttpResponseDef)
- func GenRespForShowSubnet() (*model.ShowSubnetResponse, *def.HttpResponseDef)
- func GenRespForShowVpc() (*model.ShowVpcResponse, *def.HttpResponseDef)
- func GenRespForShowVpcPeering() (*model.ShowVpcPeeringResponse, *def.HttpResponseDef)
- func GenRespForShowVpcRoute() (*model.ShowVpcRouteResponse, *def.HttpResponseDef)
- func GenRespForUpdatePort() (*model.UpdatePortResponse, *def.HttpResponseDef)
- func GenRespForUpdateSubnet() (*model.UpdateSubnetResponse, *def.HttpResponseDef)
- func GenRespForUpdateVpc() (*model.UpdateVpcResponse, *def.HttpResponseDef)
- func GenRespForUpdateVpcPeering() (*model.UpdateVpcPeeringResponse, *def.HttpResponseDef)
- func VpcClientBuilder() *http_client.HcHttpClientBuilder
- type VpcClient
- func (c *VpcClient) AcceptVpcPeering(request *model.AcceptVpcPeeringRequest) (*model.AcceptVpcPeeringResponse, error)
- func (c *VpcClient) CreatePort(request *model.CreatePortRequest) (*model.CreatePortResponse, error)
- func (c *VpcClient) CreatePrivateip(request *model.CreatePrivateipRequest) (*model.CreatePrivateipResponse, error)
- func (c *VpcClient) CreateSecurityGroup(request *model.CreateSecurityGroupRequest) (*model.CreateSecurityGroupResponse, error)
- func (c *VpcClient) CreateSecurityGroupRule(request *model.CreateSecurityGroupRuleRequest) (*model.CreateSecurityGroupRuleResponse, error)
- func (c *VpcClient) CreateSubnet(request *model.CreateSubnetRequest) (*model.CreateSubnetResponse, error)
- func (c *VpcClient) CreateVpc(request *model.CreateVpcRequest) (*model.CreateVpcResponse, error)
- func (c *VpcClient) CreateVpcPeering(request *model.CreateVpcPeeringRequest) (*model.CreateVpcPeeringResponse, error)
- func (c *VpcClient) CreateVpcRoute(request *model.CreateVpcRouteRequest) (*model.CreateVpcRouteResponse, error)
- func (c *VpcClient) DeletePort(request *model.DeletePortRequest) (*model.DeletePortResponse, error)
- func (c *VpcClient) DeletePrivateip(request *model.DeletePrivateipRequest) (*model.DeletePrivateipResponse, error)
- func (c *VpcClient) DeleteSecurityGroup(request *model.DeleteSecurityGroupRequest) (*model.DeleteSecurityGroupResponse, error)
- func (c *VpcClient) DeleteSecurityGroupRule(request *model.DeleteSecurityGroupRuleRequest) (*model.DeleteSecurityGroupRuleResponse, error)
- func (c *VpcClient) DeleteSubnet(request *model.DeleteSubnetRequest) (*model.DeleteSubnetResponse, error)
- func (c *VpcClient) DeleteVpc(request *model.DeleteVpcRequest) (*model.DeleteVpcResponse, error)
- func (c *VpcClient) DeleteVpcPeering(request *model.DeleteVpcPeeringRequest) (*model.DeleteVpcPeeringResponse, error)
- func (c *VpcClient) DeleteVpcRoute(request *model.DeleteVpcRouteRequest) (*model.DeleteVpcRouteResponse, error)
- func (c *VpcClient) ListPorts(request *model.ListPortsRequest) (*model.ListPortsResponse, error)
- func (c *VpcClient) ListPrivateips(request *model.ListPrivateipsRequest) (*model.ListPrivateipsResponse, error)
- func (c *VpcClient) ListSecurityGroupRules(request *model.ListSecurityGroupRulesRequest) (*model.ListSecurityGroupRulesResponse, error)
- func (c *VpcClient) ListSecurityGroups(request *model.ListSecurityGroupsRequest) (*model.ListSecurityGroupsResponse, error)
- func (c *VpcClient) ListSubnets(request *model.ListSubnetsRequest) (*model.ListSubnetsResponse, error)
- func (c *VpcClient) ListVpcPeerings(request *model.ListVpcPeeringsRequest) (*model.ListVpcPeeringsResponse, error)
- func (c *VpcClient) ListVpcRoutes(request *model.ListVpcRoutesRequest) (*model.ListVpcRoutesResponse, error)
- func (c *VpcClient) ListVpcs(request *model.ListVpcsRequest) (*model.ListVpcsResponse, error)
- func (c *VpcClient) RejectVpcPeering(request *model.RejectVpcPeeringRequest) (*model.RejectVpcPeeringResponse, error)
- func (c *VpcClient) ShowNetworkIpAvailabilities(request *model.ShowNetworkIpAvailabilitiesRequest) (*model.ShowNetworkIpAvailabilitiesResponse, error)
- func (c *VpcClient) ShowPort(request *model.ShowPortRequest) (*model.ShowPortResponse, error)
- func (c *VpcClient) ShowPrivateip(request *model.ShowPrivateipRequest) (*model.ShowPrivateipResponse, error)
- func (c *VpcClient) ShowQuota(request *model.ShowQuotaRequest) (*model.ShowQuotaResponse, error)
- func (c *VpcClient) ShowSecurityGroup(request *model.ShowSecurityGroupRequest) (*model.ShowSecurityGroupResponse, error)
- func (c *VpcClient) ShowSecurityGroupRule(request *model.ShowSecurityGroupRuleRequest) (*model.ShowSecurityGroupRuleResponse, error)
- func (c *VpcClient) ShowSubnet(request *model.ShowSubnetRequest) (*model.ShowSubnetResponse, error)
- func (c *VpcClient) ShowVpc(request *model.ShowVpcRequest) (*model.ShowVpcResponse, error)
- func (c *VpcClient) ShowVpcPeering(request *model.ShowVpcPeeringRequest) (*model.ShowVpcPeeringResponse, error)
- func (c *VpcClient) ShowVpcRoute(request *model.ShowVpcRouteRequest) (*model.ShowVpcRouteResponse, error)
- func (c *VpcClient) UpdatePort(request *model.UpdatePortRequest) (*model.UpdatePortResponse, error)
- func (c *VpcClient) UpdateSubnet(request *model.UpdateSubnetRequest) (*model.UpdateSubnetResponse, error)
- func (c *VpcClient) UpdateVpc(request *model.UpdateVpcRequest) (*model.UpdateVpcResponse, error)
- func (c *VpcClient) UpdateVpcPeering(request *model.UpdateVpcPeeringRequest) (*model.UpdateVpcPeeringResponse, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenReqDefForAcceptVpcPeering ¶
func GenReqDefForAcceptVpcPeering(request *model.AcceptVpcPeeringRequest) *def.HttpRequestDef
func GenReqDefForCreatePort ¶
func GenReqDefForCreatePort(request *model.CreatePortRequest) *def.HttpRequestDef
func GenReqDefForCreatePrivateip ¶
func GenReqDefForCreatePrivateip(request *model.CreatePrivateipRequest) *def.HttpRequestDef
func GenReqDefForCreateSecurityGroup ¶
func GenReqDefForCreateSecurityGroup(request *model.CreateSecurityGroupRequest) *def.HttpRequestDef
func GenReqDefForCreateSecurityGroupRule ¶
func GenReqDefForCreateSecurityGroupRule(request *model.CreateSecurityGroupRuleRequest) *def.HttpRequestDef
func GenReqDefForCreateSubnet ¶
func GenReqDefForCreateSubnet(request *model.CreateSubnetRequest) *def.HttpRequestDef
func GenReqDefForCreateVpc ¶
func GenReqDefForCreateVpc(request *model.CreateVpcRequest) *def.HttpRequestDef
func GenReqDefForCreateVpcPeering ¶
func GenReqDefForCreateVpcPeering(request *model.CreateVpcPeeringRequest) *def.HttpRequestDef
func GenReqDefForCreateVpcRoute ¶
func GenReqDefForCreateVpcRoute(request *model.CreateVpcRouteRequest) *def.HttpRequestDef
func GenReqDefForDeletePort ¶
func GenReqDefForDeletePort(request *model.DeletePortRequest) *def.HttpRequestDef
func GenReqDefForDeletePrivateip ¶
func GenReqDefForDeletePrivateip(request *model.DeletePrivateipRequest) *def.HttpRequestDef
func GenReqDefForDeleteSecurityGroup ¶
func GenReqDefForDeleteSecurityGroup(request *model.DeleteSecurityGroupRequest) *def.HttpRequestDef
func GenReqDefForDeleteSecurityGroupRule ¶
func GenReqDefForDeleteSecurityGroupRule(request *model.DeleteSecurityGroupRuleRequest) *def.HttpRequestDef
func GenReqDefForDeleteSubnet ¶
func GenReqDefForDeleteSubnet(request *model.DeleteSubnetRequest) *def.HttpRequestDef
func GenReqDefForDeleteVpc ¶
func GenReqDefForDeleteVpc(request *model.DeleteVpcRequest) *def.HttpRequestDef
func GenReqDefForDeleteVpcPeering ¶
func GenReqDefForDeleteVpcPeering(request *model.DeleteVpcPeeringRequest) *def.HttpRequestDef
func GenReqDefForDeleteVpcRoute ¶
func GenReqDefForDeleteVpcRoute(request *model.DeleteVpcRouteRequest) *def.HttpRequestDef
func GenReqDefForListPorts ¶
func GenReqDefForListPorts(request *model.ListPortsRequest) *def.HttpRequestDef
func GenReqDefForListPrivateips ¶
func GenReqDefForListPrivateips(request *model.ListPrivateipsRequest) *def.HttpRequestDef
func GenReqDefForListSecurityGroupRules ¶
func GenReqDefForListSecurityGroupRules(request *model.ListSecurityGroupRulesRequest) *def.HttpRequestDef
func GenReqDefForListSecurityGroups ¶
func GenReqDefForListSecurityGroups(request *model.ListSecurityGroupsRequest) *def.HttpRequestDef
func GenReqDefForListSubnets ¶
func GenReqDefForListSubnets(request *model.ListSubnetsRequest) *def.HttpRequestDef
func GenReqDefForListVpcPeerings ¶
func GenReqDefForListVpcPeerings(request *model.ListVpcPeeringsRequest) *def.HttpRequestDef
func GenReqDefForListVpcRoutes ¶
func GenReqDefForListVpcRoutes(request *model.ListVpcRoutesRequest) *def.HttpRequestDef
func GenReqDefForListVpcs ¶
func GenReqDefForListVpcs(request *model.ListVpcsRequest) *def.HttpRequestDef
func GenReqDefForRejectVpcPeering ¶
func GenReqDefForRejectVpcPeering(request *model.RejectVpcPeeringRequest) *def.HttpRequestDef
func GenReqDefForShowNetworkIpAvailabilities ¶
func GenReqDefForShowNetworkIpAvailabilities(request *model.ShowNetworkIpAvailabilitiesRequest) *def.HttpRequestDef
func GenReqDefForShowPort ¶
func GenReqDefForShowPort(request *model.ShowPortRequest) *def.HttpRequestDef
func GenReqDefForShowPrivateip ¶
func GenReqDefForShowPrivateip(request *model.ShowPrivateipRequest) *def.HttpRequestDef
func GenReqDefForShowQuota ¶
func GenReqDefForShowQuota(request *model.ShowQuotaRequest) *def.HttpRequestDef
func GenReqDefForShowSecurityGroup ¶
func GenReqDefForShowSecurityGroup(request *model.ShowSecurityGroupRequest) *def.HttpRequestDef
func GenReqDefForShowSecurityGroupRule ¶
func GenReqDefForShowSecurityGroupRule(request *model.ShowSecurityGroupRuleRequest) *def.HttpRequestDef
func GenReqDefForShowSubnet ¶
func GenReqDefForShowSubnet(request *model.ShowSubnetRequest) *def.HttpRequestDef
func GenReqDefForShowVpc ¶
func GenReqDefForShowVpc(request *model.ShowVpcRequest) *def.HttpRequestDef
func GenReqDefForShowVpcPeering ¶
func GenReqDefForShowVpcPeering(request *model.ShowVpcPeeringRequest) *def.HttpRequestDef
func GenReqDefForShowVpcRoute ¶
func GenReqDefForShowVpcRoute(request *model.ShowVpcRouteRequest) *def.HttpRequestDef
func GenReqDefForUpdatePort ¶
func GenReqDefForUpdatePort(request *model.UpdatePortRequest) *def.HttpRequestDef
func GenReqDefForUpdateSubnet ¶
func GenReqDefForUpdateSubnet(request *model.UpdateSubnetRequest) *def.HttpRequestDef
func GenReqDefForUpdateVpc ¶
func GenReqDefForUpdateVpc(request *model.UpdateVpcRequest) *def.HttpRequestDef
func GenReqDefForUpdateVpcPeering ¶
func GenReqDefForUpdateVpcPeering(request *model.UpdateVpcPeeringRequest) *def.HttpRequestDef
func GenRespForAcceptVpcPeering ¶
func GenRespForAcceptVpcPeering() (*model.AcceptVpcPeeringResponse, *def.HttpResponseDef)
func GenRespForCreatePort ¶
func GenRespForCreatePort() (*model.CreatePortResponse, *def.HttpResponseDef)
func GenRespForCreatePrivateip ¶
func GenRespForCreatePrivateip() (*model.CreatePrivateipResponse, *def.HttpResponseDef)
func GenRespForCreateSecurityGroup ¶
func GenRespForCreateSecurityGroup() (*model.CreateSecurityGroupResponse, *def.HttpResponseDef)
func GenRespForCreateSecurityGroupRule ¶
func GenRespForCreateSecurityGroupRule() (*model.CreateSecurityGroupRuleResponse, *def.HttpResponseDef)
func GenRespForCreateSubnet ¶
func GenRespForCreateSubnet() (*model.CreateSubnetResponse, *def.HttpResponseDef)
func GenRespForCreateVpc ¶
func GenRespForCreateVpc() (*model.CreateVpcResponse, *def.HttpResponseDef)
func GenRespForCreateVpcPeering ¶
func GenRespForCreateVpcPeering() (*model.CreateVpcPeeringResponse, *def.HttpResponseDef)
func GenRespForCreateVpcRoute ¶
func GenRespForCreateVpcRoute() (*model.CreateVpcRouteResponse, *def.HttpResponseDef)
func GenRespForDeletePort ¶
func GenRespForDeletePort() (*model.DeletePortResponse, *def.HttpResponseDef)
func GenRespForDeletePrivateip ¶
func GenRespForDeletePrivateip() (*model.DeletePrivateipResponse, *def.HttpResponseDef)
func GenRespForDeleteSecurityGroup ¶
func GenRespForDeleteSecurityGroup() (*model.DeleteSecurityGroupResponse, *def.HttpResponseDef)
func GenRespForDeleteSecurityGroupRule ¶
func GenRespForDeleteSecurityGroupRule() (*model.DeleteSecurityGroupRuleResponse, *def.HttpResponseDef)
func GenRespForDeleteSubnet ¶
func GenRespForDeleteSubnet() (*model.DeleteSubnetResponse, *def.HttpResponseDef)
func GenRespForDeleteVpc ¶
func GenRespForDeleteVpc() (*model.DeleteVpcResponse, *def.HttpResponseDef)
func GenRespForDeleteVpcPeering ¶
func GenRespForDeleteVpcPeering() (*model.DeleteVpcPeeringResponse, *def.HttpResponseDef)
func GenRespForDeleteVpcRoute ¶
func GenRespForDeleteVpcRoute() (*model.DeleteVpcRouteResponse, *def.HttpResponseDef)
func GenRespForListPorts ¶
func GenRespForListPorts() (*model.ListPortsResponse, *def.HttpResponseDef)
func GenRespForListPrivateips ¶
func GenRespForListPrivateips() (*model.ListPrivateipsResponse, *def.HttpResponseDef)
func GenRespForListSecurityGroupRules ¶
func GenRespForListSecurityGroupRules() (*model.ListSecurityGroupRulesResponse, *def.HttpResponseDef)
func GenRespForListSecurityGroups ¶
func GenRespForListSecurityGroups() (*model.ListSecurityGroupsResponse, *def.HttpResponseDef)
func GenRespForListSubnets ¶
func GenRespForListSubnets() (*model.ListSubnetsResponse, *def.HttpResponseDef)
func GenRespForListVpcPeerings ¶
func GenRespForListVpcPeerings() (*model.ListVpcPeeringsResponse, *def.HttpResponseDef)
func GenRespForListVpcRoutes ¶
func GenRespForListVpcRoutes() (*model.ListVpcRoutesResponse, *def.HttpResponseDef)
func GenRespForListVpcs ¶
func GenRespForListVpcs() (*model.ListVpcsResponse, *def.HttpResponseDef)
func GenRespForRejectVpcPeering ¶
func GenRespForRejectVpcPeering() (*model.RejectVpcPeeringResponse, *def.HttpResponseDef)
func GenRespForShowNetworkIpAvailabilities ¶
func GenRespForShowNetworkIpAvailabilities() (*model.ShowNetworkIpAvailabilitiesResponse, *def.HttpResponseDef)
func GenRespForShowPort ¶
func GenRespForShowPort() (*model.ShowPortResponse, *def.HttpResponseDef)
func GenRespForShowPrivateip ¶
func GenRespForShowPrivateip() (*model.ShowPrivateipResponse, *def.HttpResponseDef)
func GenRespForShowQuota ¶
func GenRespForShowQuota() (*model.ShowQuotaResponse, *def.HttpResponseDef)
func GenRespForShowSecurityGroup ¶
func GenRespForShowSecurityGroup() (*model.ShowSecurityGroupResponse, *def.HttpResponseDef)
func GenRespForShowSecurityGroupRule ¶
func GenRespForShowSecurityGroupRule() (*model.ShowSecurityGroupRuleResponse, *def.HttpResponseDef)
func GenRespForShowSubnet ¶
func GenRespForShowSubnet() (*model.ShowSubnetResponse, *def.HttpResponseDef)
func GenRespForShowVpc ¶
func GenRespForShowVpc() (*model.ShowVpcResponse, *def.HttpResponseDef)
func GenRespForShowVpcPeering ¶
func GenRespForShowVpcPeering() (*model.ShowVpcPeeringResponse, *def.HttpResponseDef)
func GenRespForShowVpcRoute ¶
func GenRespForShowVpcRoute() (*model.ShowVpcRouteResponse, *def.HttpResponseDef)
func GenRespForUpdatePort ¶
func GenRespForUpdatePort() (*model.UpdatePortResponse, *def.HttpResponseDef)
func GenRespForUpdateSubnet ¶
func GenRespForUpdateSubnet() (*model.UpdateSubnetResponse, *def.HttpResponseDef)
func GenRespForUpdateVpc ¶
func GenRespForUpdateVpc() (*model.UpdateVpcResponse, *def.HttpResponseDef)
func GenRespForUpdateVpcPeering ¶
func GenRespForUpdateVpcPeering() (*model.UpdateVpcPeeringResponse, *def.HttpResponseDef)
func VpcClientBuilder ¶
func VpcClientBuilder() *http_client.HcHttpClientBuilder
Types ¶
type VpcClient ¶
type VpcClient struct {
// contains filtered or unexported fields
}
func NewVpcClient ¶
func NewVpcClient(hcClient *http_client.HcHttpClient) *VpcClient
func (*VpcClient) AcceptVpcPeering ¶
func (c *VpcClient) AcceptVpcPeering(request *model.AcceptVpcPeeringRequest) (*model.AcceptVpcPeeringResponse, error)
租户A名下的VPC申请和租户B的VPC建立对等连接,需要等待租户B接受该请求。此接口用于租户接受其他租户发起的对等连接请求。
func (*VpcClient) CreatePort ¶
func (c *VpcClient) CreatePort(request *model.CreatePortRequest) (*model.CreatePortResponse, error)
创建端口。
func (*VpcClient) CreatePrivateip ¶
func (c *VpcClient) CreatePrivateip(request *model.CreatePrivateipRequest) (*model.CreatePrivateipResponse, error)
申请私有IP。
func (*VpcClient) CreateSecurityGroup ¶
func (c *VpcClient) CreateSecurityGroup(request *model.CreateSecurityGroupRequest) (*model.CreateSecurityGroupResponse, error)
创建安全组。
func (*VpcClient) CreateSecurityGroupRule ¶
func (c *VpcClient) CreateSecurityGroupRule(request *model.CreateSecurityGroupRuleRequest) (*model.CreateSecurityGroupRuleResponse, error)
创建安全组规则。
func (*VpcClient) CreateSubnet ¶
func (c *VpcClient) CreateSubnet(request *model.CreateSubnetRequest) (*model.CreateSubnetResponse, error)
创建子网。
func (*VpcClient) CreateVpc ¶
func (c *VpcClient) CreateVpc(request *model.CreateVpcRequest) (*model.CreateVpcResponse, error)
创建虚拟私有云。
func (*VpcClient) CreateVpcPeering ¶
func (c *VpcClient) CreateVpcPeering(request *model.CreateVpcPeeringRequest) (*model.CreateVpcPeeringResponse, error)
创建对等连接。
func (*VpcClient) CreateVpcRoute ¶
func (c *VpcClient) CreateVpcRoute(request *model.CreateVpcRouteRequest) (*model.CreateVpcRouteResponse, error)
创建路由
func (*VpcClient) DeletePort ¶
func (c *VpcClient) DeletePort(request *model.DeletePortRequest) (*model.DeletePortResponse, error)
删除端口。
func (*VpcClient) DeletePrivateip ¶
func (c *VpcClient) DeletePrivateip(request *model.DeletePrivateipRequest) (*model.DeletePrivateipResponse, error)
删除私有IP。
func (*VpcClient) DeleteSecurityGroup ¶
func (c *VpcClient) DeleteSecurityGroup(request *model.DeleteSecurityGroupRequest) (*model.DeleteSecurityGroupResponse, error)
删除安全组。
func (*VpcClient) DeleteSecurityGroupRule ¶
func (c *VpcClient) DeleteSecurityGroupRule(request *model.DeleteSecurityGroupRuleRequest) (*model.DeleteSecurityGroupRuleResponse, error)
删除安全组规则。
func (*VpcClient) DeleteSubnet ¶
func (c *VpcClient) DeleteSubnet(request *model.DeleteSubnetRequest) (*model.DeleteSubnetResponse, error)
删除子网
func (*VpcClient) DeleteVpc ¶
func (c *VpcClient) DeleteVpc(request *model.DeleteVpcRequest) (*model.DeleteVpcResponse, error)
删除虚拟私有云。
func (*VpcClient) DeleteVpcPeering ¶
func (c *VpcClient) DeleteVpcPeering(request *model.DeleteVpcPeeringRequest) (*model.DeleteVpcPeeringResponse, error)
删除对等连接。 可以在在本端或对端任何一端删除对等连接。
func (*VpcClient) DeleteVpcRoute ¶
func (c *VpcClient) DeleteVpcRoute(request *model.DeleteVpcRouteRequest) (*model.DeleteVpcRouteResponse, error)
删除路由
func (*VpcClient) ListPorts ¶
func (c *VpcClient) ListPorts(request *model.ListPortsRequest) (*model.ListPortsResponse, error)
查询提交请求的租户的所有端口,单次查询最多返回2000条数据。
func (*VpcClient) ListPrivateips ¶
func (c *VpcClient) ListPrivateips(request *model.ListPrivateipsRequest) (*model.ListPrivateipsResponse, error)
查询指定子网下的私有IP列表。
func (*VpcClient) ListSecurityGroupRules ¶
func (c *VpcClient) ListSecurityGroupRules(request *model.ListSecurityGroupRulesRequest) (*model.ListSecurityGroupRulesResponse, error)
查询安全组规则列表。
func (*VpcClient) ListSecurityGroups ¶
func (c *VpcClient) ListSecurityGroups(request *model.ListSecurityGroupsRequest) (*model.ListSecurityGroupsResponse, error)
查询安全组列表
func (*VpcClient) ListSubnets ¶
func (c *VpcClient) ListSubnets(request *model.ListSubnetsRequest) (*model.ListSubnetsResponse, error)
查询子网列表
func (*VpcClient) ListVpcPeerings ¶
func (c *VpcClient) ListVpcPeerings(request *model.ListVpcPeeringsRequest) (*model.ListVpcPeeringsResponse, error)
查询提交请求的租户的所有对等连接。根据过滤条件进行过滤。
func (*VpcClient) ListVpcRoutes ¶
func (c *VpcClient) ListVpcRoutes(request *model.ListVpcRoutesRequest) (*model.ListVpcRoutesResponse, error)
查询提交请求的租户的所有路由列表,并根据过滤条件进行过滤。
func (*VpcClient) ListVpcs ¶
func (c *VpcClient) ListVpcs(request *model.ListVpcsRequest) (*model.ListVpcsResponse, error)
查询虚拟私有云列表。
func (*VpcClient) RejectVpcPeering ¶
func (c *VpcClient) RejectVpcPeering(request *model.RejectVpcPeeringRequest) (*model.RejectVpcPeeringResponse, error)
租户A名下的VPC申请和租户B的VPC建立对等连接,需要等待租户B接受该请求。此接口用于租户拒绝其他租户发起的对等连接请求。
func (*VpcClient) ShowNetworkIpAvailabilities ¶
func (c *VpcClient) ShowNetworkIpAvailabilities(request *model.ShowNetworkIpAvailabilitiesRequest) (*model.ShowNetworkIpAvailabilitiesResponse, error)
显示一个指定网络中的IPv4地址使用情况。 包括此网络中的IP总数以及已用IP总数,以及网络下每一个子网的IP地址总数和可用IP地址总数。 > 须知 - 系统预留地址指的是子网的第1个以及最后4个地址,一般用于网关、DHCP等服务。 - 这里以及下文描述的IP地址总数、已用IP地址总数不包含系统预留地址。 - 在分配IP时,用户可以指定系统预留的IP地址。但是不论IP是如何分配的,只要是处于系统预留IP地址段的IP均不会被统计到已用IP地址数目和IP地址总数中。
func (*VpcClient) ShowPort ¶
func (c *VpcClient) ShowPort(request *model.ShowPortRequest) (*model.ShowPortResponse, error)
查询单个端口详情。
func (*VpcClient) ShowPrivateip ¶
func (c *VpcClient) ShowPrivateip(request *model.ShowPrivateipRequest) (*model.ShowPrivateipResponse, error)
指定ID查询私有IP。
func (*VpcClient) ShowQuota ¶
func (c *VpcClient) ShowQuota(request *model.ShowQuotaRequest) (*model.ShowQuotaResponse, error)
查询单租户在VPC服务下的网络资源配额,包括vpc配额、子网配额、安全组配额、安全组规则配额、弹性公网IP配额,vpn配额等。
func (*VpcClient) ShowSecurityGroup ¶
func (c *VpcClient) ShowSecurityGroup(request *model.ShowSecurityGroupRequest) (*model.ShowSecurityGroupResponse, error)
查询单个安全组详情。
func (*VpcClient) ShowSecurityGroupRule ¶
func (c *VpcClient) ShowSecurityGroupRule(request *model.ShowSecurityGroupRuleRequest) (*model.ShowSecurityGroupRuleResponse, error)
查询单个安全组规则详情
func (*VpcClient) ShowSubnet ¶
func (c *VpcClient) ShowSubnet(request *model.ShowSubnetRequest) (*model.ShowSubnetResponse, error)
查询子网详情。
func (*VpcClient) ShowVpc ¶
func (c *VpcClient) ShowVpc(request *model.ShowVpcRequest) (*model.ShowVpcResponse, error)
查询虚拟私有云。
func (*VpcClient) ShowVpcPeering ¶
func (c *VpcClient) ShowVpcPeering(request *model.ShowVpcPeeringRequest) (*model.ShowVpcPeeringResponse, error)
查询对等连接详情。
func (*VpcClient) ShowVpcRoute ¶
func (c *VpcClient) ShowVpcRoute(request *model.ShowVpcRouteRequest) (*model.ShowVpcRouteResponse, error)
查询路由详情
func (*VpcClient) UpdatePort ¶
func (c *VpcClient) UpdatePort(request *model.UpdatePortRequest) (*model.UpdatePortResponse, error)
更新端口。
func (*VpcClient) UpdateSubnet ¶
func (c *VpcClient) UpdateSubnet(request *model.UpdateSubnetRequest) (*model.UpdateSubnetResponse, error)
更新子网。
func (*VpcClient) UpdateVpc ¶
func (c *VpcClient) UpdateVpc(request *model.UpdateVpcRequest) (*model.UpdateVpcResponse, error)
更新虚拟私有云。
func (*VpcClient) UpdateVpcPeering ¶
func (c *VpcClient) UpdateVpcPeering(request *model.UpdateVpcPeeringRequest) (*model.UpdateVpcPeeringResponse, error)
更新对等连接。