network

package
v0.11.0-rc Latest Latest
Warning

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

Go to latest
Published: Feb 25, 2020 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AttachFloatingIPFailErrMocked added in v0.9.0

func AttachFloatingIPFailErrMocked(t *testing.T, floatingIPIn *types.FloatingIP) *types.Server

AttachFloatingIPFailErrMocked test mocked function

func AttachFloatingIPFailJSONMocked added in v0.9.0

func AttachFloatingIPFailJSONMocked(t *testing.T, floatingIPIn *types.FloatingIP) *types.Server

AttachFloatingIPFailJSONMocked test mocked function

func AttachFloatingIPFailStatusMocked added in v0.9.0

func AttachFloatingIPFailStatusMocked(t *testing.T, floatingIPIn *types.FloatingIP) *types.Server

AttachFloatingIPFailStatusMocked test mocked function

func AttachFloatingIPMocked added in v0.9.0

func AttachFloatingIPMocked(t *testing.T, floatingIPIn *types.FloatingIP) *types.Server

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

func CreateSubnetFailErrMocked(t *testing.T, subnetIn *types.Subnet) *types.Subnet

CreateSubnetFailErrMocked test mocked function

func CreateSubnetFailJSONMocked added in v0.9.0

func CreateSubnetFailJSONMocked(t *testing.T, subnetIn *types.Subnet) *types.Subnet

CreateSubnetFailJSONMocked test mocked function

func CreateSubnetFailStatusMocked added in v0.9.0

func CreateSubnetFailStatusMocked(t *testing.T, subnetIn *types.Subnet) *types.Subnet

CreateSubnetFailStatusMocked test mocked function

func CreateSubnetMocked added in v0.9.0

func CreateSubnetMocked(t *testing.T, subnetIn *types.Subnet) *types.Subnet

CreateSubnetMocked test mocked function

func CreateVPCFailErrMocked added in v0.9.0

func CreateVPCFailErrMocked(t *testing.T, vpcIn *types.Vpc) *types.Vpc

CreateVPCFailErrMocked test mocked function

func CreateVPCFailJSONMocked added in v0.9.0

func CreateVPCFailJSONMocked(t *testing.T, vpcIn *types.Vpc) *types.Vpc

CreateVPCFailJSONMocked test mocked function

func CreateVPCFailStatusMocked added in v0.9.0

func CreateVPCFailStatusMocked(t *testing.T, vpcIn *types.Vpc) *types.Vpc

CreateVPCFailStatusMocked test mocked function

func CreateVPCMocked added in v0.9.0

func CreateVPCMocked(t *testing.T, vpcIn *types.Vpc) *types.Vpc

CreateVPCMocked test mocked function

func CreateVPNFailErrMocked added in v0.9.0

func CreateVPNFailErrMocked(t *testing.T, vpnIn *types.Vpn) *types.Vpn

CreateVPNFailErrMocked test mocked function

func CreateVPNFailJSONMocked added in v0.9.0

func CreateVPNFailJSONMocked(t *testing.T, vpnIn *types.Vpn) *types.Vpn

CreateVPNFailJSONMocked test mocked function

func CreateVPNFailStatusMocked added in v0.9.0

func CreateVPNFailStatusMocked(t *testing.T, vpnIn *types.Vpn) *types.Vpn

CreateVPNFailStatusMocked test mocked function

func CreateVPNMocked added in v0.9.0

func CreateVPNMocked(t *testing.T, vpnIn *types.Vpn) *types.Vpn

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

func DeleteSubnetFailErrMocked(t *testing.T, subnetIn *types.Subnet)

DeleteSubnetFailErrMocked test mocked function

func DeleteSubnetFailStatusMocked added in v0.9.0

func DeleteSubnetFailStatusMocked(t *testing.T, subnetIn *types.Subnet)

DeleteSubnetFailStatusMocked test mocked function

func DeleteSubnetMocked added in v0.9.0

func DeleteSubnetMocked(t *testing.T, subnetIn *types.Subnet)

DeleteSubnetMocked test mocked function

func DeleteVPCFailErrMocked added in v0.9.0

func DeleteVPCFailErrMocked(t *testing.T, vpcIn *types.Vpc)

DeleteVPCFailErrMocked test mocked function

