cloud

package
v0.14.0-beta1 Latest Latest
Warning

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

Go to latest
Published: Oct 29, 2021 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const APIPathCloudGenericImages = "/cloud/generic_images"
View Source
const APIPathCloudProviderClusterPlans = "/cloud/cloud_providers/%s/cluster_plans"
View Source
const APIPathCloudProviderLoadBalancerPlans = "/cloud/cloud_providers/%s/load_balancer_plans"
View Source
const APIPathCloudProviderRealms = "/cloud/cloud_providers/%s/realms"
View Source
const APIPathCloudProviderServerPlans = "/cloud/cloud_providers/%s/server_plans"
View Source
const APIPathCloudProviderStoragePlans = "/cloud/cloud_providers/%s/storage_plans"
View Source
const APIPathCloudProviders = "/cloud/cloud_providers"
View Source
const APIPathCloudRealm = "/cloud/realms/%s"
View Source
const APIPathCloudRealmNodePoolPlans = "/cloud/realms/%s/node_pool_plans"
View Source
const APIPathCloudSSHProfile = "/cloud/ssh_profiles/%s"
View Source
const APIPathCloudSSHProfiles = "/cloud/ssh_profiles"
View Source
const APIPathCloudServer = "/cloud/servers/%s"
View Source
const APIPathCloudServerArray = "/cloud/server_arrays/%s"
View Source
const APIPathCloudServerArrayBoot = "/cloud/server_arrays/%s/boot"
View Source
const APIPathCloudServerArrayEmpty = "/cloud/server_arrays/%s/empty"
View Source
const APIPathCloudServerArrayServers = "/cloud/server_arrays/%s/servers"
View Source
const APIPathCloudServerArrayShutdown = "/cloud/server_arrays/%s/shutdown"
View Source
const APIPathCloudServerArrays = "/cloud/server_arrays"
View Source
const APIPathCloudServerBoot = "/cloud/servers/%s/boot"
View Source
const APIPathCloudServerEvents = "/cloud/servers/%s/events"
View Source
const APIPathCloudServerFloatingIPs = "/cloud/servers/%s/floating_ips"
View Source
const APIPathCloudServerOperationalScriptExecute = "/cloud/servers/%s/operational_scripts/%s/execute"
View Source
const APIPathCloudServerOperationalScripts = "/cloud/servers/%s/operational_scripts"
View Source
const APIPathCloudServerOverride = "/cloud/servers/%s/override"
View Source
const APIPathCloudServerPlans = "/cloud/server_plans/%s"
View Source
const APIPathCloudServerReboot = "/cloud/servers/%s/reboot"
View Source
const APIPathCloudServerShutdown = "/cloud/servers/%s/shutdown"
View Source
const APIPathCloudServerVolumes = "/cloud/servers/%s/volumes"
View Source
const APIPathCloudServers = "/cloud/servers"
View Source
const APIPathPluginsToscaTemporaryArchiveExport = "/plugins/tosca/temporary_archives/%s/export"
View Source
const APIPathPluginsToscaTemporaryArchiveImport = "/plugins/tosca/temporary_archives/%s/import"
View Source
const APIPathPluginsToscaTemporaryArchives = "/plugins/tosca/temporary_archives"
View Source
const APIPathPluginsToscaTemporaryArchivesExport = "/plugins/tosca/temporary_archives/export"

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 CreateTemporaryArchiveExportFailErrMocked added in v0.12.0

func CreateTemporaryArchiveExportFailErrMocked(
	t *testing.T,
	temporaryArchiveExportIn *types.TemporaryArchiveExport,
) *types.TemporaryArchiveExport

CreateTemporaryArchiveExportFailErrMocked test mocked function

func CreateTemporaryArchiveExportFailJSONMocked added in v0.12.0

func CreateTemporaryArchiveExportFailJSONMocked(
	t *testing.T,
	temporaryArchiveExportIn *types.TemporaryArchiveExport,
) *types.TemporaryArchiveExport

CreateTemporaryArchiveExportFailJSONMocked test mocked function

