Documentation ¶
Index ¶
- Constants
- func BootServerArrayFailErrMocked(t *testing.T, serverArrayIn *types.ServerArray) *types.ServerArray
- func BootServerArrayFailJSONMocked(t *testing.T, serverArrayIn *types.ServerArray) *types.ServerArray
- func BootServerArrayFailStatusMocked(t *testing.T, serverArrayIn *types.ServerArray) *types.ServerArray
- func BootServerArrayMocked(t *testing.T, serverArrayIn *types.ServerArray) *types.ServerArray
- func BootServerFailErrMocked(t *testing.T, serverIn *types.Server) *types.Server
- func BootServerFailJSONMocked(t *testing.T, serverIn *types.Server) *types.Server
- func BootServerFailStatusMocked(t *testing.T, serverIn *types.Server) *types.Server
- func BootServerMocked(t *testing.T, serverIn *types.Server) *types.Server
- func CreateSSHProfileFailErrMocked(t *testing.T, sshProfileIn *types.SSHProfile) *types.SSHProfile
- func CreateSSHProfileFailJSONMocked(t *testing.T, sshProfileIn *types.SSHProfile) *types.SSHProfile
- func CreateSSHProfileFailStatusMocked(t *testing.T, sshProfileIn *types.SSHProfile) *types.SSHProfile
- func CreateSSHProfileMocked(t *testing.T, sshProfileIn *types.SSHProfile) *types.SSHProfile
- func CreateServerArrayFailErrMocked(t *testing.T, serverArrayIn *types.ServerArray) *types.ServerArray
- func CreateServerArrayFailJSONMocked(t *testing.T, serverArrayIn *types.ServerArray) *types.ServerArray
- func CreateServerArrayFailStatusMocked(t *testing.T, serverArrayIn *types.ServerArray) *types.ServerArray
- func CreateServerArrayMocked(t *testing.T, serverArrayIn *types.ServerArray) *types.ServerArray
- func CreateServerFailErrMocked(t *testing.T, serverIn *types.Server) *types.Server
- func CreateServerFailJSONMocked(t *testing.T, serverIn *types.Server) *types.Server
- func CreateServerFailStatusMocked(t *testing.T, serverIn *types.Server) *types.Server
- func CreateServerMocked(t *testing.T, serverIn *types.Server) *types.Server
- func CreateTemporaryArchiveExportFailErrMocked(t *testing.T, temporaryArchiveExportIn *types.TemporaryArchiveExport) *types.TemporaryArchiveExport
- func CreateTemporaryArchiveExportFailJSONMocked(t *testing.T, temporaryArchiveExportIn *types.TemporaryArchiveExport) *types.TemporaryArchiveExport
- func CreateTemporaryArchiveExportFailStatusMocked(t *testing.T, temporaryArchiveExportIn *types.TemporaryArchiveExport) *types.TemporaryArchiveExport
- func CreateTemporaryArchiveExportMocked(t *testing.T, temporaryArchiveExportIn *types.TemporaryArchiveExport) *types.TemporaryArchiveExport
- func CreateTemporaryArchiveFailErrMocked(t *testing.T, temporaryArchiveIn *types.TemporaryArchive) *types.TemporaryArchive
- func CreateTemporaryArchiveFailJSONMocked(t *testing.T, temporaryArchiveIn *types.TemporaryArchive) *types.TemporaryArchive
- func CreateTemporaryArchiveFailStatusMocked(t *testing.T, temporaryArchiveIn *types.TemporaryArchive) *types.TemporaryArchive
- func CreateTemporaryArchiveImportFailErrMocked(t *testing.T, temporaryArchiveID string, ...) *types.TemporaryArchiveImport
- func CreateTemporaryArchiveImportFailJSONMocked(t *testing.T, temporaryArchiveID string, ...) *types.TemporaryArchiveImport
- func CreateTemporaryArchiveImportFailStatusMocked(t *testing.T, temporaryArchiveID string, ...) *types.TemporaryArchiveImport
- func CreateTemporaryArchiveImportMocked(t *testing.T, temporaryArchiveID string, ...) *types.TemporaryArchiveImport
- func CreateTemporaryArchiveMocked(t *testing.T, temporaryArchiveIn *types.TemporaryArchive) *types.TemporaryArchive
- func DeleteSSHProfileFailErrMocked(t *testing.T, sshProfileIn *types.SSHProfile)
- func DeleteSSHProfileFailStatusMocked(t *testing.T, sshProfileIn *types.SSHProfile)
- func DeleteSSHProfileMocked(t *testing.T, sshProfileIn *types.SSHProfile)
- func DeleteServerArrayFailErrMocked(t *testing.T, serverArrayIn *types.ServerArray)
- func DeleteServerArrayFailStatusMocked(t *testing.T, serverArrayIn *types.ServerArray)
- func DeleteServerArrayMocked(t *testing.T, serverArrayIn *types.ServerArray)
- func DeleteServerFailErrMocked(t *testing.T, serverIn *types.Server)
- func DeleteServerFailStatusMocked(t *testing.T, serverIn *types.Server)
- func DeleteServerMocked(t *testing.T, serverIn *types.Server)
- func DownloadTemporaryArchiveExportFailErrMocked(t *testing.T, downloadTemporaryArchiveExportDataIn map[string]string)
- func DownloadTemporaryArchiveExportMocked(t *testing.T, downloadTemporaryArchiveExportDataIn map[string]string)
- func EmptyServerArrayFailErrMocked(t *testing.T, serverArrayIn *types.ServerArray) *types.ServerArray
- func EmptyServerArrayFailJSONMocked(t *testing.T, serverArrayIn *types.ServerArray) *types.ServerArray
- func EmptyServerArrayFailStatusMocked(t *testing.T, serverArrayIn *types.ServerArray) *types.ServerArray
- func EmptyServerArrayMocked(t *testing.T, serverArrayIn *types.ServerArray) *types.ServerArray
- func EnlargeServerArrayFailErrMocked(t *testing.T, serverArrayIn *types.ServerArray) *types.ServerArray
- func EnlargeServerArrayFailJSONMocked(t *testing.T, serverArrayIn *types.ServerArray) *types.ServerArray
- func EnlargeServerArrayFailStatusMocked(t *testing.T, serverArrayIn *types.ServerArray) *types.ServerArray
- func EnlargeServerArrayMocked(t *testing.T, serverArrayIn *types.ServerArray) *types.ServerArray
- func ExecuteOperationalScriptFailErrMocked(t *testing.T, scriptIn *types.ScriptChar, serverID string) *types.Event
- func ExecuteOperationalScriptFailJSONMocked(t *testing.T, scriptIn *types.ScriptChar, serverID string) *types.Event
- func ExecuteOperationalScriptFailStatusMocked(t *testing.T, scriptIn *types.ScriptChar, serverID string) *types.Event
- func ExecuteOperationalScriptListMocked(t *testing.T, scriptIn *types.ScriptChar, serverID string, ...) *types.Event
- func GetRealmFailErrMocked(t *testing.T, realmIn *types.Realm) *types.Realm
- func GetRealmFailJSONMocked(t *testing.T, realmIn *types.Realm) *types.Realm
- func GetRealmFailStatusMocked(t *testing.T, realmIn *types.Realm) *types.Realm
- func GetRealmMocked(t *testing.T, realmIn *types.Realm) *types.Realm
- func GetSSHProfileFailErrMocked(t *testing.T, sshProfile *types.SSHProfile) *types.SSHProfile
- func GetSSHProfileFailJSONMocked(t *testing.T, sshProfile *types.SSHProfile) *types.SSHProfile
- func GetSSHProfileFailStatusMocked(t *testing.T, sshProfile *types.SSHProfile) *types.SSHProfile
- func GetSSHProfileMocked(t *testing.T, sshProfile *types.SSHProfile) *types.SSHProfile
- func GetServerArrayFailErrMocked(t *testing.T, serverArrayIn *types.ServerArray) *types.ServerArray
- func GetServerArrayFailJSONMocked(t *testing.T, serverArrayIn *types.ServerArray) *types.ServerArray
- func GetServerArrayFailStatusMocked(t *testing.T, serverArrayIn *types.ServerArray) *types.ServerArray
- func GetServerArrayMocked(t *testing.T, serverArrayIn *types.ServerArray) *types.ServerArray
- func GetServerFailErrMocked(t *testing.T, server *types.Server) *types.Server
- func GetServerFailJSONMocked(t *testing.T, server *types.Server) *types.Server
- func GetServerFailStatusMocked(t *testing.T, server *types.Server) *types.Server
- func GetServerMocked(t *testing.T, server *types.Server) *types.Server
- func GetServerPlanFailErrMocked(t *testing.T, serverPlan *types.ServerPlan) *types.ServerPlan
- func GetServerPlanFailJSONMocked(t *testing.T, serverPlan *types.ServerPlan) *types.ServerPlan
- func GetServerPlanFailStatusMocked(t *testing.T, serverPlan *types.ServerPlan) *types.ServerPlan
- func GetServerPlanMocked(t *testing.T, serverPlan *types.ServerPlan) *types.ServerPlan
- func GetTemporaryArchiveExportTaskFailErrMocked(t *testing.T, temporaryArchiveExportTaskIn *types.TemporaryArchiveExportTask) *types.TemporaryArchiveExportTask
- func GetTemporaryArchiveExportTaskFailJSONMocked(t *testing.T, temporaryArchiveExportTaskIn *types.TemporaryArchiveExportTask) *types.TemporaryArchiveExportTask
- func GetTemporaryArchiveExportTaskFailStatusMocked(t *testing.T, temporaryArchiveExportTaskIn *types.TemporaryArchiveExportTask) *types.TemporaryArchiveExportTask
- func GetTemporaryArchiveExportTaskMocked(t *testing.T, temporaryArchiveExportTaskIn *types.TemporaryArchiveExportTask) *types.TemporaryArchiveExportTask
- func GetTemporaryArchiveImportFailErrMocked(t *testing.T, temporaryArchiveImportIn *types.TemporaryArchiveImport) *types.TemporaryArchiveImport
- func GetTemporaryArchiveImportFailJSONMocked(t *testing.T, temporaryArchiveImportIn *types.TemporaryArchiveImport) *types.TemporaryArchiveImport
- func GetTemporaryArchiveImportFailStatusMocked(t *testing.T, temporaryArchiveImportIn *types.TemporaryArchiveImport) *types.TemporaryArchiveImport
- func GetTemporaryArchiveImportMocked(t *testing.T, temporaryArchiveImportIn *types.TemporaryArchiveImport) *types.TemporaryArchiveImport
- func ListCloudProvidersFailErrMocked(t *testing.T, cloudProvidersIn []*types.CloudProvider) []*types.CloudProvider
- func ListCloudProvidersFailJSONMocked(t *testing.T, cloudProvidersIn []*types.CloudProvider) []*types.CloudProvider
- func ListCloudProvidersFailStatusMocked(t *testing.T, cloudProvidersIn []*types.CloudProvider) []*types.CloudProvider
- func ListCloudProvidersMocked(t *testing.T, cloudProvidersIn []*types.CloudProvider) []*types.CloudProvider
- func ListClusterPlansFailErrMocked(t *testing.T, clusterPlansIn []*types.ClusterPlan, providerID string) []*types.ClusterPlan
- func ListClusterPlansFailJSONMocked(t *testing.T, clusterPlansIn []*types.ClusterPlan, providerID string) []*types.ClusterPlan
- func ListClusterPlansFailStatusMocked(t *testing.T, clusterPlansIn []*types.ClusterPlan, providerID string) []*types.ClusterPlan
- func ListClusterPlansMocked(t *testing.T, clusterPlansIn []*types.ClusterPlan, providerID string) []*types.ClusterPlan
- func ListEventsListFailErrMocked(t *testing.T, eventsIn []*types.Event, serverID string) []*types.Event
- func ListEventsListFailJSONMocked(t *testing.T, eventsIn []*types.Event, serverID string) []*types.Event
- func ListEventsListFailStatusMocked(t *testing.T, eventsIn []*types.Event, serverID string) []*types.Event
- func ListEventsListMocked(t *testing.T, eventsIn []*types.Event, serverID string) []*types.Event
- func ListGenericImagesFailErrMocked(t *testing.T, genericImagesIn []*types.GenericImage) []*types.GenericImage
- func ListGenericImagesFailJSONMocked(t *testing.T, genericImagesIn []*types.GenericImage) []*types.GenericImage
- func ListGenericImagesFailStatusMocked(t *testing.T, genericImagesIn []*types.GenericImage) []*types.GenericImage
- func ListGenericImagesMocked(t *testing.T, genericImagesIn []*types.GenericImage) []*types.GenericImage
- func ListLoadBalancerPlansFailErrMocked(t *testing.T, loadBalancerPlansIn []*types.LoadBalancerPlan, providerID string) []*types.LoadBalancerPlan
- func ListLoadBalancerPlansFailJSONMocked(t *testing.T, loadBalancerPlansIn []*types.LoadBalancerPlan, providerID string) []*types.LoadBalancerPlan
- func ListLoadBalancerPlansFailStatusMocked(t *testing.T, loadBalancerPlansIn []*types.LoadBalancerPlan, providerID string) []*types.LoadBalancerPlan
- func ListLoadBalancerPlansMocked(t *testing.T, loadBalancerPlansIn []*types.LoadBalancerPlan, providerID string) []*types.LoadBalancerPlan
- func ListOperationalScriptsFailErrMocked(t *testing.T, scriptsIn []*types.ScriptChar, serverID string) []*types.ScriptChar
- func ListOperationalScriptsFailJSONMocked(t *testing.T, scriptsIn []*types.ScriptChar, serverID string) []*types.ScriptChar
- func ListOperationalScriptsFailStatusMocked(t *testing.T, scriptsIn []*types.ScriptChar, serverID string) []*types.ScriptChar
- func ListOperationalScriptsMocked(t *testing.T, scriptsIn []*types.ScriptChar, serverID string) []*types.ScriptChar
- func ListRealmNodePoolPlansFailErrMocked(t *testing.T, nodePoolPlansIn []*types.NodePoolPlan, realmID string) []*types.NodePoolPlan
- func ListRealmNodePoolPlansFailJSONMocked(t *testing.T, nodePoolPlansIn []*types.NodePoolPlan, realmID string) []*types.NodePoolPlan
- func ListRealmNodePoolPlansFailStatusMocked(t *testing.T, nodePoolPlansIn []*types.NodePoolPlan, realmID string) []*types.NodePoolPlan
- func ListRealmNodePoolPlansMocked(t *testing.T, nodePoolPlansIn []*types.NodePoolPlan, realmID string) []*types.NodePoolPlan
- func ListRealmsFailErrMocked(t *testing.T, realmsIn []*types.Realm, cloudProviderID string) []*types.Realm
- func ListRealmsFailJSONMocked(t *testing.T, realmsIn []*types.Realm, cloudProviderID string) []*types.Realm
- func ListRealmsFailStatusMocked(t *testing.T, realmsIn []*types.Realm, cloudProviderID string) []*types.Realm
- func ListRealmsMocked(t *testing.T, realmsIn []*types.Realm, cloudProviderID string) []*types.Realm
- func ListSSHProfilesFailErrMocked(t *testing.T, sshProfilesIn []*types.SSHProfile) []*types.SSHProfile
- func ListSSHProfilesFailJSONMocked(t *testing.T, sshProfilesIn []*types.SSHProfile) []*types.SSHProfile
- func ListSSHProfilesFailStatusMocked(t *testing.T, sshProfilesIn []*types.SSHProfile) []*types.SSHProfile
- func ListSSHProfilesMocked(t *testing.T, sshProfilesIn []*types.SSHProfile) []*types.SSHProfile
- func ListServerArrayServersFailErrMocked(t *testing.T, serversIn []*types.Server, serverArrayID string) []*types.Server
- func ListServerArrayServersFailJSONMocked(t *testing.T, serversIn []*types.Server, serverArrayID string) []*types.Server
- func ListServerArrayServersFailStatusMocked(t *testing.T, serversIn []*types.Server, serverArrayID string) []*types.Server
- func ListServerArrayServersMocked(t *testing.T, serversIn []*types.Server, serverArrayID string) []*types.Server
- func ListServerArraysFailErrMocked(t *testing.T, serverArraysIn []*types.ServerArray) []*types.ServerArray
- func ListServerArraysFailJSONMocked(t *testing.T, serverArraysIn []*types.ServerArray) []*types.ServerArray
- func ListServerArraysFailStatusMocked(t *testing.T, serverArraysIn []*types.ServerArray) []*types.ServerArray
- func ListServerArraysMocked(t *testing.T, serverArraysIn []*types.ServerArray) []*types.ServerArray
- func ListServerFloatingIPsFailErrMocked(t *testing.T, floatingIPsIn []*types.FloatingIP, serverID string) []*types.FloatingIP
- func ListServerFloatingIPsFailJSONMocked(t *testing.T, floatingIPsIn []*types.FloatingIP, serverID string) []*types.FloatingIP
- func ListServerFloatingIPsFailStatusMocked(t *testing.T, floatingIPsIn []*types.FloatingIP, serverID string) []*types.FloatingIP
- func ListServerFloatingIPsMocked(t *testing.T, floatingIPsIn []*types.FloatingIP, serverID string) []*types.FloatingIP
- func ListServerPlansFailErrMocked(t *testing.T, serverPlansIn []*types.ServerPlan, cloudProviderId string) []*types.ServerPlan
- func ListServerPlansFailJSONMocked(t *testing.T, serverPlansIn []*types.ServerPlan, cloudProviderId string) []*types.ServerPlan
- func ListServerPlansFailStatusMocked(t *testing.T, serverPlansIn []*types.ServerPlan, cloudProviderId string) []*types.ServerPlan
- func ListServerPlansMocked(t *testing.T, serverPlansIn []*types.ServerPlan, cloudProviderId string) []*types.ServerPlan
- func ListServerStoragePlansFailErrMocked(t *testing.T, storagePlansIn []*types.StoragePlan, providerID string) []*types.StoragePlan
- func ListServerStoragePlansFailJSONMocked(t *testing.T, storagePlansIn []*types.StoragePlan, providerID string) []*types.StoragePlan
- func ListServerStoragePlansFailStatusMocked(t *testing.T, storagePlansIn []*types.StoragePlan, providerID string) []*types.StoragePlan
- func ListServerStoragePlansMocked(t *testing.T, storagePlansIn []*types.StoragePlan, providerID string) []*types.StoragePlan
- func ListServerVolumesFailErrMocked(t *testing.T, volumesIn []*types.Volume, serverID string) []*types.Volume
- func ListServerVolumesFailJSONMocked(t *testing.T, volumesIn []*types.Volume, serverID string) []*types.Volume
- func ListServerVolumesFailStatusMocked(t *testing.T, volumesIn []*types.Volume, serverID string) []*types.Volume
- func ListServerVolumesMocked(t *testing.T, volumesIn []*types.Volume, serverID string) []*types.Volume
- func ListServersFailErrMocked(t *testing.T, serversIn []*types.Server) []*types.Server
- func ListServersFailJSONMocked(t *testing.T, serversIn []*types.Server) []*types.Server
- func ListServersFailStatusMocked(t *testing.T, serversIn []*types.Server) []*types.Server
- func ListServersMocked(t *testing.T, serversIn []*types.Server) []*types.Server
- func OverrideServerFailErrMocked(t *testing.T, serverIn *types.Server) *types.Server
- func OverrideServerFailJSONMocked(t *testing.T, serverIn *types.Server) *types.Server
- func OverrideServerFailStatusMocked(t *testing.T, serverIn *types.Server) *types.Server
- func OverrideServerMocked(t *testing.T, serverIn *types.Server) *types.Server
- func RebootServerFailErrMocked(t *testing.T, serverIn *types.Server) *types.Server
- func RebootServerFailJSONMocked(t *testing.T, serverIn *types.Server) *types.Server
- func RebootServerFailStatusMocked(t *testing.T, serverIn *types.Server) *types.Server
- func RebootServerMocked(t *testing.T, serverIn *types.Server) *types.Server
- func ShutdownServerArrayFailErrMocked(t *testing.T, serverArrayIn *types.ServerArray) *types.ServerArray
- func ShutdownServerArrayFailJSONMocked(t *testing.T, serverArrayIn *types.ServerArray) *types.ServerArray
- func ShutdownServerArrayFailStatusMocked(t *testing.T, serverArrayIn *types.ServerArray) *types.ServerArray
- func ShutdownServerArrayMocked(t *testing.T, serverArrayIn *types.ServerArray) *types.ServerArray
- func ShutdownServerFailErrMocked(t *testing.T, serverIn *types.Server) *types.Server
- func ShutdownServerFailJSONMocked(t *testing.T, serverIn *types.Server) *types.Server
- func ShutdownServerFailStatusMocked(t *testing.T, serverIn *types.Server) *types.Server
- func ShutdownServerMocked(t *testing.T, serverIn *types.Server) *types.Server
- func UpdateSSHProfileFailErrMocked(t *testing.T, sshProfileIn *types.SSHProfile) *types.SSHProfile
- func UpdateSSHProfileFailJSONMocked(t *testing.T, sshProfileIn *types.SSHProfile) *types.SSHProfile
- func UpdateSSHProfileFailStatusMocked(t *testing.T, sshProfileIn *types.SSHProfile) *types.SSHProfile
- func UpdateSSHProfileMocked(t *testing.T, sshProfileIn *types.SSHProfile) *types.SSHProfile
- func UpdateServerArrayFailErrMocked(t *testing.T, serverArrayIn *types.ServerArray) *types.ServerArray
- func UpdateServerArrayFailJSONMocked(t *testing.T, serverArrayIn *types.ServerArray) *types.ServerArray
- func UpdateServerArrayFailStatusMocked(t *testing.T, serverArrayIn *types.ServerArray) *types.ServerArray
- func UpdateServerArrayMocked(t *testing.T, serverArrayIn *types.ServerArray) *types.ServerArray
- func UpdateServerFailErrMocked(t *testing.T, serverIn *types.Server) *types.Server
- func UpdateServerFailJSONMocked(t *testing.T, serverIn *types.Server) *types.Server
- func UpdateServerFailStatusMocked(t *testing.T, serverIn *types.Server) *types.Server
- func UpdateServerMocked(t *testing.T, serverIn *types.Server) *types.Server
- func UploadTemporaryArchiveFailErrMocked(t *testing.T, temporaryArchiveIn *types.TemporaryArchive)
- func UploadTemporaryArchiveFailStatusMocked(t *testing.T, temporaryArchiveIn *types.TemporaryArchive)
- func UploadTemporaryArchiveMocked(t *testing.T, temporaryArchiveIn *types.TemporaryArchive)
- type CloudProviderService
- func (cps *CloudProviderService) ListCloudProviders() (cloudProviders []*types.CloudProvider, err error)
- func (cps *CloudProviderService) ListClusterPlans(providerID string) (clusterPlans []*types.ClusterPlan, err error)
- func (cps *CloudProviderService) ListLoadBalancerPlans(providerID string) (loadBalancerPlans []*types.LoadBalancerPlan, err error)
- func (cps *CloudProviderService) ListServerStoragePlans(providerID string) (storagePlans []*types.StoragePlan, err error)
- type GenericImageService
- type RealmService
- type SSHProfileService
- func (sps *SSHProfileService) CreateSSHProfile(sshProfileParams *map[string]interface{}) (sshProfile *types.SSHProfile, err error)
- func (sps *SSHProfileService) DeleteSSHProfile(sshProfileID string) (err error)
- func (sps *SSHProfileService) GetSSHProfile(sshProfileID string) (sshProfile *types.SSHProfile, err error)
- func (sps *SSHProfileService) ListSSHProfiles() (sshProfiles []*types.SSHProfile, err error)
- func (sps *SSHProfileService) UpdateSSHProfile(sshProfileID string, sshProfileParams *map[string]interface{}) (sshProfile *types.SSHProfile, err error)
- type ServerArrayService
- func (sas *ServerArrayService) BootServerArray(serverArrayID string, serverArrayParams *map[string]interface{}) (serverArray *types.ServerArray, err error)
- func (sas *ServerArrayService) CreateServerArray(serverArrayParams *map[string]interface{}) (serverArray *types.ServerArray, err error)
- func (sas *ServerArrayService) DeleteServerArray(serverArrayID string) (err error)
- func (sas *ServerArrayService) EmptyServerArray(serverArrayID string, serverArrayParams *map[string]interface{}) (serverArray *types.ServerArray, err error)
- func (sas *ServerArrayService) EnlargeServerArray(serverArrayID string, serverArrayParams *map[string]interface{}) (serverArray *types.ServerArray, err error)
- func (sas *ServerArrayService) GetServerArray(serverArrayID string) (serverArray *types.ServerArray, err error)
- func (sas *ServerArrayService) ListServerArrayServers(serverArrayID string) (servers []*types.Server, err error)
- func (sas *ServerArrayService) ListServerArrays() (serverArrays []*types.ServerArray, err error)
- func (sas *ServerArrayService) ShutdownServerArray(serverArrayID string, serverArrayParams *map[string]interface{}) (serverArray *types.ServerArray, err error)
- func (sas *ServerArrayService) UpdateServerArray(serverArrayID string, serverArrayParams *map[string]interface{}) (serverArray *types.ServerArray, err error)
- type ServerPlanService
- type ServerService
- func (ss *ServerService) BootServer(serverID string, serverParams *map[string]interface{}) (server *types.Server, err error)
- func (ss *ServerService) CreateServer(serverParams *map[string]interface{}) (server *types.Server, err error)
- func (ss *ServerService) DeleteServer(serverID string) (err error)
- func (ss *ServerService) ExecuteOperationalScript(serverID string, scriptID string, serverParams *map[string]interface{}) (script *types.Event, err error)
- func (ss *ServerService) GetServer(serverID string) (server *types.Server, err error)
- func (ss *ServerService) ListEvents(serverID string) (events []*types.Event, err error)
- func (ss *ServerService) ListOperationalScripts(serverID string) (scripts []*types.ScriptChar, err error)
- func (ss *ServerService) ListServerFloatingIPs(serverID string) (floatingIPs []*types.FloatingIP, err error)
- func (ss *ServerService) ListServerVolumes(serverID string) (volumes []*types.Volume, err error)
- func (ss *ServerService) ListServers() (servers []*types.Server, err error)
- func (ss *ServerService) OverrideServer(serverID string, serverParams *map[string]interface{}) (server *types.Server, err error)
- func (ss *ServerService) RebootServer(serverID string, serverParams *map[string]interface{}) (server *types.Server, err error)
- func (ss *ServerService) ShutdownServer(serverID string, serverParams *map[string]interface{}) (server *types.Server, err error)
- func (ss *ServerService) UpdateServer(serverID string, serverParams *map[string]interface{}) (server *types.Server, err error)
- type TemporaryArchiveService
- func (tas *TemporaryArchiveService) CreateTemporaryArchive(temporaryArchiveParams *map[string]interface{}) (temporaryArchive *types.TemporaryArchive, err error)
- func (tas *TemporaryArchiveService) CreateTemporaryArchiveExport(temporaryArchiveExportParams *map[string]interface{}) (temporaryArchiveExport *types.TemporaryArchiveExport, err error)
- func (tas *TemporaryArchiveService) CreateTemporaryArchiveImport(temporaryArchiveID string, ...) (temporaryArchiveImport *types.TemporaryArchiveImport, err error)
- func (tas *TemporaryArchiveService) DownloadTemporaryArchiveExport(url string, filepath string) (realFileName string, status int, err error)
- func (tas *TemporaryArchiveService) GetTemporaryArchiveExportTask(temporaryArchiveID string) (temporaryArchiveExportTask *types.TemporaryArchiveExportTask, err error)
- func (tas *TemporaryArchiveService) GetTemporaryArchiveImport(temporaryArchiveImportID string) (temporaryArchiveImport *types.TemporaryArchiveImport, err error)
- func (tas *TemporaryArchiveService) UploadTemporaryArchive(sourceFilePath string, targetURL string) error
Constants ¶
const APIPathCloudGenericImages = "/cloud/generic_images"
const APIPathCloudProviderClusterPlans = "/cloud/cloud_providers/%s/cluster_plans"
const APIPathCloudProviderLoadBalancerPlans = "/cloud/cloud_providers/%s/load_balancer_plans"
const APIPathCloudProviderRealms = "/cloud/cloud_providers/%s/realms"
const APIPathCloudProviderServerPlans = "/cloud/cloud_providers/%s/server_plans"
const APIPathCloudProviderStoragePlans = "/cloud/cloud_providers/%s/storage_plans"
const APIPathCloudProviders = "/cloud/cloud_providers"
const APIPathCloudRealm = "/cloud/realms/%s"
const APIPathCloudRealmNodePoolPlans = "/cloud/realms/%s/node_pool_plans"
const APIPathCloudSSHProfile = "/cloud/ssh_profiles/%s"
const APIPathCloudSSHProfiles = "/cloud/ssh_profiles"
const APIPathCloudServer = "/cloud/servers/%s"
const APIPathCloudServerArray = "/cloud/server_arrays/%s"
const APIPathCloudServerArrayBoot = "/cloud/server_arrays/%s/boot"
const APIPathCloudServerArrayEmpty = "/cloud/server_arrays/%s/empty"
const APIPathCloudServerArrayServers = "/cloud/server_arrays/%s/servers"
const APIPathCloudServerArrayShutdown = "/cloud/server_arrays/%s/shutdown"
const APIPathCloudServerArrays = "/cloud/server_arrays"
const APIPathCloudServerBoot = "/cloud/servers/%s/boot"
const APIPathCloudServerEvents = "/cloud/servers/%s/events"
const APIPathCloudServerFloatingIPs = "/cloud/servers/%s/floating_ips"
const APIPathCloudServerOperationalScriptExecute = "/cloud/servers/%s/operational_scripts/%s/execute"
const APIPathCloudServerOperationalScripts = "/cloud/servers/%s/operational_scripts"
const APIPathCloudServerOverride = "/cloud/servers/%s/override"
const APIPathCloudServerPlans = "/cloud/server_plans/%s"
const APIPathCloudServerReboot = "/cloud/servers/%s/reboot"
const APIPathCloudServerShutdown = "/cloud/servers/%s/shutdown"
const APIPathCloudServerVolumes = "/cloud/servers/%s/volumes"
const APIPathCloudServers = "/cloud/servers"
const APIPathPluginsToscaTemporaryArchiveExport = "/plugins/tosca/temporary_archives/%s/export"
const APIPathPluginsToscaTemporaryArchiveImport = "/plugins/tosca/temporary_archives/%s/import"
const APIPathPluginsToscaTemporaryArchives = "/plugins/tosca/temporary_archives"
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 ¶
BootServerFailErrMocked test mocked function
func BootServerFailJSONMocked ¶
BootServerFailJSONMocked test mocked function
func BootServerFailStatusMocked ¶
BootServerFailStatusMocked test mocked function
func BootServerMocked ¶
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 ¶
CreateServerFailErrMocked test mocked function
func CreateServerFailJSONMocked ¶
CreateServerFailJSONMocked test mocked function
func CreateServerFailStatusMocked ¶
CreateServerFailStatusMocked test mocked function
func CreateServerMocked ¶
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 ¶
DeleteServerFailErrMocked test mocked function
func DeleteServerFailStatusMocked ¶
DeleteServerFailStatusMocked test mocked function
func DeleteServerMocked ¶
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
GetRealmFailErrMocked test mocked function
func GetRealmFailJSONMocked ¶ added in v0.13.0
GetRealmFailJSONMocked test mocked function
func GetRealmFailStatusMocked ¶ added in v0.13.0
GetRealmFailStatusMocked test mocked function
func GetRealmMocked ¶ added in v0.13.0
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 ¶
GetServerFailErrMocked test mocked function
func GetServerFailJSONMocked ¶
GetServerFailJSONMocked test mocked function
func GetServerFailStatusMocked ¶
GetServerFailStatusMocked test mocked function
func GetServerMocked ¶
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
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
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
ListServersFailErrMocked test mocked function
func ListServersFailJSONMocked ¶ added in v0.12.0
ListServersFailJSONMocked test mocked function
func ListServersFailStatusMocked ¶ added in v0.12.0
ListServersFailStatusMocked test mocked function
func ListServersMocked ¶ added in v0.12.0
ListServersMocked test mocked function
func OverrideServerFailErrMocked ¶
OverrideServerFailErrMocked test mocked function
func OverrideServerFailJSONMocked ¶
OverrideServerFailJSONMocked test mocked function
func OverrideServerFailStatusMocked ¶
OverrideServerFailStatusMocked test mocked function
func OverrideServerMocked ¶
OverrideServerMocked test mocked function
func RebootServerFailErrMocked ¶
RebootServerFailErrMocked test mocked function
func RebootServerFailJSONMocked ¶
RebootServerFailJSONMocked test mocked function
func RebootServerFailStatusMocked ¶
RebootServerFailStatusMocked test mocked function
func RebootServerMocked ¶
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 ¶
ShutdownServerFailErrMocked test mocked function
func ShutdownServerFailJSONMocked ¶
ShutdownServerFailJSONMocked test mocked function
func ShutdownServerFailStatusMocked ¶
ShutdownServerFailStatusMocked test mocked function
func ShutdownServerMocked ¶
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 ¶
UpdateServerFailErrMocked test mocked function
func UpdateServerFailJSONMocked ¶
UpdateServerFailJSONMocked test mocked function
func UpdateServerFailStatusMocked ¶
UpdateServerFailStatusMocked test mocked function
func UpdateServerMocked ¶
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
Source Files ¶
- cloud_providers_api.go
- cloud_providers_api_mocked.go
- generic_images_api.go
- generic_images_api_mocked.go
- realms_api.go
- realms_api_mocked.go
- server_arrays_api.go
- server_arrays_api_mocked.go
- server_plan_api.go
- server_plan_api_mocked.go
- servers_api.go
- servers_api_mocked.go
- ssh_profiles_api.go
- ssh_profiles_api_mocked.go
- temporary_archives_api.go
- temporary_archives_api_mocked.go