cloud

package
v0.11.0-beta Latest Latest
Warning

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

Go to latest
Published: Feb 17, 2020 License: Apache-2.0 Imports: 7 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BootServerArrayFailErrMocked added in v0.9.0

func BootServerArrayFailErrMocked(t *testing.T, serverArrayIn *types.ServerArray) *types.ServerArray

BootServerArrayFailErrMocked test mocked function

func BootServerArrayFailJSONMocked added in v0.9.0

func BootServerArrayFailJSONMocked(t *testing.T, serverArrayIn *types.ServerArray) *types.ServerArray

BootServerArrayFailJSONMocked test mocked function

func BootServerArrayFailStatusMocked added in v0.9.0

func BootServerArrayFailStatusMocked(t *testing.T, serverArrayIn *types.ServerArray) *types.ServerArray

BootServerArrayFailStatusMocked test mocked function

func BootServerArrayMocked added in v0.9.0

func BootServerArrayMocked(t *testing.T, serverArrayIn *types.ServerArray) *types.ServerArray

BootServerArrayMocked test mocked function

func BootServerFailErrMocked

func BootServerFailErrMocked(t *testing.T, serverIn *types.Server) *types.Server

BootServerFailErrMocked test mocked function

func BootServerFailJSONMocked

func BootServerFailJSONMocked(t *testing.T, serverIn *types.Server) *types.Server

BootServerFailJSONMocked test mocked function

func BootServerFailStatusMocked

func BootServerFailStatusMocked(t *testing.T, serverIn *types.Server) *types.Server

BootServerFailStatusMocked test mocked function

func BootServerMocked

func BootServerMocked(t *testing.T, serverIn *types.Server) *types.Server

BootServerMocked test mocked function

func CreateSSHProfileFailErrMocked

func CreateSSHProfileFailErrMocked(t *testing.T, sshProfileIn *types.SSHProfile) *types.SSHProfile

CreateSSHProfileFailErrMocked test mocked function

func CreateSSHProfileFailJSONMocked

func CreateSSHProfileFailJSONMocked(t *testing.T, sshProfileIn *types.SSHProfile) *types.SSHProfile

CreateSSHProfileFailJSONMocked test mocked function

func CreateSSHProfileFailStatusMocked

func CreateSSHProfileFailStatusMocked(t *testing.T, sshProfileIn *types.SSHProfile) *types.SSHProfile

CreateSSHProfileFailStatusMocked test mocked function

func CreateSSHProfileMocked

func CreateSSHProfileMocked(t *testing.T, sshProfileIn *types.SSHProfile) *types.SSHProfile

CreateSSHProfileMocked test mocked function

func CreateServerArrayFailErrMocked added in v0.9.0

func CreateServerArrayFailErrMocked(t *testing.T, serverArrayIn *types.ServerArray) *types.ServerArray

CreateServerArrayFailErrMocked test mocked function

func CreateServerArrayFailJSONMocked added in v0.9.0

func CreateServerArrayFailJSONMocked(t *testing.T, serverArrayIn *types.ServerArray) *types.ServerArray

CreateServerArrayFailJSONMocked test mocked function

func CreateServerArrayFailStatusMocked added in v0.9.0

func CreateServerArrayFailStatusMocked(t *testing.T, serverArrayIn *types.ServerArray) *types.ServerArray

CreateServerArrayFailStatusMocked test mocked function

func CreateServerArrayMocked added in v0.9.0

func CreateServerArrayMocked(t *testing.T, serverArrayIn *types.ServerArray) *types.ServerArray

CreateServerArrayMocked test mocked function

func CreateServerFailErrMocked

func CreateServerFailErrMocked(t *testing.T, serverIn *types.Server) *types.Server

CreateServerFailErrMocked test mocked function

func CreateServerFailJSONMocked

func CreateServerFailJSONMocked(t *testing.T, serverIn *types.Server) *types.Server

CreateServerFailJSONMocked test mocked function

func CreateServerFailStatusMocked

func CreateServerFailStatusMocked(t *testing.T, serverIn *types.Server) *types.Server

CreateServerFailStatusMocked test mocked function

func CreateServerMocked

func CreateServerMocked(t *testing.T, serverIn *types.Server) *types.Server

CreateServerMocked test mocked function

func DeleteSSHProfileFailErrMocked

func DeleteSSHProfileFailErrMocked(t *testing.T, sshProfileIn *types.SSHProfile)

DeleteSSHProfileFailErrMocked test mocked function

func DeleteSSHProfileFailStatusMocked

func DeleteSSHProfileFailStatusMocked(t *testing.T, sshProfileIn *types.SSHProfile)

DeleteSSHProfileFailStatusMocked test mocked function

func DeleteSSHProfileMocked

func DeleteSSHProfileMocked(t *testing.T, sshProfileIn *types.SSHProfile)