func CreateTemporaryArchiveExportFailStatusMocked added in v0.12.0

func CreateTemporaryArchiveExportFailStatusMocked(
	t *testing.T,
	temporaryArchiveExportIn *types.TemporaryArchiveExport,
) *types.TemporaryArchiveExport

CreateTemporaryArchiveExportFailStatusMocked test mocked function

func CreateTemporaryArchiveExportMocked added in v0.12.0

func CreateTemporaryArchiveExportMocked(
	t *testing.T,
	temporaryArchiveExportIn *types.TemporaryArchiveExport,
) *types.TemporaryArchiveExport

CreateTemporaryArchiveExportMocked test mocked function

func CreateTemporaryArchiveFailErrMocked added in v0.12.0

func CreateTemporaryArchiveFailErrMocked(
	t *testing.T,
	temporaryArchiveIn *types.TemporaryArchive,
) *types.TemporaryArchive

CreateTemporaryArchiveFailErrMocked test mocked function

func CreateTemporaryArchiveFailJSONMocked added in v0.12.0

func CreateTemporaryArchiveFailJSONMocked(
	t *testing.T,
	temporaryArchiveIn *types.TemporaryArchive,
) *types.TemporaryArchive

CreateTemporaryArchiveFailJSONMocked test mocked function

func CreateTemporaryArchiveFailStatusMocked added in v0.12.0

func CreateTemporaryArchiveFailStatusMocked(
	t *testing.T,
	temporaryArchiveIn *types.TemporaryArchive,
) *types.TemporaryArchive

CreateTemporaryArchiveFailStatusMocked test mocked function

func CreateTemporaryArchiveImportFailErrMocked added in v0.12.0

func CreateTemporaryArchiveImportFailErrMocked(
	t *testing.T,
	temporaryArchiveID string,
	temporaryArchiveImportIn *types.TemporaryArchiveImport,
) *types.TemporaryArchiveImport

CreateTemporaryArchiveImportFailErrMocked test mocked function

func CreateTemporaryArchiveImportFailJSONMocked added in v0.12.0

func CreateTemporaryArchiveImportFailJSONMocked(
	t *testing.T,
	temporaryArchiveID string,
	temporaryArchiveImportIn *types.TemporaryArchiveImport,
) *types.TemporaryArchiveImport

CreateTemporaryArchiveImportFailJSONMocked test mocked function

func CreateTemporaryArchiveImportFailStatusMocked added in v0.12.0

func CreateTemporaryArchiveImportFailStatusMocked(
	t *testing.T,
	temporaryArchiveID string,
	temporaryArchiveImportIn *types.TemporaryArchiveImport,
) *types.TemporaryArchiveImport

CreateTemporaryArchiveImportFailStatusMocked test mocked function

func CreateTemporaryArchiveImportMocked added in v0.12.0

func CreateTemporaryArchiveImportMocked(
	t *testing.T,
	temporaryArchiveID string,
	temporaryArchiveImportIn *types.TemporaryArchiveImport,
) *types.TemporaryArchiveImport

CreateTemporaryArchiveImportMocked test mocked function

func CreateTemporaryArchiveMocked added in v0.12.0

func CreateTemporaryArchiveMocked(t *testing.T, temporaryArchiveIn *types.TemporaryArchive) *types.TemporaryArchive

CreateTemporaryArchiveMocked 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 DownloadTemporaryArchiveExportFailErrMocked added in v0.12.0

func DownloadTemporaryArchiveExportFailErrMocked(t *testing.T, downloadTemporaryArchiveExportDataIn map[string]string)

DownloadTemporaryArchiveExportFailErrMocked test mocked function

func DownloadTemporaryArchiveExportMocked added in v0.12.0

func DownloadTemporaryArchiveExportMocked(t *testing.T, downloadTemporaryArchiveExportDataIn map[string]string)

DownloadTemporaryArchiveExportMocked 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 GetRealmFailErrMocked added in v0.13.0

func GetRealmFailErrMocked(t *testing.T, realmIn *types.Realm) *types.Realm

GetRealmFailErrMocked test mocked function