func DeleteVPCFailStatusMocked added in v0.9.0

func DeleteVPCFailStatusMocked(t *testing.T, vpcIn *types.Vpc)

DeleteVPCFailStatusMocked test mocked function

func DeleteVPCMocked added in v0.9.0

func DeleteVPCMocked(t *testing.T, vpcIn *types.Vpc)

DeleteVPCMocked test mocked function

func DeleteVPNFailErrMocked added in v0.9.0

func DeleteVPNFailErrMocked(t *testing.T, vpnIn *types.Vpn)

DeleteVPNFailErrMocked test mocked function

func DeleteVPNFailStatusMocked added in v0.9.0

func DeleteVPNFailStatusMocked(t *testing.T, vpnIn *types.Vpn)

DeleteVPNFailStatusMocked test mocked function

func DeleteVPNMocked added in v0.9.0

func DeleteVPNMocked(t *testing.T, vpnIn *types.Vpn)

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

func DiscardVPCFailErrMocked(t *testing.T, vpcIn *types.Vpc)

DiscardVPCFailErrMocked test mocked function

func DiscardVPCFailStatusMocked added in v0.9.0

func DiscardVPCFailStatusMocked(t *testing.T, vpcIn *types.Vpc)

DiscardVPCFailStatusMocked test mocked function

func DiscardVPCMocked added in v0.9.0

func DiscardVPCMocked(t *testing.T, vpcIn *types.Vpc)

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

func GetSubnetFailErrMocked(t *testing.T, subnetIn *types.Subnet) *types.Subnet

GetSubnetFailErrMocked test mocked function

func GetSubnetFailJSONMocked added in v0.9.0

func GetSubnetFailJSONMocked(t *testing.T, subnetIn *types.Subnet) *types.Subnet

GetSubnetFailJSONMocked test mocked function

func GetSubnetFailStatusMocked added in v0.9.0

func GetSubnetFailStatusMocked(t *testing.T, subnetIn *types.Subnet) *types.Subnet

GetSubnetFailStatusMocked test mocked function

func GetSubnetListFailErrMocked added in v0.9.0

func GetSubnetListFailErrMocked(t *testing.T, subnetsIn []*types.Subnet) []*types.Subnet

GetSubnetListFailErrMocked test mocked function

func GetSubnetListFailJSONMocked added in v0.9.0

func GetSubnetListFailJSONMocked(t *testing.T, subnetsIn []*types.Subnet) []*types.Subnet

GetSubnetListFailJSONMocked test mocked function

func GetSubnetListFailStatusMocked added in v0.9.0

func GetSubnetListFailStatusMocked(t *testing.T, subnetsIn []*types.Subnet) []*types.Subnet

GetSubnetListFailStatusMocked test mocked function

func GetSubnetListMocked added in v0.9.0

func GetSubnetListMocked(t *testing.T, subnetsIn []*types.Subnet) []*types.Subnet

GetSubnetListMocked test mocked function

func GetSubnetMocked added in v0.9.0

func GetSubnetMocked(t *testing.T, subnetIn *types.Subnet) *types.Subnet

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

func GetSubnetServerListFailErrMocked(t *testing.T, serversIn []*types.Server) []*types.Server

GetSubnetServerListFailErrMocked test mocked function

func GetSubnetServerListFailJSONMocked added in v0.9.0

func GetSubnetServerListFailJSONMocked(t *testing.T, serversIn []*types.Server) []*types.Server

GetSubnetServerListFailJSONMocked test mocked function

func GetSubnetServerListFailStatusMocked added in v0.9.0

func GetSubnetServerListFailStatusMocked(t *testing.T, serversIn []*types.Server) []*types.Server

GetSubnetServerListFailStatusMocked test mocked function

func GetSubnetServerListMocked added in v0.9.0

func GetSubnetServerListMocked(t *testing.T, serversIn []*types.Server) []*types.Server

GetSubnetServerListMocked test mocked function

func GetVPCFailErrMocked added in v0.9.0

func GetVPCFailErrMocked(t *testing.T, vpcIn *types.Vpc) *types.Vpc

GetVPCFailErrMocked test mocked function

func GetVPCFailJSONMocked added in v0.9.0

func GetVPCFailJSONMocked(t *testing.T, vpcIn *types.Vpc) *types.Vpc