DeleteSSHProfileMocked test mocked function

func DeleteServerArrayFailErrMocked added in v0.9.0

func DeleteServerArrayFailErrMocked(t *testing.T, serverArrayIn *types.ServerArray)

DeleteServerArrayFailErrMocked test mocked function

func DeleteServerArrayFailStatusMocked added in v0.9.0

func DeleteServerArrayFailStatusMocked(t *testing.T, serverArrayIn *types.ServerArray)

DeleteServerArrayFailStatusMocked test mocked function

func DeleteServerArrayMocked added in v0.9.0

func DeleteServerArrayMocked(t *testing.T, serverArrayIn *types.ServerArray)

DeleteServerArrayMocked test mocked function

func DeleteServerFailErrMocked

func DeleteServerFailErrMocked(t *testing.T, serverIn *types.Server)

DeleteServerFailErrMocked test mocked function

func DeleteServerFailStatusMocked

func DeleteServerFailStatusMocked(t *testing.T, serverIn *types.Server)

DeleteServerFailStatusMocked test mocked function

func DeleteServerMocked

func DeleteServerMocked(t *testing.T, serverIn *types.Server)

DeleteServerMocked test mocked function

func EmptyServerArrayFailErrMocked added in v0.9.0

func EmptyServerArrayFailErrMocked(t *testing.T, serverArrayIn *types.ServerArray) *types.ServerArray

EmptyServerArrayFailErrMocked test mocked function

func EmptyServerArrayFailJSONMocked added in v0.9.0

func EmptyServerArrayFailJSONMocked(t *testing.T, serverArrayIn *types.ServerArray) *types.ServerArray

EmptyServerArrayFailJSONMocked test mocked function

func EmptyServerArrayFailStatusMocked added in v0.9.0

func EmptyServerArrayFailStatusMocked(t *testing.T, serverArrayIn *types.ServerArray) *types.ServerArray

EmptyServerArrayFailStatusMocked test mocked function

func EmptyServerArrayMocked added in v0.9.0

func EmptyServerArrayMocked(t *testing.T, serverArrayIn *types.ServerArray) *types.ServerArray

EmptyServerArrayMocked test mocked function

func EnlargeServerArrayFailErrMocked added in v0.9.0

func EnlargeServerArrayFailErrMocked(t *testing.T, serverArrayIn *types.ServerArray) *types.ServerArray

EnlargeServerArrayFailErrMocked test mocked function

func EnlargeServerArrayFailJSONMocked added in v0.9.0

func EnlargeServerArrayFailJSONMocked(t *testing.T, serverArrayIn *types.ServerArray) *types.ServerArray

EnlargeServerArrayFailJSONMocked test mocked function

func EnlargeServerArrayFailStatusMocked added in v0.9.0

func EnlargeServerArrayFailStatusMocked(t *testing.T, serverArrayIn *types.ServerArray) *types.ServerArray

EnlargeServerArrayFailStatusMocked test mocked function

func EnlargeServerArrayMocked added in v0.9.0

func EnlargeServerArrayMocked(t *testing.T, serverArrayIn *types.ServerArray) *types.ServerArray

EnlargeServerArrayMocked test mocked function

func ExecuteOperationalScriptFailErrMocked

func ExecuteOperationalScriptFailErrMocked(t *testing.T, scriptIn *types.ScriptChar, serverID string) *types.Event

ExecuteOperationalScriptFailErrMocked test mocked function

func ExecuteOperationalScriptFailJSONMocked

func ExecuteOperationalScriptFailJSONMocked(t *testing.T, scriptIn *types.ScriptChar, serverID string) *types.Event

ExecuteOperationalScriptFailJSONMocked test mocked function

func ExecuteOperationalScriptFailStatusMocked

func ExecuteOperationalScriptFailStatusMocked(t *testing.T, scriptIn *types.ScriptChar, serverID string) *types.Event

ExecuteOperationalScriptFailStatusMocked test mocked function

func ExecuteOperationalScriptListMocked

func ExecuteOperationalScriptListMocked(t *testing.T, scriptIn *types.ScriptChar, serverID string, eventDataIn *types.Event) *types.Event

ExecuteOperationalScriptListMocked test mocked function

func GetCloudProviderListFailErrMocked

func GetCloudProviderListFailErrMocked(t *testing.T, cloudProvidersIn []*types.CloudProvider) []*types.CloudProvider

GetCloudProviderListFailErrMocked test mocked function

func GetCloudProviderListFailJSONMocked

func GetCloudProviderListFailJSONMocked(t *testing.T, cloudProvidersIn []*types.CloudProvider) []*types.CloudProvider

GetCloudProviderListFailJSONMocked test mocked function

func GetCloudProviderListFailStatusMocked

func GetCloudProviderListFailStatusMocked(t *testing.T, cloudProvidersIn []*types.CloudProvider) []*types.CloudProvider