func GetRealmFailJSONMocked added in v0.13.0

func GetRealmFailJSONMocked(t *testing.T, realmIn *types.Realm) *types.Realm

GetRealmFailJSONMocked test mocked function

func GetRealmFailStatusMocked added in v0.13.0

func GetRealmFailStatusMocked(t *testing.T, realmIn *types.Realm) *types.Realm

GetRealmFailStatusMocked test mocked function

func GetRealmMocked added in v0.13.0

func GetRealmMocked(t *testing.T, realmIn *types.Realm) *types.Realm

GetRealmMocked 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 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 GetServerArrayMocked added in v0.9.0

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

GetServerArrayMocked 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 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 GetServerPlanMocked

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

GetServerPlanMocked test mocked function

func GetTemporaryArchiveExportTaskFailErrMocked added in v0.12.0

func GetTemporaryArchiveExportTaskFailErrMocked(
	t *testing.T,
	temporaryArchiveExportTaskIn *types.TemporaryArchiveExportTask,
) *types.TemporaryArchiveExportTask

GetTemporaryArchiveExportTaskFailErrMocked test mocked function

func GetTemporaryArchiveExportTaskFailJSONMocked added in v0.12.0

func GetTemporaryArchiveExportTaskFailJSONMocked(
	t *testing.T,
	temporaryArchiveExportTaskIn *types.TemporaryArchiveExportTask,
) *types.TemporaryArchiveExportTask

GetTemporaryArchiveExportTaskFailJSONMocked test mocked function

func GetTemporaryArchiveExportTaskFailStatusMocked added in v0.12.0

func GetTemporaryArchiveExportTaskFailStatusMocked(
	t *testing.T,
	temporaryArchiveExportTaskIn *types.TemporaryArchiveExportTask,
) *types.TemporaryArchiveExportTask

GetTemporaryArchiveExportTaskFailStatusMocked test mocked function

func GetTemporaryArchiveExportTaskMocked added in v0.12.0

func GetTemporaryArchiveExportTaskMocked(
	t *testing.T,
	temporaryArchiveExportTaskIn *types.TemporaryArchiveExportTask,
) *types.TemporaryArchiveExportTask

GetTemporaryArchiveExportTaskMocked test mocked function

func GetTemporaryArchiveImportFailErrMocked added in v0.12.0

func GetTemporaryArchiveImportFailErrMocked(
	t *testing.T,
	temporaryArchiveImportIn *types.TemporaryArchiveImport,
) *types.TemporaryArchiveImport

GetTemporaryArchiveImportFailErrMocked test mocked function

func GetTemporaryArchiveImportFailJSONMocked added in v0.12.0

func GetTemporaryArchiveImportFailJSONMocked(
	t *testing.T,
	temporaryArchiveImportIn *types.TemporaryArchiveImport,
) *types.TemporaryArchiveImport

GetTemporaryArchiveImportFailJSONMocked test mocked function

func GetTemporaryArchiveImportFailStatusMocked added in v0.12.0

func GetTemporaryArchiveImportFailStatusMocked(
	t *testing.T,
	temporaryArchiveImportIn *types.TemporaryArchiveImport,
) *types.TemporaryArchiveImport

GetTemporaryArchiveImportFailStatusMocked test mocked function

func GetTemporaryArchiveImportMocked added in v0.12.0

func GetTemporaryArchiveImportMocked(
	t *testing.T,
	temporaryArchiveImportIn *types.TemporaryArchiveImport,
) *types.TemporaryArchiveImport

GetTemporaryArchiveImportMocked test mocked function

func ListCloudProvidersFailErrMocked added in v0.12.0

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

ListCloudProvidersFailErrMocked test mocked function

func ListCloudProvidersFailJSONMocked added in v0.12.0

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

ListCloudProvidersFailJSONMocked test mocked function

func ListCloudProvidersFailStatusMocked added in v0.12.0

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

ListCloudProvidersFailStatusMocked test mocked function

func ListCloudProvidersMocked added in v0.12.0

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

ListCloudProvidersMocked test mocked function

