Documentation ¶
Index ¶
- func AttachFloatingIPFailErrMocked(t *testing.T, floatingIPIn *types.FloatingIP) *types.Server
- func AttachFloatingIPFailJSONMocked(t *testing.T, floatingIPIn *types.FloatingIP) *types.Server
- func AttachFloatingIPFailStatusMocked(t *testing.T, floatingIPIn *types.FloatingIP) *types.Server
- func AttachFloatingIPMocked(t *testing.T, floatingIPIn *types.FloatingIP) *types.Server
- func CreateFirewallProfileFailErrMocked(t *testing.T, firewallProfileIn *types.FirewallProfile) *types.FirewallProfile
- func CreateFirewallProfileFailJSONMocked(t *testing.T, firewallProfileIn *types.FirewallProfile) *types.FirewallProfile
- func CreateFirewallProfileFailStatusMocked(t *testing.T, firewallProfileIn *types.FirewallProfile) *types.FirewallProfile
- func CreateFirewallProfileMocked(t *testing.T, firewallProfileIn *types.FirewallProfile) *types.FirewallProfile
- func CreateFloatingIPFailErrMocked(t *testing.T, floatingIPIn *types.FloatingIP) *types.FloatingIP
- func CreateFloatingIPFailJSONMocked(t *testing.T, floatingIPIn *types.FloatingIP) *types.FloatingIP
- func CreateFloatingIPFailStatusMocked(t *testing.T, floatingIPIn *types.FloatingIP) *types.FloatingIP
- func CreateFloatingIPMocked(t *testing.T, floatingIPIn *types.FloatingIP) *types.FloatingIP
- func CreateSubnetFailErrMocked(t *testing.T, subnetIn *types.Subnet) *types.Subnet
- func CreateSubnetFailJSONMocked(t *testing.T, subnetIn *types.Subnet) *types.Subnet
- func CreateSubnetFailStatusMocked(t *testing.T, subnetIn *types.Subnet) *types.Subnet
- func CreateSubnetMocked(t *testing.T, subnetIn *types.Subnet) *types.Subnet
- func CreateVPCFailErrMocked(t *testing.T, vpcIn *types.Vpc) *types.Vpc
- func CreateVPCFailJSONMocked(t *testing.T, vpcIn *types.Vpc) *types.Vpc
- func CreateVPCFailStatusMocked(t *testing.T, vpcIn *types.Vpc) *types.Vpc
- func CreateVPCMocked(t *testing.T, vpcIn *types.Vpc) *types.Vpc
- func CreateVPNFailErrMocked(t *testing.T, vpnIn *types.Vpn) *types.Vpn
- func CreateVPNFailJSONMocked(t *testing.T, vpnIn *types.Vpn) *types.Vpn
- func CreateVPNFailStatusMocked(t *testing.T, vpnIn *types.Vpn) *types.Vpn
- func CreateVPNMocked(t *testing.T, vpnIn *types.Vpn) *types.Vpn
- func DeleteFirewallProfileFailErrMocked(t *testing.T, firewallProfileIn *types.FirewallProfile)
- func DeleteFirewallProfileFailStatusMocked(t *testing.T, firewallProfileIn *types.FirewallProfile)
- func DeleteFirewallProfileMocked(t *testing.T, firewallProfileIn *types.FirewallProfile)
- func DeleteFloatingIPFailErrMocked(t *testing.T, floatingIPIn *types.FloatingIP)
- func DeleteFloatingIPFailStatusMocked(t *testing.T, floatingIPIn *types.FloatingIP)
- func DeleteFloatingIPMocked(t *testing.T, floatingIPIn *types.FloatingIP)
- func DeleteSubnetFailErrMocked(t *testing.T, subnetIn *types.Subnet)
- func DeleteSubnetFailStatusMocked(t *testing.T, subnetIn *types.Subnet)
- func DeleteSubnetMocked(t *testing.T, subnetIn *types.Subnet)
- func DeleteVPCFailErrMocked(t *testing.T, vpcIn *types.Vpc)
- func DeleteVPCFailStatusMocked(t *testing.T, vpcIn *types.Vpc)
- func DeleteVPCMocked(t *testing.T, vpcIn *types.Vpc)
- func DeleteVPNFailErrMocked(t *testing.T, vpnIn *types.Vpn)
- func DeleteVPNFailStatusMocked(t *testing.T, vpnIn *types.Vpn)
- func DeleteVPNMocked(t *testing.T, vpnIn *types.Vpn)
- func DetachFloatingIPFailErrMocked(t *testing.T, floatingIPIn *types.FloatingIP)
- func DetachFloatingIPFailStatusMocked(t *testing.T, floatingIPIn *types.FloatingIP)
- func DetachFloatingIPMocked(t *testing.T, floatingIPIn *types.FloatingIP)
- func DiscardFloatingIPFailErrMocked(t *testing.T, floatingIPIn *types.FloatingIP)
- func DiscardFloatingIPFailStatusMocked(t *testing.T, floatingIPIn *types.FloatingIP)
- func DiscardFloatingIPMocked(t *testing.T, floatingIPIn *types.FloatingIP)
- func DiscardVPCFailErrMocked(t *testing.T, vpcIn *types.Vpc)
- func DiscardVPCFailStatusMocked(t *testing.T, vpcIn *types.Vpc)
- func DiscardVPCMocked(t *testing.T, vpcIn *types.Vpc)
- func GetFirewallProfileFailErrMocked(t *testing.T, firewallProfile *types.FirewallProfile) *types.FirewallProfile
- func GetFirewallProfileFailJSONMocked(t *testing.T, firewallProfile *types.FirewallProfile) *types.FirewallProfile
- func GetFirewallProfileFailStatusMocked(t *testing.T, firewallProfile *types.FirewallProfile) *types.FirewallProfile
- func GetFirewallProfileListFailErrMocked(t *testing.T, firewallProfilesIn []*types.FirewallProfile) []*types.FirewallProfile
- func GetFirewallProfileListFailJSONMocked(t *testing.T, firewallProfilesIn []*types.FirewallProfile) []*types.FirewallProfile
- func GetFirewallProfileListFailStatusMocked(t *testing.T, firewallProfilesIn []*types.FirewallProfile) []*types.FirewallProfile
- func GetFirewallProfileListMocked(t *testing.T, firewallProfilesIn []*types.FirewallProfile) []*types.FirewallProfile
- func GetFirewallProfileMocked(t *testing.T, firewallProfile *types.FirewallProfile) *types.FirewallProfile
- func GetFloatingIPFailErrMocked(t *testing.T, floatingIPIn *types.FloatingIP) *types.FloatingIP
- func GetFloatingIPFailJSONMocked(t *testing.T, floatingIPIn *types.FloatingIP) *types.FloatingIP
- func GetFloatingIPFailStatusMocked(t *testing.T, floatingIPIn *types.FloatingIP) *types.FloatingIP
- func GetFloatingIPListFailErrMocked(t *testing.T, floatingIPIn []*types.FloatingIP) []*types.FloatingIP
- func GetFloatingIPListFailJSONMocked(t *testing.T, floatingIPIn []*types.FloatingIP) []*types.FloatingIP
- func GetFloatingIPListFailStatusMocked(t *testing.T, floatingIPIn []*types.FloatingIP) []*types.FloatingIP
- func GetFloatingIPListMocked(t *testing.T, floatingIPIn []*types.FloatingIP) []*types.FloatingIP
- func GetFloatingIPListMockedFilteredByServer(t *testing.T, floatingIPIn []*types.FloatingIP) []*types.FloatingIP
- func GetFloatingIPMocked(t *testing.T, floatingIPIn *types.FloatingIP) *types.FloatingIP
- func GetSubnetFailErrMocked(t *testing.T, subnetIn *types.Subnet) *types.Subnet
- func GetSubnetFailJSONMocked(t *testing.T, subnetIn *types.Subnet) *types.Subnet
- func GetSubnetFailStatusMocked(t *testing.T, subnetIn *types.Subnet) *types.Subnet
- func GetSubnetListFailErrMocked(t *testing.T, subnetsIn []*types.Subnet) []*types.Subnet
- func GetSubnetListFailJSONMocked(t *testing.T, subnetsIn []*types.Subnet) []*types.Subnet
- func GetSubnetListFailStatusMocked(t *testing.T, subnetsIn []*types.Subnet) []*types.Subnet
- func GetSubnetListMocked(t *testing.T, subnetsIn []*types.Subnet) []*types.Subnet
- func GetSubnetMocked(t *testing.T, subnetIn *types.Subnet) *types.Subnet
- func GetSubnetServerArrayListFailErrMocked(t *testing.T, serverArraysIn []*types.ServerArray) []*types.ServerArray
- func GetSubnetServerArrayListFailJSONMocked(t *testing.T, serverArraysIn []*types.ServerArray) []*types.ServerArray
- func GetSubnetServerArrayListFailStatusMocked(t *testing.T, serverArraysIn []*types.ServerArray) []*types.ServerArray
- func GetSubnetServerArrayListMocked(t *testing.T, serverArraysIn []*types.ServerArray) []*types.ServerArray
- func GetSubnetServerListFailErrMocked(t *testing.T, serversIn []*types.Server) []*types.Server
- func GetSubnetServerListFailJSONMocked(t *testing.T, serversIn []*types.Server) []*types.Server
- func GetSubnetServerListFailStatusMocked(t *testing.T, serversIn []*types.Server) []*types.Server
- func GetSubnetServerListMocked(t *testing.T, serversIn []*types.Server) []*types.Server
- func GetVPCFailErrMocked(t *testing.T, vpcIn *types.Vpc) *types.Vpc
- func GetVPCFailJSONMocked(t *testing.T, vpcIn *types.Vpc) *types.Vpc
- func GetVPCFailStatusMocked(t *testing.T, vpcIn *types.Vpc) *types.Vpc
- func GetVPCListFailErrMocked(t *testing.T, vpcsIn []*types.Vpc) []*types.Vpc
- func GetVPCListFailJSONMocked(t *testing.T, vpcsIn []*types.Vpc) []*types.Vpc
- func GetVPCListFailStatusMocked(t *testing.T, vpcsIn []*types.Vpc) []*types.Vpc
- func GetVPCListMocked(t *testing.T, vpcsIn []*types.Vpc) []*types.Vpc
- func GetVPCMocked(t *testing.T, vpcIn *types.Vpc) *types.Vpc
- func GetVPNFailErrMocked(t *testing.T, vpnIn *types.Vpn) *types.Vpn
- func GetVPNFailJSONMocked(t *testing.T, vpnIn *types.Vpn) *types.Vpn
- func GetVPNFailStatusMocked(t *testing.T, vpnIn *types.Vpn) *types.Vpn
- func GetVPNMocked(t *testing.T, vpnIn *types.Vpn) *types.Vpn
- func GetVPNPlanListFailErrMocked(t *testing.T, vpnPlansIn []*types.VpnPlan, vpcID string) []*types.VpnPlan
- func GetVPNPlanListFailJSONMocked(t *testing.T, vpnPlansIn []*types.VpnPlan, vpcID string) []*types.VpnPlan
- func GetVPNPlanListFailStatusMocked(t *testing.T, vpnPlansIn []*types.VpnPlan, vpcID string) []*types.VpnPlan
- func GetVPNPlanListMocked(t *testing.T, vpnPlansIn []*types.VpnPlan, vpcID string) []*types.VpnPlan
- func UpdateFirewallProfileFailErrMocked(t *testing.T, firewallProfileIn *types.FirewallProfile) *types.FirewallProfile
- func UpdateFirewallProfileFailJSONMocked(t *testing.T, firewallProfileIn *types.FirewallProfile) *types.FirewallProfile
- func UpdateFirewallProfileFailStatusMocked(t *testing.T, firewallProfileIn *types.FirewallProfile) *types.FirewallProfile
- func UpdateFirewallProfileMocked(t *testing.T, firewallProfileIn *types.FirewallProfile) *types.FirewallProfile
- func UpdateFloatingIPFailErrMocked(t *testing.T, floatingIPIn *types.FloatingIP) *types.FloatingIP
- func UpdateFloatingIPFailJSONMocked(t *testing.T, floatingIPIn *types.FloatingIP) *types.FloatingIP
- func UpdateFloatingIPFailStatusMocked(t *testing.T, floatingIPIn *types.FloatingIP) *types.FloatingIP
- func UpdateFloatingIPMocked(t *testing.T, floatingIPIn *types.FloatingIP) *types.FloatingIP
- func UpdateSubnetFailErrMocked(t *testing.T, subnetIn *types.Subnet) *types.Subnet
- func UpdateSubnetFailJSONMocked(t *testing.T, subnetIn *types.Subnet) *types.Subnet
- func UpdateSubnetFailStatusMocked(t *testing.T, subnetIn *types.Subnet) *types.Subnet
- func UpdateSubnetMocked(t *testing.T, subnetIn *types.Subnet) *types.Subnet
- func UpdateVPCFailErrMocked(t *testing.T, vpcIn *types.Vpc) *types.Vpc
- func UpdateVPCFailJSONMocked(t *testing.T, vpcIn *types.Vpc) *types.Vpc
- func UpdateVPCFailStatusMocked(t *testing.T, vpcIn *types.Vpc) *types.Vpc
- func UpdateVPCMocked(t *testing.T, vpcIn *types.Vpc) *types.Vpc
- type FirewallProfileService
- func (dm *FirewallProfileService) CreateFirewallProfile(firewallProfileVector *map[string]interface{}) (firewallProfile *types.FirewallProfile, err error)
- func (dm *FirewallProfileService) DeleteFirewallProfile(ID string) (err error)
- func (dm *FirewallProfileService) GetFirewallProfile(ID string) (firewallProfile *types.FirewallProfile, err error)
- func (dm *FirewallProfileService) GetFirewallProfileList() (firewallProfiles []*types.FirewallProfile, err error)
- func (dm *FirewallProfileService) UpdateFirewallProfile(firewallProfileVector *map[string]interface{}, ID string) (firewallProfile *types.FirewallProfile, err error)
- type FloatingIPService
- func (dm *FloatingIPService) AttachFloatingIP(floatingIPVector *map[string]interface{}, ID string) (server *types.Server, err error)
- func (dm *FloatingIPService) CreateFloatingIP(floatingIPVector *map[string]interface{}) (floatingIP *types.FloatingIP, err error)
- func (dm *FloatingIPService) DeleteFloatingIP(ID string) (err error)
- func (dm *FloatingIPService) DetachFloatingIP(ID string) (err error)
- func (dm *FloatingIPService) DiscardFloatingIP(ID string) (err error)
- func (dm *FloatingIPService) GetFloatingIP(ID string) (floatingIP *types.FloatingIP, err error)
- func (dm *FloatingIPService) GetFloatingIPList(serverID string) (floatingIPs []*types.FloatingIP, err error)
- func (dm *FloatingIPService) UpdateFloatingIP(floatingIPVector *map[string]interface{}, ID string) (floatingIP *types.FloatingIP, err error)
- type SubnetService
- func (dm *SubnetService) CreateSubnet(subnetVector *map[string]interface{}, vpcID string) (subnet *types.Subnet, err error)
- func (dm *SubnetService) DeleteSubnet(ID string) (err error)
- func (dm *SubnetService) GetSubnet(ID string) (subnet *types.Subnet, err error)
- func (dm *SubnetService) GetSubnetList(vpcID string) (subnets []*types.Subnet, err error)
- func (dm *SubnetService) GetSubnetServerArrayList(subnetID string) (serverArrays []*types.ServerArray, err error)
- func (dm *SubnetService) GetSubnetServerList(subnetID string) (servers []*types.Server, err error)
- func (dm *SubnetService) UpdateSubnet(subnetVector *map[string]interface{}, ID string) (subnet *types.Subnet, err error)
- type VPCService
- func (dm *VPCService) CreateVPC(vpcVector *map[string]interface{}) (vpc *types.Vpc, err error)
- func (dm *VPCService) DeleteVPC(ID string) (err error)
- func (dm *VPCService) DiscardVPC(ID string) (err error)
- func (dm *VPCService) GetVPC(ID string) (vpc *types.Vpc, err error)
- func (dm *VPCService) GetVPCList() (vpcs []*types.Vpc, err error)
- func (dm *VPCService) UpdateVPC(vpcVector *map[string]interface{}, ID string) (vpc *types.Vpc, err error)
- type VPNService
- func (dm *VPNService) CreateVPN(vpnVector *map[string]interface{}, vpcID string) (vpn *types.Vpn, err error)
- func (dm *VPNService) DeleteVPN(vpcID string) (err error)
- func (dm *VPNService) GetVPN(vpcID string) (vpn *types.Vpn, err error)
- func (dm *VPNService) GetVPNPlanList(vpcID string) (vpnPlans []*types.VpnPlan, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AttachFloatingIPFailErrMocked ¶ added in v0.9.0
AttachFloatingIPFailErrMocked test mocked function
func AttachFloatingIPFailJSONMocked ¶ added in v0.9.0
AttachFloatingIPFailJSONMocked test mocked function
func AttachFloatingIPFailStatusMocked ¶ added in v0.9.0
AttachFloatingIPFailStatusMocked test mocked function
func AttachFloatingIPMocked ¶ added in v0.9.0
AttachFloatingIPMocked test mocked function
func CreateFirewallProfileFailErrMocked ¶
func CreateFirewallProfileFailErrMocked(t *testing.T, firewallProfileIn *types.FirewallProfile) *types.FirewallProfile
CreateFirewallProfileFailErrMocked test mocked function
func CreateFirewallProfileFailJSONMocked ¶
func CreateFirewallProfileFailJSONMocked(t *testing.T, firewallProfileIn *types.FirewallProfile) *types.FirewallProfile
CreateFirewallProfileFailJSONMocked test mocked function
func CreateFirewallProfileFailStatusMocked ¶
func CreateFirewallProfileFailStatusMocked(t *testing.T, firewallProfileIn *types.FirewallProfile) *types.FirewallProfile
CreateFirewallProfileFailStatusMocked test mocked function
func CreateFirewallProfileMocked ¶
func CreateFirewallProfileMocked(t *testing.T, firewallProfileIn *types.FirewallProfile) *types.FirewallProfile
CreateFirewallProfileMocked test mocked function
func CreateFloatingIPFailErrMocked ¶ added in v0.9.0
func CreateFloatingIPFailErrMocked(t *testing.T, floatingIPIn *types.FloatingIP) *types.FloatingIP
CreateFloatingIPFailErrMocked test mocked function
func CreateFloatingIPFailJSONMocked ¶ added in v0.9.0
func CreateFloatingIPFailJSONMocked(t *testing.T, floatingIPIn *types.FloatingIP) *types.FloatingIP
CreateFloatingIPFailJSONMocked test mocked function
func CreateFloatingIPFailStatusMocked ¶ added in v0.9.0
func CreateFloatingIPFailStatusMocked(t *testing.T, floatingIPIn *types.FloatingIP) *types.FloatingIP
CreateFloatingIPFailStatusMocked test mocked function
func CreateFloatingIPMocked ¶ added in v0.9.0
func CreateFloatingIPMocked(t *testing.T, floatingIPIn *types.FloatingIP) *types.FloatingIP
CreateFloatingIPMocked test mocked function
func CreateSubnetFailErrMocked ¶ added in v0.9.0
CreateSubnetFailErrMocked test mocked function
func CreateSubnetFailJSONMocked ¶ added in v0.9.0
CreateSubnetFailJSONMocked test mocked function
func CreateSubnetFailStatusMocked ¶ added in v0.9.0
CreateSubnetFailStatusMocked test mocked function
func CreateSubnetMocked ¶ added in v0.9.0
CreateSubnetMocked test mocked function
func CreateVPCFailErrMocked ¶ added in v0.9.0
CreateVPCFailErrMocked test mocked function
func CreateVPCFailJSONMocked ¶ added in v0.9.0
CreateVPCFailJSONMocked test mocked function
func CreateVPCFailStatusMocked ¶ added in v0.9.0
CreateVPCFailStatusMocked test mocked function
func CreateVPCMocked ¶ added in v0.9.0
CreateVPCMocked test mocked function
func CreateVPNFailErrMocked ¶ added in v0.9.0
CreateVPNFailErrMocked test mocked function
func CreateVPNFailJSONMocked ¶ added in v0.9.0
CreateVPNFailJSONMocked test mocked function
func CreateVPNFailStatusMocked ¶ added in v0.9.0
CreateVPNFailStatusMocked test mocked function
func CreateVPNMocked ¶ added in v0.9.0
CreateVPNMocked test mocked function
func DeleteFirewallProfileFailErrMocked ¶
func DeleteFirewallProfileFailErrMocked(t *testing.T, firewallProfileIn *types.FirewallProfile)
DeleteFirewallProfileFailErrMocked test mocked function
func DeleteFirewallProfileFailStatusMocked ¶
func DeleteFirewallProfileFailStatusMocked(t *testing.T, firewallProfileIn *types.FirewallProfile)
DeleteFirewallProfileFailStatusMocked test mocked function
func DeleteFirewallProfileMocked ¶
func DeleteFirewallProfileMocked(t *testing.T, firewallProfileIn *types.FirewallProfile)
DeleteFirewallProfileMocked test mocked function
func DeleteFloatingIPFailErrMocked ¶ added in v0.9.0
func DeleteFloatingIPFailErrMocked(t *testing.T, floatingIPIn *types.FloatingIP)
DeleteFloatingIPFailErrMocked test mocked function
func DeleteFloatingIPFailStatusMocked ¶ added in v0.9.0
func DeleteFloatingIPFailStatusMocked(t *testing.T, floatingIPIn *types.FloatingIP)
DeleteFloatingIPFailStatusMocked test mocked function
func DeleteFloatingIPMocked ¶ added in v0.9.0
func DeleteFloatingIPMocked(t *testing.T, floatingIPIn *types.FloatingIP)
DeleteFloatingIPMocked test mocked function
func DeleteSubnetFailErrMocked ¶ added in v0.9.0
DeleteSubnetFailErrMocked test mocked function
func DeleteSubnetFailStatusMocked ¶ added in v0.9.0
DeleteSubnetFailStatusMocked test mocked function
func DeleteSubnetMocked ¶ added in v0.9.0
DeleteSubnetMocked test mocked function
func DeleteVPCFailErrMocked ¶ added in v0.9.0
DeleteVPCFailErrMocked test mocked function
func DeleteVPCFailStatusMocked ¶ added in v0.9.0
DeleteVPCFailStatusMocked test mocked function
func DeleteVPCMocked ¶ added in v0.9.0
DeleteVPCMocked test mocked function
func DeleteVPNFailErrMocked ¶ added in v0.9.0
DeleteVPNFailErrMocked test mocked function
func DeleteVPNFailStatusMocked ¶ added in v0.9.0
DeleteVPNFailStatusMocked test mocked function
func DeleteVPNMocked ¶ added in v0.9.0
DeleteVPNMocked test mocked function
func DetachFloatingIPFailErrMocked ¶ added in v0.9.0
func DetachFloatingIPFailErrMocked(t *testing.T, floatingIPIn *types.FloatingIP)
DetachFloatingIPFailErrMocked test mocked function
func DetachFloatingIPFailStatusMocked ¶ added in v0.9.0
func DetachFloatingIPFailStatusMocked(t *testing.T, floatingIPIn *types.FloatingIP)
DetachFloatingIPFailStatusMocked test mocked function
func DetachFloatingIPMocked ¶ added in v0.9.0
func DetachFloatingIPMocked(t *testing.T, floatingIPIn *types.FloatingIP)
DetachFloatingIPMocked test mocked function
func DiscardFloatingIPFailErrMocked ¶ added in v0.9.0
func DiscardFloatingIPFailErrMocked(t *testing.T, floatingIPIn *types.FloatingIP)
DiscardFloatingIPFailErrMocked test mocked function
func DiscardFloatingIPFailStatusMocked ¶ added in v0.9.0
func DiscardFloatingIPFailStatusMocked(t *testing.T, floatingIPIn *types.FloatingIP)
DiscardFloatingIPFailStatusMocked test mocked function
func DiscardFloatingIPMocked ¶ added in v0.9.0
func DiscardFloatingIPMocked(t *testing.T, floatingIPIn *types.FloatingIP)
DiscardFloatingIPMocked test mocked function
func DiscardVPCFailErrMocked ¶ added in v0.9.0
DiscardVPCFailErrMocked test mocked function
func DiscardVPCFailStatusMocked ¶ added in v0.9.0
DiscardVPCFailStatusMocked test mocked function
func DiscardVPCMocked ¶ added in v0.9.0
DiscardVPCMocked test mocked function
func GetFirewallProfileFailErrMocked ¶
func GetFirewallProfileFailErrMocked(t *testing.T, firewallProfile *types.FirewallProfile) *types.FirewallProfile
GetFirewallProfileFailErrMocked test mocked function
func GetFirewallProfileFailJSONMocked ¶
func GetFirewallProfileFailJSONMocked(t *testing.T, firewallProfile *types.FirewallProfile) *types.FirewallProfile
GetFirewallProfileFailJSONMocked test mocked function
func GetFirewallProfileFailStatusMocked ¶
func GetFirewallProfileFailStatusMocked(t *testing.T, firewallProfile *types.FirewallProfile) *types.FirewallProfile
GetFirewallProfileFailStatusMocked test mocked function
func GetFirewallProfileListFailErrMocked ¶
func GetFirewallProfileListFailErrMocked(t *testing.T, firewallProfilesIn []*types.FirewallProfile) []*types.FirewallProfile
GetFirewallProfileListFailErrMocked test mocked function
func GetFirewallProfileListFailJSONMocked ¶
func GetFirewallProfileListFailJSONMocked(t *testing.T, firewallProfilesIn []*types.FirewallProfile) []*types.FirewallProfile
GetFirewallProfileListFailJSONMocked test mocked function
func GetFirewallProfileListFailStatusMocked ¶
func GetFirewallProfileListFailStatusMocked(t *testing.T, firewallProfilesIn []*types.FirewallProfile) []*types.FirewallProfile
GetFirewallProfileListFailStatusMocked test mocked function
func GetFirewallProfileListMocked ¶
func GetFirewallProfileListMocked(t *testing.T, firewallProfilesIn []*types.FirewallProfile) []*types.FirewallProfile
GetFirewallProfileListMocked test mocked function
func GetFirewallProfileMocked ¶
func GetFirewallProfileMocked(t *testing.T, firewallProfile *types.FirewallProfile) *types.FirewallProfile
GetFirewallProfileMocked test mocked function
func GetFloatingIPFailErrMocked ¶ added in v0.9.0
func GetFloatingIPFailErrMocked(t *testing.T, floatingIPIn *types.FloatingIP) *types.FloatingIP
GetFloatingIPFailErrMocked test mocked function
func GetFloatingIPFailJSONMocked ¶ added in v0.9.0
func GetFloatingIPFailJSONMocked(t *testing.T, floatingIPIn *types.FloatingIP) *types.FloatingIP
GetFloatingIPFailJSONMocked test mocked function
func GetFloatingIPFailStatusMocked ¶ added in v0.9.0
func GetFloatingIPFailStatusMocked(t *testing.T, floatingIPIn *types.FloatingIP) *types.FloatingIP
GetFloatingIPFailStatusMocked test mocked function
func GetFloatingIPListFailErrMocked ¶ added in v0.9.0
func GetFloatingIPListFailErrMocked(t *testing.T, floatingIPIn []*types.FloatingIP) []*types.FloatingIP
GetFloatingIPListFailErrMocked test mocked function
func GetFloatingIPListFailJSONMocked ¶ added in v0.9.0
func GetFloatingIPListFailJSONMocked(t *testing.T, floatingIPIn []*types.FloatingIP) []*types.FloatingIP
GetFloatingIPListFailJSONMocked test mocked function
func GetFloatingIPListFailStatusMocked ¶ added in v0.9.0
func GetFloatingIPListFailStatusMocked(t *testing.T, floatingIPIn []*types.FloatingIP) []*types.FloatingIP
GetFloatingIPListFailStatusMocked test mocked function
func GetFloatingIPListMocked ¶ added in v0.9.0
func GetFloatingIPListMocked(t *testing.T, floatingIPIn []*types.FloatingIP) []*types.FloatingIP
GetFloatingIPListMocked test mocked function
func GetFloatingIPListMockedFilteredByServer ¶ added in v0.9.0
func GetFloatingIPListMockedFilteredByServer(t *testing.T, floatingIPIn []*types.FloatingIP) []*types.FloatingIP
func GetFloatingIPMocked ¶ added in v0.9.0
func GetFloatingIPMocked(t *testing.T, floatingIPIn *types.FloatingIP) *types.FloatingIP
GetFloatingIPMocked test mocked function
func GetSubnetFailErrMocked ¶ added in v0.9.0
GetSubnetFailErrMocked test mocked function
func GetSubnetFailJSONMocked ¶ added in v0.9.0
GetSubnetFailJSONMocked test mocked function
func GetSubnetFailStatusMocked ¶ added in v0.9.0
GetSubnetFailStatusMocked test mocked function
func GetSubnetListFailErrMocked ¶ added in v0.9.0
GetSubnetListFailErrMocked test mocked function
func GetSubnetListFailJSONMocked ¶ added in v0.9.0
GetSubnetListFailJSONMocked test mocked function
func GetSubnetListFailStatusMocked ¶ added in v0.9.0
GetSubnetListFailStatusMocked test mocked function
func GetSubnetListMocked ¶ added in v0.9.0
GetSubnetListMocked test mocked function
func GetSubnetMocked ¶ added in v0.9.0
GetSubnetMocked test mocked function
func GetSubnetServerArrayListFailErrMocked ¶ added in v0.9.0
func GetSubnetServerArrayListFailErrMocked(t *testing.T, serverArraysIn []*types.ServerArray) []*types.ServerArray
GetSubnetServerArrayListFailErrMocked test mocked function
func GetSubnetServerArrayListFailJSONMocked ¶ added in v0.9.0
func GetSubnetServerArrayListFailJSONMocked(t *testing.T, serverArraysIn []*types.ServerArray) []*types.ServerArray
GetSubnetServerArrayListFailJSONMocked test mocked function
func GetSubnetServerArrayListFailStatusMocked ¶ added in v0.9.0
func GetSubnetServerArrayListFailStatusMocked(t *testing.T, serverArraysIn []*types.ServerArray) []*types.ServerArray
GetSubnetServerArrayListFailStatusMocked test mocked function
func GetSubnetServerArrayListMocked ¶ added in v0.9.0
func GetSubnetServerArrayListMocked(t *testing.T, serverArraysIn []*types.ServerArray) []*types.ServerArray
GetSubnetServerArrayListMocked test mocked function
func GetSubnetServerListFailErrMocked ¶ added in v0.9.0
GetSubnetServerListFailErrMocked test mocked function
func GetSubnetServerListFailJSONMocked ¶ added in v0.9.0
GetSubnetServerListFailJSONMocked test mocked function
func GetSubnetServerListFailStatusMocked ¶ added in v0.9.0
GetSubnetServerListFailStatusMocked test mocked function
func GetSubnetServerListMocked ¶ added in v0.9.0
GetSubnetServerListMocked test mocked function
func GetVPCFailErrMocked ¶ added in v0.9.0
GetVPCFailErrMocked test mocked function
func GetVPCFailJSONMocked ¶ added in v0.9.0
GetVPCFailJSONMocked test mocked function
func GetVPCFailStatusMocked ¶ added in v0.9.0
GetVPCFailStatusMocked test mocked function
func GetVPCListFailErrMocked ¶ added in v0.9.0
GetVPCListFailErrMocked test mocked function
func GetVPCListFailJSONMocked ¶ added in v0.9.0
GetVPCListFailJSONMocked test mocked function
func GetVPCListFailStatusMocked ¶ added in v0.9.0
GetVPCListFailStatusMocked test mocked function
func GetVPCListMocked ¶ added in v0.9.0
GetVPCListMocked test mocked function
func GetVPCMocked ¶ added in v0.9.0
GetVPCMocked test mocked function
func GetVPNFailErrMocked ¶ added in v0.9.0
GetVPNFailErrMocked test mocked function
func GetVPNFailJSONMocked ¶ added in v0.9.0
GetVPNFailJSONMocked test mocked function
func GetVPNFailStatusMocked ¶ added in v0.9.0
GetVPNFailStatusMocked test mocked function
func GetVPNMocked ¶ added in v0.9.0
GetVPNMocked test mocked function
func GetVPNPlanListFailErrMocked ¶ added in v0.9.0
func GetVPNPlanListFailErrMocked(t *testing.T, vpnPlansIn []*types.VpnPlan, vpcID string) []*types.VpnPlan
GetVPNPlanListFailErrMocked test mocked function
func GetVPNPlanListFailJSONMocked ¶ added in v0.9.0
func GetVPNPlanListFailJSONMocked(t *testing.T, vpnPlansIn []*types.VpnPlan, vpcID string) []*types.VpnPlan
GetVPNPlanListFailJSONMocked test mocked function
func GetVPNPlanListFailStatusMocked ¶ added in v0.9.0
func GetVPNPlanListFailStatusMocked(t *testing.T, vpnPlansIn []*types.VpnPlan, vpcID string) []*types.VpnPlan
GetVPNPlanListFailStatusMocked test mocked function
func GetVPNPlanListMocked ¶ added in v0.9.0
GetVPNPlanListMocked test mocked function
func UpdateFirewallProfileFailErrMocked ¶
func UpdateFirewallProfileFailErrMocked(t *testing.T, firewallProfileIn *types.FirewallProfile) *types.FirewallProfile
UpdateFirewallProfileFailErrMocked test mocked function
func UpdateFirewallProfileFailJSONMocked ¶
func UpdateFirewallProfileFailJSONMocked(t *testing.T, firewallProfileIn *types.FirewallProfile) *types.FirewallProfile
UpdateFirewallProfileFailJSONMocked test mocked function
func UpdateFirewallProfileFailStatusMocked ¶
func UpdateFirewallProfileFailStatusMocked(t *testing.T, firewallProfileIn *types.FirewallProfile) *types.FirewallProfile
UpdateFirewallProfileFailStatusMocked test mocked function
func UpdateFirewallProfileMocked ¶
func UpdateFirewallProfileMocked(t *testing.T, firewallProfileIn *types.FirewallProfile) *types.FirewallProfile
UpdateFirewallProfileMocked test mocked function
func UpdateFloatingIPFailErrMocked ¶ added in v0.9.0
func UpdateFloatingIPFailErrMocked(t *testing.T, floatingIPIn *types.FloatingIP) *types.FloatingIP
UpdateFloatingIPFailErrMocked test mocked function
func UpdateFloatingIPFailJSONMocked ¶ added in v0.9.0
func UpdateFloatingIPFailJSONMocked(t *testing.T, floatingIPIn *types.FloatingIP) *types.FloatingIP
UpdateFloatingIPFailJSONMocked test mocked function
func UpdateFloatingIPFailStatusMocked ¶ added in v0.9.0
func UpdateFloatingIPFailStatusMocked(t *testing.T, floatingIPIn *types.FloatingIP) *types.FloatingIP
UpdateFloatingIPFailStatusMocked test mocked function
func UpdateFloatingIPMocked ¶ added in v0.9.0
func UpdateFloatingIPMocked(t *testing.T, floatingIPIn *types.FloatingIP) *types.FloatingIP
UpdateFloatingIPMocked test mocked function
func UpdateSubnetFailErrMocked ¶ added in v0.9.0
UpdateSubnetFailErrMocked test mocked function
func UpdateSubnetFailJSONMocked ¶ added in v0.9.0
UpdateSubnetFailJSONMocked test mocked function
func UpdateSubnetFailStatusMocked ¶ added in v0.9.0
UpdateSubnetFailStatusMocked test mocked function
func UpdateSubnetMocked ¶ added in v0.9.0
UpdateSubnetMocked test mocked function
func UpdateVPCFailErrMocked ¶ added in v0.9.0
UpdateVPCFailErrMocked test mocked function
func UpdateVPCFailJSONMocked ¶ added in v0.9.0
UpdateVPCFailJSONMocked test mocked function
func UpdateVPCFailStatusMocked ¶ added in v0.9.0
UpdateVPCFailStatusMocked test mocked function
Types ¶
type FirewallProfileService ¶
type FirewallProfileService struct {
// contains filtered or unexported fields
}
FirewallProfileService manages firewallProfile operations
func NewFirewallProfileService ¶
func NewFirewallProfileService(concertoService utils.ConcertoService) (*FirewallProfileService, error)
NewFirewallProfileService returns a Concerto firewallProfile service
func (*FirewallProfileService) CreateFirewallProfile ¶
func (dm *FirewallProfileService) CreateFirewallProfile(firewallProfileVector *map[string]interface{}) (firewallProfile *types.FirewallProfile, err error)
CreateFirewallProfile creates a firewallProfile
func (*FirewallProfileService) DeleteFirewallProfile ¶
func (dm *FirewallProfileService) DeleteFirewallProfile(ID string) (err error)
DeleteFirewallProfile deletes a firewallProfile by its ID
func (*FirewallProfileService) GetFirewallProfile ¶
func (dm *FirewallProfileService) GetFirewallProfile(ID string) (firewallProfile *types.FirewallProfile, err error)
GetFirewallProfile returns a firewallProfile by its ID
func (*FirewallProfileService) GetFirewallProfileList ¶
func (dm *FirewallProfileService) GetFirewallProfileList() (firewallProfiles []*types.FirewallProfile, err error)
GetFirewallProfileList returns the list of firewallProfiles as an array of FirewallProfile
func (*FirewallProfileService) UpdateFirewallProfile ¶
func (dm *FirewallProfileService) UpdateFirewallProfile(firewallProfileVector *map[string]interface{}, ID string) (firewallProfile *types.FirewallProfile, err error)
UpdateFirewallProfile updates a firewallProfile by its ID
type FloatingIPService ¶ added in v0.9.0
type FloatingIPService struct {
// contains filtered or unexported fields
}
FloatingIPService manages FloatingIP operations
func NewFloatingIPService ¶ added in v0.9.0
func NewFloatingIPService(concertoService utils.ConcertoService) (*FloatingIPService, error)
NewFloatingIPService returns a Concerto FloatingIP service
func (*FloatingIPService) AttachFloatingIP ¶ added in v0.9.0
func (dm *FloatingIPService) AttachFloatingIP(floatingIPVector *map[string]interface{}, ID string) (server *types.Server, err error)
AttachFloatingIP attaches a FloatingIP by its ID
func (*FloatingIPService) CreateFloatingIP ¶ added in v0.9.0
func (dm *FloatingIPService) CreateFloatingIP(floatingIPVector *map[string]interface{}) (floatingIP *types.FloatingIP, err error)
CreateFloatingIP creates a FloatingIP
func (*FloatingIPService) DeleteFloatingIP ¶ added in v0.9.0
func (dm *FloatingIPService) DeleteFloatingIP(ID string) (err error)
DeleteFloatingIP deletes a FloatingIP by its ID
func (*FloatingIPService) DetachFloatingIP ¶ added in v0.9.0
func (dm *FloatingIPService) DetachFloatingIP(ID string) (err error)
DetachFloatingIP detaches a FloatingIP by its ID
func (*FloatingIPService) DiscardFloatingIP ¶ added in v0.9.0
func (dm *FloatingIPService) DiscardFloatingIP(ID string) (err error)
DiscardFloatingIP discards a FloatingIP by its ID
func (*FloatingIPService) GetFloatingIP ¶ added in v0.9.0
func (dm *FloatingIPService) GetFloatingIP(ID string) (floatingIP *types.FloatingIP, err error)
GetFloatingIP returns a FloatingIP by its ID
func (*FloatingIPService) GetFloatingIPList ¶ added in v0.9.0
func (dm *FloatingIPService) GetFloatingIPList(serverID string) (floatingIPs []*types.FloatingIP, err error)
GetFloatingIPList returns the list of FloatingIPs as an array of FloatingIP
func (*FloatingIPService) UpdateFloatingIP ¶ added in v0.9.0
func (dm *FloatingIPService) UpdateFloatingIP(floatingIPVector *map[string]interface{}, ID string) (floatingIP *types.FloatingIP, err error)
UpdateFloatingIP updates a FloatingIP by its ID
type SubnetService ¶ added in v0.9.0
type SubnetService struct {
// contains filtered or unexported fields
}
SubnetService manages Subnet operations
func NewSubnetService ¶ added in v0.9.0
func NewSubnetService(concertoService utils.ConcertoService) (*SubnetService, error)
NewSubnetService returns a Concerto Subnet service
func (*SubnetService) CreateSubnet ¶ added in v0.9.0
func (dm *SubnetService) CreateSubnet(subnetVector *map[string]interface{}, vpcID string) (subnet *types.Subnet, err error)
CreateSubnet creates a Subnet
func (*SubnetService) DeleteSubnet ¶ added in v0.9.0
func (dm *SubnetService) DeleteSubnet(ID string) (err error)
DeleteSubnet deletes a Subnet by its ID
func (*SubnetService) GetSubnet ¶ added in v0.9.0
func (dm *SubnetService) GetSubnet(ID string) (subnet *types.Subnet, err error)
GetSubnet returns a Subnet by its ID
func (*SubnetService) GetSubnetList ¶ added in v0.9.0
func (dm *SubnetService) GetSubnetList(vpcID string) (subnets []*types.Subnet, err error)
GetSubnetList returns the list of Subnets of a VPC as an array of Subnet
func (*SubnetService) GetSubnetServerArrayList ¶ added in v0.9.0
func (dm *SubnetService) GetSubnetServerArrayList(subnetID string) (serverArrays []*types.ServerArray, err error)
GetSubnetServerArrayList returns the list of Server arrays of a Subnet as an array of ServerArray
func (*SubnetService) GetSubnetServerList ¶ added in v0.9.0
func (dm *SubnetService) GetSubnetServerList(subnetID string) (servers []*types.Server, err error)
GetSubnetServerList returns the list of Servers of a Subnet as an array of Server
func (*SubnetService) UpdateSubnet ¶ added in v0.9.0
func (dm *SubnetService) UpdateSubnet(subnetVector *map[string]interface{}, ID string) (subnet *types.Subnet, err error)
UpdateSubnet updates a Subnet by its ID
type VPCService ¶ added in v0.9.0
type VPCService struct {
// contains filtered or unexported fields
}
VPCService manages VPC operations
func NewVPCService ¶ added in v0.9.0
func NewVPCService(concertoService utils.ConcertoService) (*VPCService, error)
NewVPCService returns a Concerto VPC service
func (*VPCService) CreateVPC ¶ added in v0.9.0
func (dm *VPCService) CreateVPC(vpcVector *map[string]interface{}) (vpc *types.Vpc, err error)
CreateVPC creates a VPC
func (*VPCService) DeleteVPC ¶ added in v0.9.0
func (dm *VPCService) DeleteVPC(ID string) (err error)
DeleteVPC deletes a VPC by its ID
func (*VPCService) DiscardVPC ¶ added in v0.9.0
func (dm *VPCService) DiscardVPC(ID string) (err error)
DiscardVPC discards a VPC by its ID
func (*VPCService) GetVPC ¶ added in v0.9.0
func (dm *VPCService) GetVPC(ID string) (vpc *types.Vpc, err error)
GetVPC returns a VPC by its ID
func (*VPCService) GetVPCList ¶ added in v0.9.0
func (dm *VPCService) GetVPCList() (vpcs []*types.Vpc, err error)
GetVPCList returns the list of VPCs as an array of VPC
type VPNService ¶ added in v0.9.0
type VPNService struct {
// contains filtered or unexported fields
}
VPNService manages VPN operations
func NewVPNService ¶ added in v0.9.0
func NewVPNService(concertoService utils.ConcertoService) (*VPNService, error)
NewVPNService returns a Concerto VPN service
func (*VPNService) CreateVPN ¶ added in v0.9.0
func (dm *VPNService) CreateVPN(vpnVector *map[string]interface{}, vpcID string) (vpn *types.Vpn, err error)
CreateVPN creates a VPN
func (*VPNService) DeleteVPN ¶ added in v0.9.0
func (dm *VPNService) DeleteVPN(vpcID string) (err error)
DeleteVPN deletes VPN by VPC ID
func (*VPNService) GetVPN ¶ added in v0.9.0
func (dm *VPNService) GetVPN(vpcID string) (vpn *types.Vpn, err error)
GetVPN returns a VPN by VPC ID
func (*VPNService) GetVPNPlanList ¶ added in v0.9.0
func (dm *VPNService) GetVPNPlanList(vpcID string) (vpnPlans []*types.VpnPlan, err error)
GetVPNPlanList returns the list of VPN plans for a given VPC ID