GetCloudProviderListFailStatusMocked test mocked function

func GetCloudProviderListMocked

func GetCloudProviderListMocked(t *testing.T, cloudProvidersIn []*types.CloudProvider) []*types.CloudProvider

GetCloudProviderListMocked test mocked function

func GetGenericImageListFailErrMocked

func GetGenericImageListFailErrMocked(t *testing.T, genericImagesIn []*types.GenericImage) []*types.GenericImage

GetGenericImageListFailErrMocked test mocked function

func GetGenericImageListFailJSONMocked

func GetGenericImageListFailJSONMocked(t *testing.T, genericImagesIn []*types.GenericImage) []*types.GenericImage

GetGenericImageListFailJSONMocked test mocked function

func GetGenericImageListFailStatusMocked

func GetGenericImageListFailStatusMocked(t *testing.T, genericImagesIn []*types.GenericImage) []*types.GenericImage

GetGenericImageListFailStatusMocked test mocked function

func GetGenericImageListMocked

func GetGenericImageListMocked(t *testing.T, genericImagesIn []*types.GenericImage) []*types.GenericImage

GetGenericImageListMocked test mocked function

func GetOperationalScriptFailErrMocked

func GetOperationalScriptFailErrMocked(t *testing.T, scriptsIn []*types.ScriptChar, serverID string) []*types.ScriptChar

GetOperationalScriptFailErrMocked test mocked function

func GetOperationalScriptFailJSONMocked

func GetOperationalScriptFailJSONMocked(t *testing.T, scriptsIn []*types.ScriptChar, serverID string) []*types.ScriptChar

GetOperationalScriptFailJSONMocked test mocked function

func GetOperationalScriptFailStatusMocked

func GetOperationalScriptFailStatusMocked(t *testing.T, scriptsIn []*types.ScriptChar, serverID string) []*types.ScriptChar

GetOperationalScriptFailStatusMocked test mocked function

func GetOperationalScriptListMocked

func GetOperationalScriptListMocked(t *testing.T, scriptsIn []*types.ScriptChar, serverID string) []*types.ScriptChar

GetOperationalScriptListMocked test mocked function

func GetSSHProfileFailErrMocked

func GetSSHProfileFailErrMocked(t *testing.T, sshProfile *types.SSHProfile) *types.SSHProfile

GetSSHProfileFailErrMocked test mocked function

func GetSSHProfileFailJSONMocked

func GetSSHProfileFailJSONMocked(t *testing.T, sshProfile *types.SSHProfile) *types.SSHProfile

GetSSHProfileFailJSONMocked test mocked function

func GetSSHProfileFailStatusMocked

func GetSSHProfileFailStatusMocked(t *testing.T, sshProfile *types.SSHProfile) *types.SSHProfile

GetSSHProfileFailStatusMocked test mocked function

func GetSSHProfileListFailErrMocked

func GetSSHProfileListFailErrMocked(t *testing.T, sshProfilesIn []*types.SSHProfile) []*types.SSHProfile

GetSSHProfileListFailErrMocked test mocked function

func GetSSHProfileListFailJSONMocked

func GetSSHProfileListFailJSONMocked(t *testing.T, sshProfilesIn []*types.SSHProfile) []*types.SSHProfile

GetSSHProfileListFailJSONMocked test mocked function

func GetSSHProfileListFailStatusMocked

func GetSSHProfileListFailStatusMocked(t *testing.T, sshProfilesIn []*types.SSHProfile) []*types.SSHProfile

GetSSHProfileListFailStatusMocked test mocked function

func GetSSHProfileListMocked

func GetSSHProfileListMocked(t *testing.T, sshProfilesIn []*types.SSHProfile) []*types.SSHProfile

GetSSHProfileListMocked test mocked function

func GetSSHProfileMocked

func GetSSHProfileMocked(t *testing.T, sshProfile *types.SSHProfile) *types.SSHProfile

GetSSHProfileMocked test mocked function

func GetServerArrayFailErrMocked added in v0.9.0

func GetServerArrayFailErrMocked(t *testing.T, serverArrayIn *types.ServerArray) *types.ServerArray

GetServerArrayFailErrMocked test mocked function

func GetServerArrayFailJSONMocked added in v0.9.0

func GetServerArrayFailJSONMocked(t *testing.T, serverArrayIn *types.ServerArray) *types.ServerArray

GetServerArrayFailJSONMocked test mocked function

func GetServerArrayFailStatusMocked added in v0.9.0

func GetServerArrayFailStatusMocked(t *testing.T, serverArrayIn *types.ServerArray) *types.ServerArray

GetServerArrayFailStatusMocked test mocked function

func GetServerArrayListFailErrMocked added in v0.9.0

func GetServerArrayListFailErrMocked(t *testing.T, serverArraysIn []*types.ServerArray) []*types.ServerArray