func ListClusterPlansFailErrMocked added in v0.13.0

func ListClusterPlansFailErrMocked(
	t *testing.T, clusterPlansIn []*types.ClusterPlan, providerID string,
) []*types.ClusterPlan

ListClusterPlansFailErrMocked test mocked function

func ListClusterPlansFailJSONMocked added in v0.13.0

func ListClusterPlansFailJSONMocked(
	t *testing.T, clusterPlansIn []*types.ClusterPlan, providerID string,
) []*types.ClusterPlan

ListClusterPlansFailJSONMocked test mocked function

func ListClusterPlansFailStatusMocked added in v0.13.0

func ListClusterPlansFailStatusMocked(
	t *testing.T, clusterPlansIn []*types.ClusterPlan, providerID string,
) []*types.ClusterPlan

ListClusterPlansFailStatusMocked test mocked function

func ListClusterPlansMocked added in v0.13.0

func ListClusterPlansMocked(t *testing.T, clusterPlansIn []*types.ClusterPlan, providerID string) []*types.ClusterPlan

ListClusterPlansMocked test mocked function

func ListEventsListFailErrMocked added in v0.12.0

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

ListEventsListFailErrMocked test mocked function

func ListEventsListFailJSONMocked added in v0.12.0

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

ListEventsListFailJSONMocked test mocked function

func ListEventsListFailStatusMocked added in v0.12.0

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

ListEventsListFailStatusMocked test mocked function

func ListEventsListMocked added in v0.12.0

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

ListEventsListMocked test mocked function

func ListGenericImagesFailErrMocked added in v0.12.0

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

ListGenericImagesFailErrMocked test mocked function

func ListGenericImagesFailJSONMocked added in v0.12.0

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

ListGenericImagesFailJSONMocked test mocked function

func ListGenericImagesFailStatusMocked added in v0.12.0

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

ListGenericImagesFailStatusMocked test mocked function

func ListGenericImagesMocked added in v0.12.0

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

ListGenericImagesMocked test mocked function

func ListLoadBalancerPlansFailErrMocked added in v0.12.0

func ListLoadBalancerPlansFailErrMocked(
	t *testing.T,
	loadBalancerPlansIn []*types.LoadBalancerPlan,
	providerID string,
) []*types.LoadBalancerPlan

ListLoadBalancerPlansFailErrMocked test mocked function

func ListLoadBalancerPlansFailJSONMocked added in v0.12.0

func ListLoadBalancerPlansFailJSONMocked(
	t *testing.T,
	loadBalancerPlansIn []*types.LoadBalancerPlan,
	providerID string,
) []*types.LoadBalancerPlan

ListLoadBalancerPlansFailJSONMocked test mocked function

func ListLoadBalancerPlansFailStatusMocked added in v0.12.0

func ListLoadBalancerPlansFailStatusMocked(
	t *testing.T,
	loadBalancerPlansIn []*types.LoadBalancerPlan,
	providerID string,
) []*types.LoadBalancerPlan

ListLoadBalancerPlansFailStatusMocked test mocked function

func ListLoadBalancerPlansMocked added in v0.12.0

func ListLoadBalancerPlansMocked(
	t *testing.T,
	loadBalancerPlansIn []*types.LoadBalancerPlan,
	providerID string,
) []*types.LoadBalancerPlan

ListLoadBalancerPlansMocked test mocked function

func ListOperationalScriptsFailErrMocked added in v0.12.0

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

ListOperationalScriptsFailErrMocked test mocked function

func ListOperationalScriptsFailJSONMocked added in v0.12.0

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

ListOperationalScriptsFailJSONMocked test mocked function

func ListOperationalScriptsFailStatusMocked added in v0.12.0

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

ListOperationalScriptsFailStatusMocked test mocked function

func ListOperationalScriptsMocked added in v0.12.0

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

ListOperationalScriptsMocked test mocked function

func ListRealmNodePoolPlansFailErrMocked added in v0.13.0