GetVPCFailJSONMocked test mocked function

func GetVPCFailStatusMocked added in v0.9.0

func GetVPCFailStatusMocked(t *testing.T, vpcIn *types.Vpc) *types.Vpc

GetVPCFailStatusMocked test mocked function

func GetVPCListFailErrMocked added in v0.9.0

func GetVPCListFailErrMocked(t *testing.T, vpcsIn []*types.Vpc) []*types.Vpc

GetVPCListFailErrMocked test mocked function

func GetVPCListFailJSONMocked added in v0.9.0

func GetVPCListFailJSONMocked(t *testing.T, vpcsIn []*types.Vpc) []*types.Vpc

GetVPCListFailJSONMocked test mocked function

func GetVPCListFailStatusMocked added in v0.9.0

func GetVPCListFailStatusMocked(t *testing.T, vpcsIn []*types.Vpc) []*types.Vpc

GetVPCListFailStatusMocked test mocked function

func GetVPCListMocked added in v0.9.0

func GetVPCListMocked(t *testing.T, vpcsIn []*types.Vpc) []*types.Vpc

GetVPCListMocked test mocked function

func GetVPCMocked added in v0.9.0

func GetVPCMocked(t *testing.T, vpcIn *types.Vpc) *types.Vpc

GetVPCMocked test mocked function

func GetVPNFailErrMocked added in v0.9.0

func GetVPNFailErrMocked(t *testing.T, vpnIn *types.Vpn) *types.Vpn

GetVPNFailErrMocked test mocked function

func GetVPNFailJSONMocked added in v0.9.0

func GetVPNFailJSONMocked(t *testing.T, vpnIn *types.Vpn) *types.Vpn

GetVPNFailJSONMocked test mocked function

func GetVPNFailStatusMocked added in v0.9.0

func GetVPNFailStatusMocked(t *testing.T, vpnIn *types.Vpn) *types.Vpn

GetVPNFailStatusMocked test mocked function

func GetVPNMocked added in v0.9.0

func GetVPNMocked(t *testing.T, vpnIn *types.Vpn) *types.Vpn

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

func GetVPNPlanListMocked(t *testing.T, vpnPlansIn []*types.VpnPlan, vpcID string) []*types.VpnPlan

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

func UpdateSubnetFailErrMocked(t *testing.T, subnetIn *types.Subnet) *types.Subnet

UpdateSubnetFailErrMocked test mocked function

func UpdateSubnetFailJSONMocked added in v0.9.0

func UpdateSubnetFailJSONMocked(t *testing.T, subnetIn *types.Subnet) *types.Subnet

UpdateSubnetFailJSONMocked test mocked function

func UpdateSubnetFailStatusMocked added in v0.9.0

func UpdateSubnetFailStatusMocked(t *testing.T, subnetIn *types.Subnet) *types.Subnet

UpdateSubnetFailStatusMocked test mocked function

func UpdateSubnetMocked added in v0.9.0

func UpdateSubnetMocked(t *testing.T, subnetIn *types.Subnet) *types.Subnet

UpdateSubnetMocked test mocked function

func UpdateVPCFailErrMocked added in v0.9.0

func UpdateVPCFailErrMocked(t *testing.T, vpcIn *types.Vpc) *types.Vpc

UpdateVPCFailErrMocked test mocked function

func UpdateVPCFailJSONMocked added in v0.9.0

func UpdateVPCFailJSONMocked(t *testing.T, vpcIn *types.Vpc) *types.Vpc

UpdateVPCFailJSONMocked test mocked function

func UpdateVPCFailStatusMocked added in v0.9.0

func UpdateVPCFailStatusMocked(t *testing.T, vpcIn *types.Vpc) *types.Vpc

UpdateVPCFailStatusMocked test mocked function

func UpdateVPCMocked added in v0.9.0

func UpdateVPCMocked(t *testing.T, vpcIn *types.Vpc) *types.Vpc

UpdateVPCMocked 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

func (*VPCService) UpdateVPC added in v0.9.0

func (dm *VPCService) UpdateVPC(vpcVector *map[string]interface{}, ID string) (vpc *types.Vpc, err error)

UpdateVPC updates a VPC by its ID

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

Jump to

Keyboard shortcuts

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