GetServerArrayListFailErrMocked test mocked function

func GetServerArrayListFailJSONMocked added in v0.9.0

func GetServerArrayListFailJSONMocked(t *testing.T, serverArraysIn []*types.ServerArray) []*types.ServerArray

GetServerArrayListFailJSONMocked test mocked function

func GetServerArrayListFailStatusMocked added in v0.9.0

func GetServerArrayListFailStatusMocked(t *testing.T, serverArraysIn []*types.ServerArray) []*types.ServerArray

GetServerArrayListFailStatusMocked test mocked function

func GetServerArrayListMocked added in v0.9.0

func GetServerArrayListMocked(t *testing.T, serverArraysIn []*types.ServerArray) []*types.ServerArray

GetServerArrayListMocked test mocked function

func GetServerArrayMocked added in v0.9.0

func GetServerArrayMocked(t *testing.T, serverArrayIn *types.ServerArray) *types.ServerArray

GetServerArrayMocked test mocked function

func GetServerArrayServerListFailErrMocked added in v0.9.0

func GetServerArrayServerListFailErrMocked(t *testing.T, serversIn []*types.Server, serverArrayID string) []*types.Server

GetServerArrayServerListFailErrMocked test mocked function

func GetServerArrayServerListFailJSONMocked added in v0.9.0

func GetServerArrayServerListFailJSONMocked(t *testing.T, serversIn []*types.Server, serverArrayID string) []*types.Server

GetServerArrayServerListFailJSONMocked test mocked function

func GetServerArrayServerListFailStatusMocked added in v0.9.0

func GetServerArrayServerListFailStatusMocked(t *testing.T, serversIn []*types.Server, serverArrayID string) []*types.Server

GetServerArrayServerListFailStatusMocked test mocked function

func GetServerArrayServerListMocked added in v0.9.0

func GetServerArrayServerListMocked(t *testing.T, serversIn []*types.Server, serverArrayID string) []*types.Server

GetServerArrayServerListMocked test mocked function

func GetServerEventListFailErrMocked

func GetServerEventListFailErrMocked(t *testing.T, eventsIn []*types.Event, serverID string) []*types.Event

GetServerEventListFailErrMocked test mocked function

func GetServerEventListFailJSONMocked

func GetServerEventListFailJSONMocked(t *testing.T, eventsIn []*types.Event, serverID string) []*types.Event

GetServerEventListFailJSONMocked test mocked function

func GetServerEventListFailStatusMocked

func GetServerEventListFailStatusMocked(t *testing.T, eventsIn []*types.Event, serverID string) []*types.Event

GetServerEventListFailStatusMocked test mocked function

func GetServerEventListMocked

func GetServerEventListMocked(t *testing.T, eventsIn []*types.Event, serverID string) []*types.Event

GetServerEventListMocked test mocked function

func GetServerFailErrMocked

func GetServerFailErrMocked(t *testing.T, server *types.Server) *types.Server

GetServerFailErrMocked test mocked function

func GetServerFailJSONMocked

func GetServerFailJSONMocked(t *testing.T, server *types.Server) *types.Server

GetServerFailJSONMocked test mocked function

func GetServerFailStatusMocked

func GetServerFailStatusMocked(t *testing.T, server *types.Server) *types.Server

GetServerFailStatusMocked test mocked function

func GetServerFloatingIPListFailErrMocked added in v0.9.0

func GetServerFloatingIPListFailErrMocked(t *testing.T, floatingIPsIn []*types.FloatingIP, serverID string) []*types.FloatingIP

GetServerFloatingIPListFailErrMocked test mocked function

func GetServerFloatingIPListFailJSONMocked added in v0.9.0

func GetServerFloatingIPListFailJSONMocked(t *testing.T, floatingIPsIn []*types.FloatingIP, serverID string) []*types.FloatingIP

GetServerFloatingIPListFailJSONMocked test mocked function

func GetServerFloatingIPListFailStatusMocked added in v0.9.0

func GetServerFloatingIPListFailStatusMocked(t *testing.T, floatingIPsIn []*types.FloatingIP, serverID string) []*types.FloatingIP

GetServerFloatingIPListFailStatusMocked test mocked function

func GetServerFloatingIPListMocked added in v0.9.0

func GetServerFloatingIPListMocked(t *testing.T, floatingIPsIn []*types.FloatingIP, serverID string) []*types.FloatingIP

GetServerFloatingIPListMocked test mocked function

func GetServerListFailErrMocked

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

GetServerListFailErrMocked test mocked function

func GetServerListFailJSONMocked

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

GetServerListFailJSONMocked test mocked function

func GetServerListFailStatusMocked

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

GetServerListFailStatusMocked test mocked function

func GetServerListMocked

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

GetServerListMocked test mocked function

func GetServerMocked