func ListRealmNodePoolPlansFailErrMocked(
	t *testing.T, nodePoolPlansIn []*types.NodePoolPlan, realmID string,
) []*types.NodePoolPlan

ListRealmNodePoolPlansFailErrMocked test mocked function

func ListRealmNodePoolPlansFailJSONMocked added in v0.13.0

func ListRealmNodePoolPlansFailJSONMocked(
	t *testing.T, nodePoolPlansIn []*types.NodePoolPlan, realmID string,
) []*types.NodePoolPlan

ListRealmNodePoolPlansFailJSONMocked test mocked function

func ListRealmNodePoolPlansFailStatusMocked added in v0.13.0

func ListRealmNodePoolPlansFailStatusMocked(
	t *testing.T, nodePoolPlansIn []*types.NodePoolPlan, realmID string,
) []*types.NodePoolPlan

ListRealmNodePoolPlansFailStatusMocked test mocked function

func ListRealmNodePoolPlansMocked added in v0.13.0

func ListRealmNodePoolPlansMocked(
	t *testing.T, nodePoolPlansIn []*types.NodePoolPlan, realmID string,
) []*types.NodePoolPlan

ListRealmNodePoolPlansMocked test mocked function

func ListRealmsFailErrMocked added in v0.13.0

func ListRealmsFailErrMocked(t *testing.T, realmsIn []*types.Realm, cloudProviderID string) []*types.Realm

ListRealmsFailErrMocked test mocked function

func ListRealmsFailJSONMocked added in v0.13.0

func ListRealmsFailJSONMocked(t *testing.T, realmsIn []*types.Realm, cloudProviderID string) []*types.Realm

ListRealmsFailJSONMocked test mocked function

func ListRealmsFailStatusMocked added in v0.13.0

func ListRealmsFailStatusMocked(t *testing.T, realmsIn []*types.Realm, cloudProviderID string) []*types.Realm

ListRealmsFailStatusMocked test mocked function

func ListRealmsMocked added in v0.13.0

func ListRealmsMocked(t *testing.T, realmsIn []*types.Realm, cloudProviderID string) []*types.Realm

ListRealmsMocked test mocked function

func ListSSHProfilesFailErrMocked added in v0.12.0

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

ListSSHProfilesFailErrMocked test mocked function

func ListSSHProfilesFailJSONMocked added in v0.12.0

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

ListSSHProfilesFailJSONMocked test mocked function

func ListSSHProfilesFailStatusMocked added in v0.12.0

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

ListSSHProfilesFailStatusMocked test mocked function

func ListSSHProfilesMocked added in v0.12.0

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

ListSSHProfilesMocked test mocked function

func ListServerArrayServersFailErrMocked added in v0.12.0

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

ListServerArrayServersFailErrMocked test mocked function

func ListServerArrayServersFailJSONMocked added in v0.12.0

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

ListServerArrayServersFailJSONMocked test mocked function

func ListServerArrayServersFailStatusMocked added in v0.12.0

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

ListServerArrayServersFailStatusMocked test mocked function

func ListServerArrayServersMocked added in v0.12.0

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

ListServerArrayServersMocked test mocked function

func ListServerArraysFailErrMocked added in v0.12.0

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

ListServerArraysFailErrMocked test mocked function

func ListServerArraysFailJSONMocked added in v0.12.0

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

ListServerArraysFailJSONMocked test mocked function

func ListServerArraysFailStatusMocked added in v0.12.0

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

ListServerArraysFailStatusMocked test mocked function

func ListServerArraysMocked added in v0.12.0

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

ListServerArraysMocked test mocked function

func ListServerFloatingIPsFailErrMocked added in v0.12.0

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

ListServerFloatingIPsFailErrMocked test mocked function

func ListServerFloatingIPsFailJSONMocked added in v0.12.0

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

ListServerFloatingIPsFailJSONMocked test mocked function

func ListServerFloatingIPsFailStatusMocked added in v0.12.0

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

ListServerFloatingIPsFailStatusMocked test mocked function

func ListServerFloatingIPsMocked added in v0.12.0

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

ListServerFloatingIPsMocked test mocked function