func GetServerMocked(t *testing.T, server *types.Server) *types.Server

GetServerMocked test mocked function

func GetServerPlanFailErrMocked

func GetServerPlanFailErrMocked(t *testing.T, serverPlan *types.ServerPlan) *types.ServerPlan

GetServerPlanFailErrMocked test mocked function

func GetServerPlanFailJSONMocked

func GetServerPlanFailJSONMocked(t *testing.T, serverPlan *types.ServerPlan) *types.ServerPlan

GetServerPlanFailJSONMocked test mocked function

func GetServerPlanFailStatusMocked

func GetServerPlanFailStatusMocked(t *testing.T, serverPlan *types.ServerPlan) *types.ServerPlan

GetServerPlanFailStatusMocked test mocked function

func GetServerPlanListFailErrMocked

func GetServerPlanListFailErrMocked(t *testing.T, serverPlansIn []*types.ServerPlan, cloudProviderId string) []*types.ServerPlan

GetServerPlanListFailErrMocked test mocked function

func GetServerPlanListFailJSONMocked

func GetServerPlanListFailJSONMocked(t *testing.T, serverPlansIn []*types.ServerPlan, cloudProviderId string) []*types.ServerPlan

GetServerPlanListFailJSONMocked test mocked function

func GetServerPlanListFailStatusMocked

func GetServerPlanListFailStatusMocked(t *testing.T, serverPlansIn []*types.ServerPlan, cloudProviderId string) []*types.ServerPlan

GetServerPlanListFailStatusMocked test mocked function

func GetServerPlanListMocked

func GetServerPlanListMocked(t *testing.T, serverPlansIn []*types.ServerPlan, cloudProviderId string) []*types.ServerPlan

GetServerPlanListMocked test mocked function

func GetServerPlanMocked

func GetServerPlanMocked(t *testing.T, serverPlan *types.ServerPlan) *types.ServerPlan

GetServerPlanMocked test mocked function

func GetServerStoragePlanListFailErrMocked added in v0.9.0

func GetServerStoragePlanListFailErrMocked(t *testing.T, storagePlansIn []*types.StoragePlan, providerID string) []*types.StoragePlan

GetServerStoragePlanListFailErrMocked test mocked function

func GetServerStoragePlanListFailJSONMocked added in v0.9.0

func GetServerStoragePlanListFailJSONMocked(t *testing.T, storagePlansIn []*types.StoragePlan, providerID string) []*types.StoragePlan

GetServerStoragePlanListFailJSONMocked test mocked function

func GetServerStoragePlanListFailStatusMocked added in v0.9.0

func GetServerStoragePlanListFailStatusMocked(t *testing.T, storagePlansIn []*types.StoragePlan, providerID string) []*types.StoragePlan

GetServerStoragePlanListFailStatusMocked test mocked function

func GetServerStoragePlanListMocked added in v0.9.0

func GetServerStoragePlanListMocked(t *testing.T, storagePlansIn []*types.StoragePlan, providerID string) []*types.StoragePlan

GetServerStoragePlanListMocked test mocked function

func GetServerVolumesListFailErrMocked added in v0.9.0

func GetServerVolumesListFailErrMocked(t *testing.T, volumesIn []*types.Volume, serverID string) []*types.Volume

GetServerVolumesListFailErrMocked test mocked function

func GetServerVolumesListFailJSONMocked added in v0.9.0

func GetServerVolumesListFailJSONMocked(t *testing.T, volumesIn []*types.Volume, serverID string) []*types.Volume

GetServerVolumesListFailJSONMocked test mocked function

func GetServerVolumesListFailStatusMocked added in v0.9.0

func GetServerVolumesListFailStatusMocked(t *testing.T, volumesIn []*types.Volume, serverID string) []*types.Volume

GetServerVolumesListFailStatusMocked test mocked function

func GetServerVolumesListMocked added in v0.9.0

func GetServerVolumesListMocked(t *testing.T, volumesIn []*types.Volume, serverID string) []*types.Volume

GetServerVolumesListMocked test mocked function

func OverrideServerFailErrMocked

func OverrideServerFailErrMocked(t *testing.T, serverIn *types.Server) *types.Server

OverrideServerFailErrMocked test mocked function

func OverrideServerFailJSONMocked

func OverrideServerFailJSONMocked(t *testing.T, serverIn *types.Server) *types.Server

OverrideServerFailJSONMocked test mocked function

func OverrideServerFailStatusMocked

func OverrideServerFailStatusMocked(t *testing.T, serverIn *types.Server) *types.Server

OverrideServerFailStatusMocked test mocked function

func OverrideServerMocked

func OverrideServerMocked(t *testing.T, serverIn *types.Server) *types.Server

OverrideServerMocked test mocked function

func RebootServerFailErrMocked

func RebootServerFailErrMocked(t *testing.T, serverIn *types.Server) *types.Server

RebootServerFailErrMocked test mocked function

func RebootServerFailJSONMocked

func RebootServerFailJSONMocked(t *testing.T, serverIn *types.Server) *types.Server

RebootServerFailJSONMocked test mocked function

func RebootServerFailStatusMocked

func RebootServerFailStatusMocked(t *testing.T, serverIn *types.Server) *types.Server

RebootServerFailStatusMocked test mocked function

func RebootServerMocked

func RebootServerMocked(t *testing.T, serverIn *types.Server) *types.Server

RebootServerMocked test mocked function

func ShutdownServerArrayFailErrMocked added in v0.9.0

func ShutdownServerArrayFailErrMocked(t *testing.T, serverArrayIn *types.ServerArray) *types.ServerArray

ShutdownServerArrayFailErrMocked test mocked function

func ShutdownServerArrayFailJSONMocked added in v0.9.0

func ShutdownServerArrayFailJSONMocked(t *testing.T, serverArrayIn *types.ServerArray) *types.ServerArray

ShutdownServerArrayFailJSONMocked test mocked function

func ShutdownServerArrayFailStatusMocked added in v0.9.0

func ShutdownServerArrayFailStatusMocked(t *testing.T, serverArrayIn *types.ServerArray) *types.ServerArray

ShutdownServerArrayFailStatusMocked test mocked function

func ShutdownServerArrayMocked added in v0.9.0

func ShutdownServerArrayMocked(t *testing.T, serverArrayIn *types.ServerArray) *types.ServerArray

ShutdownServerArrayMocked test mocked function

func ShutdownServerFailErrMocked

func ShutdownServerFailErrMocked(t *testing.T, serverIn *types.Server) *types.Server

ShutdownServerFailErrMocked test mocked function

func ShutdownServerFailJSONMocked

func ShutdownServerFailJSONMocked(t *testing.T, serverIn *types.Server) *types.Server

ShutdownServerFailJSONMocked test mocked function

func ShutdownServerFailStatusMocked

func ShutdownServerFailStatusMocked(t *testing.T, serverIn *types.Server) *types.Server

ShutdownServerFailStatusMocked test mocked function

func ShutdownServerMocked

func ShutdownServerMocked(t *testing.T, serverIn *types.Server) *types.Server

ShutdownServerMocked test mocked function

func UpdateSSHProfileFailErrMocked

func UpdateSSHProfileFailErrMocked(t *testing.T, sshProfileIn *types.SSHProfile) *types.SSHProfile

UpdateSSHProfileFailErrMocked test mocked function

func UpdateSSHProfileFailJSONMocked

func UpdateSSHProfileFailJSONMocked(t *testing.T, sshProfileIn *types.SSHProfile) *types.SSHProfile

UpdateSSHProfileFailJSONMocked test mocked function

func UpdateSSHProfileFailStatusMocked

func UpdateSSHProfileFailStatusMocked(t *testing.T, sshProfileIn *types.SSHProfile) *types.SSHProfile

UpdateSSHProfileFailStatusMocked test mocked function

func UpdateSSHProfileMocked

func UpdateSSHProfileMocked(t *testing.T, sshProfileIn *types.SSHProfile) *types.SSHProfile

UpdateSSHProfileMocked test mocked function

func UpdateServerArrayFailErrMocked added in v0.9.0

func UpdateServerArrayFailErrMocked(t *testing.T, serverArrayIn *types.ServerArray) *types.ServerArray

UpdateServerArrayFailErrMocked test mocked function

func UpdateServerArrayFailJSONMocked added in v0.9.0

func UpdateServerArrayFailJSONMocked(t *testing.T, serverArrayIn *types.ServerArray) *types.ServerArray

UpdateServerArrayFailJSONMocked test mocked function

func UpdateServerArrayFailStatusMocked added in v0.9.0

func UpdateServerArrayFailStatusMocked(t *testing.T, serverArrayIn *types.ServerArray) *types.ServerArray

UpdateServerArrayFailStatusMocked test mocked function

func UpdateServerArrayMocked added in v0.9.0

func UpdateServerArrayMocked(t *testing.T, serverArrayIn *types.ServerArray) *types.ServerArray

UpdateServerArrayMocked test mocked function

func UpdateServerFailErrMocked

func UpdateServerFailErrMocked(t *testing.T, serverIn *types.Server) *types.Server

UpdateServerFailErrMocked test mocked function

func UpdateServerFailJSONMocked

func UpdateServerFailJSONMocked(t *testing.T, serverIn *types.Server) *types.Server

UpdateServerFailJSONMocked test mocked function

func UpdateServerFailStatusMocked

func UpdateServerFailStatusMocked(t *testing.T, serverIn *types.Server) *types.Server

UpdateServerFailStatusMocked test mocked function

func UpdateServerMocked