func ListServerPlansFailErrMocked added in v0.12.0

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

ListServerPlansFailErrMocked test mocked function

func ListServerPlansFailJSONMocked added in v0.12.0

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

ListServerPlansFailJSONMocked test mocked function

func ListServerPlansFailStatusMocked added in v0.12.0

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

ListServerPlansFailStatusMocked test mocked function

func ListServerPlansMocked added in v0.12.0

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

ListServerPlansMocked test mocked function

func ListServerStoragePlansFailErrMocked added in v0.12.0

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

ListServerStoragePlansFailErrMocked test mocked function

func ListServerStoragePlansFailJSONMocked added in v0.12.0

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

ListServerStoragePlansFailJSONMocked test mocked function

func ListServerStoragePlansFailStatusMocked added in v0.12.0

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

ListServerStoragePlansFailStatusMocked test mocked function

func ListServerStoragePlansMocked added in v0.12.0

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

ListServerStoragePlansMocked test mocked function

func ListServerVolumesFailErrMocked added in v0.12.0

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

ListServerVolumesFailErrMocked test mocked function

func ListServerVolumesFailJSONMocked added in v0.12.0

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

ListServerVolumesFailJSONMocked test mocked function

func ListServerVolumesFailStatusMocked added in v0.12.0

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

ListServerVolumesFailStatusMocked test mocked function

func ListServerVolumesMocked added in v0.12.0

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

ListServerVolumesMocked test mocked function

func ListServersFailErrMocked added in v0.12.0

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

ListServersFailErrMocked test mocked function

func ListServersFailJSONMocked added in v0.12.0

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

ListServersFailJSONMocked test mocked function

func ListServersFailStatusMocked added in v0.12.0

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

ListServersFailStatusMocked test mocked function

func ListServersMocked added in v0.12.0

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

ListServersMocked 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

func UploadTemporaryArchiveFailErrMocked added in v0.12.0

func UploadTemporaryArchiveFailErrMocked(t *testing.T, temporaryArchiveIn *types.TemporaryArchive)

UploadTemporaryArchiveFailErrMocked test mocked function

func UploadTemporaryArchiveFailStatusMocked added in v0.12.0

func UploadTemporaryArchiveFailStatusMocked(t *testing.T, temporaryArchiveIn *types.TemporaryArchive)

UploadTemporaryArchiveFailStatusMocked test mocked function

func UploadTemporaryArchiveMocked added in v0.12.0

func UploadTemporaryArchiveMocked(t *testing.T, temporaryArchiveIn *types.TemporaryArchive)

UploadTemporaryArchiveMocked test mocked function

Types

type CloudProviderService

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

CloudProviderService manages cloud provider operations

func NewCloudProviderService

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

NewCloudProviderService returns a Concerto cloudProvider service

func (*CloudProviderService) ListCloudProviders added in v0.12.0

func (cps *CloudProviderService) ListCloudProviders() (cloudProviders []*types.CloudProvider, err error)

ListCloudProviders returns the list of cloudProviders as an array of CloudProvider

func (*CloudProviderService) ListClusterPlans added in v0.13.0

func (cps *CloudProviderService) ListClusterPlans(providerID string) (clusterPlans []*types.ClusterPlan, err error)

ListClusterPlans returns the list of cluster plans as an array of ClusterPlan

func (*CloudProviderService) ListLoadBalancerPlans added in v0.12.0

func (cps *CloudProviderService) ListLoadBalancerPlans(
	providerID string,
) (loadBalancerPlans []*types.LoadBalancerPlan, err error)

ListLoadBalancerPlans returns the list of load balancer plans as an array of LoadBalancerPlan

func (*CloudProviderService) ListServerStoragePlans added in v0.12.0

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

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

type GenericImageService

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

GenericImageService manages generic image operations

func NewGenericImageService

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

NewGenericImageService returns a Concerto genericImage service

func (*GenericImageService) ListGenericImages added in v0.12.0

func (gis *GenericImageService) ListGenericImages() (genericImages []*types.GenericImage, err error)

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