func UpdateServerMocked(t *testing.T, serverIn *types.Server) *types.Server

UpdateServerMocked test mocked function

Types

type CloudProviderService

type CloudProviderService struct {
	// contains filtered or unexported fields
}

CloudProviderService manages cloudProvider operations

func NewCloudProviderService

func NewCloudProviderService(concertoService utils.ConcertoService) (*CloudProviderService, error)

NewCloudProviderService returns a Concerto cloudProvider service

func (*CloudProviderService) GetCloudProviderList

func (cl *CloudProviderService) GetCloudProviderList() (cloudProviders []*types.CloudProvider, err error)

GetCloudProviderList returns the list of cloudProviders as an array of CloudProvider

func (*CloudProviderService) GetServerStoragePlanList added in v0.9.0

func (dm *CloudProviderService) GetServerStoragePlanList(providerID string) (storagePlans []*types.StoragePlan, err error)

GetServerStoragePlanList returns the list of storage plans as an array of StoragePlan

type GenericImageService

type GenericImageService struct {
	// contains filtered or unexported fields
}

GenericImageService manages genericImage operations

func NewGenericImageService

func NewGenericImageService(concertoService utils.ConcertoService) (*GenericImageService, error)

NewGenericImageService returns a Concerto genericImage service

func (*GenericImageService) GetGenericImageList

func (cl *GenericImageService) GetGenericImageList() (genericImages []*types.GenericImage, err error)

GetGenericImageList returns the list of generic images as an array of GenericImage

type SSHProfileService

type SSHProfileService struct {
	// contains filtered or unexported fields
}

SSHProfileService manages sshProfile operations

func NewSSHProfileService

func NewSSHProfileService(concertoService utils.ConcertoService) (*SSHProfileService, error)

NewSSHProfileService returns a Concerto sshProfile service

func (*SSHProfileService) CreateSSHProfile

func (dm *SSHProfileService) CreateSSHProfile(sshProfileVector *map[string]interface{}) (sshProfile *types.SSHProfile, err error)

CreateSSHProfile creates a sshProfile

func (*SSHProfileService) DeleteSSHProfile

func (dm *SSHProfileService) DeleteSSHProfile(ID string) (err error)

DeleteSSHProfile deletes a sshProfile by its ID

func (*SSHProfileService) GetSSHProfile

func (dm *SSHProfileService) GetSSHProfile(ID string) (sshProfile *types.SSHProfile, err error)

GetSSHProfile returns a sshProfile by its ID

func (*SSHProfileService) GetSSHProfileList

func (dm *SSHProfileService) GetSSHProfileList() (sshProfiles []*types.SSHProfile, err error)

GetSSHProfileList returns the list of sshProfiles as an array of SSHProfile

func (*SSHProfileService) UpdateSSHProfile

func (dm *SSHProfileService) UpdateSSHProfile(sshProfileVector *map[string]interface{}, ID string) (sshProfile *types.SSHProfile, err error)

UpdateSSHProfile updates a sshProfile by its ID

type ServerArrayService added in v0.9.0

type ServerArrayService struct {
	// contains filtered or unexported fields
}

ServerArrayService manages server array operations

func NewServerArrayService added in v0.9.0

func NewServerArrayService(concertoService utils.ConcertoService) (*ServerArrayService, error)

NewServerArrayService returns a Concerto server array service

func (*ServerArrayService) BootServerArray added in v0.9.0

func (sas *ServerArrayService) BootServerArray(serverArrayVector *map[string]interface{}, serverArrayID string) (serverArray *types.ServerArray, err error)

BootServerArray boots a server array by its ID

func (*ServerArrayService) CreateServerArray added in v0.9.0

func (sas *ServerArrayService) CreateServerArray(serverArrayVector *map[string]interface{}) (serverArray *types.ServerArray, err error)

CreateServerArray creates a server array

func (*ServerArrayService) DeleteServerArray added in v0.9.0

func (sas *ServerArrayService) DeleteServerArray(serverArrayID string) (err error)

DeleteServerArray deletes a server array by its ID

func (*ServerArrayService) EmptyServerArray added in v0.9.0

func (sas *ServerArrayService) EmptyServerArray(serverArrayVector *map[string]interface{}, serverArrayID string) (serverArray *types.ServerArray, err error)

EmptyServerArray empties a server array by its ID

func (*ServerArrayService) EnlargeServerArray added in v0.9.0

func (sas *ServerArrayService) EnlargeServerArray(serverArrayVector *map[string]interface{}, serverArrayID string) (serverArray *types.ServerArray, err error)

EnlargeServerArray enlarges a server array by its ID

func (*ServerArrayService) GetServerArray added in v0.9.0

func (sas *ServerArrayService) GetServerArray(serverArrayID string) (serverArray *types.ServerArray, err error)

GetServerArray returns a server array by its ID

func (*ServerArrayService) GetServerArrayList added in v0.9.0

func (sas *ServerArrayService) GetServerArrayList() (serverArrays []*types.ServerArray, err error)

GetServerArrayList returns the list of server arrays as an array of ServerArray

func (*ServerArrayService) GetServerArrayServerList added in v0.9.0

func (sas *ServerArrayService) GetServerArrayServerList(serverArrayID string) (servers []*types.Server, err error)

GetServerArrayServerList returns the list of servers in a server array as an array of Server

func (*ServerArrayService) ShutdownServerArray added in v0.9.0

func (sas *ServerArrayService) ShutdownServerArray(serverArrayVector *map[string]interface{}, serverArrayID string) (serverArray *types.ServerArray, err error)

ShutdownServerArray shuts down a server array by its ID

func (*ServerArrayService) UpdateServerArray added in v0.9.0

func (sas *ServerArrayService) UpdateServerArray(serverArrayVector *map[string]interface{}, serverArrayID string) (serverArray *types.ServerArray, err error)

UpdateServerArray updates a server array by its ID

type ServerPlanService

type ServerPlanService struct {
	// contains filtered or unexported fields
}

ServerPlanService manages serverPlan operations

func NewServerPlanService

func NewServerPlanService(concertoService utils.ConcertoService) (*ServerPlanService, error)

NewServerPlanService returns a Concerto serverPlan service

func (*ServerPlanService) GetServerPlan

func (dm *ServerPlanService) GetServerPlan(ID string) (serverPlan *types.ServerPlan, err error)

GetServerPlan returns a serverPlan by its ID

func (*ServerPlanService) GetServerPlanList

func (dm *ServerPlanService) GetServerPlanList(ProviderID string) (serverPlans []*types.ServerPlan, err error)

GetServerPlanList returns the list of serverPlans as an array of ServerPlan

type ServerService

type ServerService struct {
	// contains filtered or unexported fields
}

ServerService manages server operations

func NewServerService

func NewServerService(concertoService utils.ConcertoService) (*ServerService, error)

NewServerService returns a Concerto server service

func (*ServerService) BootServer

func (dm *ServerService) BootServer(serverVector *map[string]interface{}, ID string) (server *types.Server, err error)

BootServer boots a server by its ID

func (*ServerService) CreateServer

func (dm *ServerService) CreateServer(serverVector *map[string]interface{}) (server *types.Server, err error)

CreateServer creates a server

func (*ServerService) DeleteServer

func (dm *ServerService) DeleteServer(ID string) (err error)

DeleteServer deletes a server by its ID

func (*ServerService) ExecuteOperationalScript

func (dm *ServerService) ExecuteOperationalScript(serverVector *map[string]interface{}, serverID string, scriptID string) (script *types.Event, err error)

ExecuteOperationalScript executes an operational script by its server ID and the script id

func (*ServerService) GetEventsList

func (dm *ServerService) GetEventsList(serverID string) (events []*types.Event, err error)

GetEventsList returns a list of events by server ID

func (*ServerService) GetOperationalScriptsList

func (dm *ServerService) GetOperationalScriptsList(serverID string) (scripts []*types.ScriptChar, err error)

GetOperationalScriptsList returns a list of scripts by server ID

func (*ServerService) GetServer

func (dm *ServerService) GetServer(ID string) (server *types.Server, err error)

GetServer returns a server by its ID

func (*ServerService) GetServerFloatingIPList added in v0.9.0

func (dm *ServerService) GetServerFloatingIPList(serverID string) (floatingIPs []*types.FloatingIP, err error)

GetServerFloatingIPList returns the list of floating IPs as an array of FloatingIP

func (*ServerService) GetServerList

func (dm *ServerService) GetServerList() (servers []*types.Server, err error)

GetServerList returns the list of servers as an array of Server

func (*ServerService) GetServerVolumesList added in v0.9.0

func (dm *ServerService) GetServerVolumesList(serverID string) (volumes []*types.Volume, err error)

GetServerVolumesList returns the list of volumes as an array of Volume

func (*ServerService) OverrideServer

func (dm *ServerService) OverrideServer(serverVector *map[string]interface{}, ID string) (server *types.Server, err error)

OverrideServer overrides a server by its ID

func (*ServerService) RebootServer

func (dm *ServerService) RebootServer(serverVector *map[string]interface{}, ID string) (server *types.Server, err error)

RebootServer reboots a server by its ID

func (*ServerService) ShutdownServer

func (dm *ServerService) ShutdownServer(serverVector *map[string]interface{}, ID string) (server *types.Server, err error)

ShutdownServer shuts down a server by its ID

func (*ServerService) UpdateServer

func (dm *ServerService) UpdateServer(serverVector *map[string]interface{}, ID string) (server *types.Server, err error)

UpdateServer updates a server by its ID

Jump to

Keyboard shortcuts

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