type RealmService added in v0.13.0

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

RealmService manages realm operations

func NewRealmService added in v0.13.0

func NewRealmService(concertoService utils.ConcertoService) (*RealmService, error)

NewRealmService returns a Concerto realm service

func (*RealmService) GetRealm added in v0.13.0

func (rs *RealmService) GetRealm(realmID string) (realm *types.Realm, err error)

GetRealm returns a realm by its ID

func (*RealmService) ListRealmNodePoolPlans added in v0.13.0

func (rs *RealmService) ListRealmNodePoolPlans(realmID string) (nodePoolPlans []*types.NodePoolPlan, err error)

ListRealmNodePoolPlans returns the list of node pool plans as an array of NodePoolPlan

func (*RealmService) ListRealms added in v0.13.0

func (rs *RealmService) ListRealms(providerID string) (realms []*types.Realm, err error)

ListRealms returns the list of realms as an array of Realm

type SSHProfileService

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

SSHProfileService manages ssh profile operations

func NewSSHProfileService

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

NewSSHProfileService returns a Concerto sshProfile service

func (*SSHProfileService) CreateSSHProfile

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

CreateSSHProfile creates a sshProfile

func (*SSHProfileService) DeleteSSHProfile

func (sps *SSHProfileService) DeleteSSHProfile(sshProfileID string) (err error)

DeleteSSHProfile deletes a sshProfile by its ID

func (*SSHProfileService) GetSSHProfile

func (sps *SSHProfileService) GetSSHProfile(sshProfileID string) (sshProfile *types.SSHProfile, err error)

GetSSHProfile returns a sshProfile by its ID

func (*SSHProfileService) ListSSHProfiles added in v0.12.0

func (sps *SSHProfileService) ListSSHProfiles() (sshProfiles []*types.SSHProfile, err error)

ListSSHProfiles returns the list of sshProfiles as an array of SSHProfile

func (*SSHProfileService) UpdateSSHProfile

func (sps *SSHProfileService) UpdateSSHProfile(
	sshProfileID string,
	sshProfileParams *map[string]interface{},
) (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(
	serverArrayID string,
	serverArrayParams *map[string]interface{},
) (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(
	serverArrayParams *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(
	serverArrayID string,
	serverArrayParams *map[string]interface{},
) (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(
	serverArrayID string,
	serverArrayParams *map[string]interface{},
) (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) ListServerArrayServers added in v0.12.0

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

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

func (*ServerArrayService) ListServerArrays added in v0.12.0

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

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

func (*ServerArrayService) ShutdownServerArray added in v0.9.0

func (sas *ServerArrayService) ShutdownServerArray(
	serverArrayID string,
	serverArrayParams *map[string]interface{},
) (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(
	serverArrayID string,
	serverArrayParams *map[string]interface{},
) (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 server plan operations

func NewServerPlanService

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

NewServerPlanService returns a Concerto serverPlan service

func (*ServerPlanService) GetServerPlan

func (sps *ServerPlanService) GetServerPlan(planID string) (serverPlan *types.ServerPlan, err error)

GetServerPlan returns a serverPlan by its ID

func (*ServerPlanService) ListServerPlans added in v0.12.0

func (sps *ServerPlanService) ListServerPlans(providerID string) (serverPlans []*types.ServerPlan, err error)

ListServerPlans 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 (ss *ServerService) BootServer(
	serverID string,
	serverParams *map[string]interface{},
) (server *types.Server, err error)

BootServer boots a server by its ID

func (*ServerService) CreateServer

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

CreateServer creates a server

func (*ServerService) DeleteServer

func (ss *ServerService) DeleteServer(serverID string) (err error)

DeleteServer deletes a server by its ID

func (*ServerService) ExecuteOperationalScript

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

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

func (*ServerService) GetServer

func (ss *ServerService) GetServer(serverID string) (server *types.Server, err error)

GetServer returns a server by its ID

func (*ServerService) ListEvents added in v0.12.0

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

ListEvents returns a list of events by server ID

func (*ServerService) ListOperationalScripts added in v0.12.0

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

ListOperationalScripts returns a list of scripts by server ID

func (*ServerService) ListServerFloatingIPs added in v0.12.0

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

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

func (*ServerService) ListServerVolumes added in v0.12.0

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

ListServerVolumes returns the list of volumes as an array of Volume

func (*ServerService) ListServers added in v0.12.0

func (ss *ServerService) ListServers() (servers []*types.Server, err error)

ListServers returns the list of servers as an array of Server

func (*ServerService) OverrideServer

func (ss *ServerService) OverrideServer(
	serverID string,
	serverParams *map[string]interface{},
) (server *types.Server, err error)

OverrideServer overrides a server by its ID

func (*ServerService) RebootServer

func (ss *ServerService) RebootServer(
	serverID string,
	serverParams *map[string]interface{},
) (server *types.Server, err error)

RebootServer reboots a server by its ID

func (*ServerService) ShutdownServer

func (ss *ServerService) ShutdownServer(
	serverID string,
	serverParams *map[string]interface{},
) (server *types.Server, err error)

ShutdownServer shuts down a server by its ID

func (*ServerService) UpdateServer

func (ss *ServerService) UpdateServer(
	serverID string,
	serverParams *map[string]interface{},
) (server *types.Server, err error)

UpdateServer updates a server by its ID

type TemporaryArchiveService added in v0.12.0

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

TemporaryArchiveService manages server operations

func NewTemporaryArchiveService added in v0.12.0

func NewTemporaryArchiveService(concertoService utils.ConcertoService) (*TemporaryArchiveService, error)

NewTemporaryArchiveService returns a Concerto server service

func (*TemporaryArchiveService) CreateTemporaryArchive added in v0.12.0

func (tas *TemporaryArchiveService) CreateTemporaryArchive(
	temporaryArchiveParams *map[string]interface{},
) (temporaryArchive *types.TemporaryArchive, err error)

CreateTemporaryArchive creates a temporary archive

func (*TemporaryArchiveService) CreateTemporaryArchiveExport added in v0.12.0

func (tas *TemporaryArchiveService) CreateTemporaryArchiveExport(
	temporaryArchiveExportParams *map[string]interface{},
) (temporaryArchiveExport *types.TemporaryArchiveExport, err error)

CreateTemporaryArchiveExport creates a temporary archive export

func (*TemporaryArchiveService) CreateTemporaryArchiveImport added in v0.12.0

func (tas *TemporaryArchiveService) CreateTemporaryArchiveImport(
	temporaryArchiveID string,
	temporaryArchiveImportParams *map[string]interface{},
) (temporaryArchiveImport *types.TemporaryArchiveImport, err error)

CreateTemporaryArchiveImport creates a temporary archive import

func (*TemporaryArchiveService) DownloadTemporaryArchiveExport added in v0.12.0

func (tas *TemporaryArchiveService) DownloadTemporaryArchiveExport(
	url string,
	filepath string,
) (realFileName string, status int, err error)

DownloadTemporaryArchiveExport gets a file from given url saving file into given file path

func (*TemporaryArchiveService) GetTemporaryArchiveExportTask added in v0.12.0

func (tas *TemporaryArchiveService) GetTemporaryArchiveExportTask(
	temporaryArchiveID string,
) (temporaryArchiveExportTask *types.TemporaryArchiveExportTask, err error)

GetTemporaryArchiveExportTask returns a temporary archive export task by its ID

func (*TemporaryArchiveService) GetTemporaryArchiveImport added in v0.12.0

func (tas *TemporaryArchiveService) GetTemporaryArchiveImport(
	temporaryArchiveImportID string,
) (temporaryArchiveImport *types.TemporaryArchiveImport, err error)

GetTemporaryArchiveImport returns a temporary archive import by its ID

func (*TemporaryArchiveService) UploadTemporaryArchive added in v0.12.0

func (tas *TemporaryArchiveService) UploadTemporaryArchive(sourceFilePath string, targetURL string) error

UploadTemporaryArchive uploads a temporary archive file

Jump to

Keyboard shortcuts

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