Documentation ¶
Index ¶
- 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 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 CreateWorkspaceFailErrMocked(t *testing.T, workspaceIn *types.Workspace) *types.Workspace
- func CreateWorkspaceFailJSONMocked(t *testing.T, workspaceIn *types.Workspace) *types.Workspace
- func CreateWorkspaceFailStatusMocked(t *testing.T, workspaceIn *types.Workspace) *types.Workspace
- func CreateWorkspaceMocked(t *testing.T, workspaceIn *types.Workspace) *types.Workspace
- 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 DeleteServerFailErrMocked(t *testing.T, serverIn *types.Server)
- func DeleteServerFailStatusMocked(t *testing.T, serverIn *types.Server)
- func DeleteServerMocked(t *testing.T, serverIn *types.Server)
- func DeleteWorkspaceFailErrMocked(t *testing.T, workspaceIn *types.Workspace)
- func DeleteWorkspaceFailStatusMocked(t *testing.T, workspaceIn *types.Workspace)
- func DeleteWorkspaceMocked(t *testing.T, workspaceIn *types.Workspace)
- func ExecuteOperationalScriptFailErrMocked(t *testing.T, scriptIn *types.ScriptChar, serverID string) *types.ScriptChar
- func ExecuteOperationalScriptFailJSONMocked(t *testing.T, scriptIn *types.ScriptChar, serverID string) *types.ScriptChar
- func ExecuteOperationalScriptFailStatusMocked(t *testing.T, scriptIn *types.ScriptChar, serverID string) *types.ScriptChar
- func ExecuteOperationalScriptListMocked(t *testing.T, scriptIn *types.ScriptChar, serverID string) *types.ScriptChar
- func GetCloudProviderListFailErrMocked(t *testing.T, cloudProvidersIn *[]types.CloudProvider) *[]types.CloudProvider
- func GetCloudProviderListFailJSONMocked(t *testing.T, cloudProvidersIn *[]types.CloudProvider) *[]types.CloudProvider
- func GetCloudProviderListFailStatusMocked(t *testing.T, cloudProvidersIn *[]types.CloudProvider) *[]types.CloudProvider
- func GetCloudProviderListMocked(t *testing.T, cloudProvidersIn *[]types.CloudProvider) *[]types.CloudProvider
- func GetDNSListFailErrMocked(t *testing.T, serverIn *types.Server, dnssIn *[]types.Dns) *[]types.Dns
- func GetDNSListFailJSONMocked(t *testing.T, serverIn *types.Server, dnssIn *[]types.Dns) *[]types.Dns
- func GetDNSListFailStatusMocked(t *testing.T, serverIn *types.Server, dnssIn *[]types.Dns) *[]types.Dns
- func GetDNSListMocked(t *testing.T, serverIn *types.Server, dnssIn *[]types.Dns) *[]types.Dns
- func GetGenericImageListFailErrMocked(t *testing.T, genericImagesIn *[]types.GenericImage) *[]types.GenericImage
- func GetGenericImageListFailJSONMocked(t *testing.T, genericImagesIn *[]types.GenericImage) *[]types.GenericImage
- func GetGenericImageListFailStatusMocked(t *testing.T, genericImagesIn *[]types.GenericImage) *[]types.GenericImage
- func GetGenericImageListMocked(t *testing.T, genericImagesIn *[]types.GenericImage) *[]types.GenericImage
- func GetOperationalScriptFailErrMocked(t *testing.T, scriptsIn *[]types.ScriptChar, serverID string) *[]types.ScriptChar
- func GetOperationalScriptFailJSONMocked(t *testing.T, scriptsIn *[]types.ScriptChar, serverID string) *[]types.ScriptChar
- func GetOperationalScriptFailStatusMocked(t *testing.T, scriptsIn *[]types.ScriptChar, serverID string) *[]types.ScriptChar
- func GetOperationalScriptListMocked(t *testing.T, scriptsIn *[]types.ScriptChar, serverID string) *[]types.ScriptChar
- 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 GetSSHProfileListFailErrMocked(t *testing.T, sshProfilesIn *[]types.SSHProfile) *[]types.SSHProfile
- func GetSSHProfileListFailJSONMocked(t *testing.T, sshProfilesIn *[]types.SSHProfile) *[]types.SSHProfile
- func GetSSHProfileListFailStatusMocked(t *testing.T, sshProfilesIn *[]types.SSHProfile) *[]types.SSHProfile
- func GetSSHProfileListMocked(t *testing.T, sshProfilesIn *[]types.SSHProfile) *[]types.SSHProfile
- func GetSSHProfileMocked(t *testing.T, sshProfile *types.SSHProfile) *types.SSHProfile
- func GetSaasProviderListFailErrMocked(t *testing.T, saasProvidersIn *[]types.SaasProvider) *[]types.SaasProvider
- func GetSaasProviderListFailJSONMocked(t *testing.T, saasProvidersIn *[]types.SaasProvider) *[]types.SaasProvider
- func GetSaasProviderListFailStatusMocked(t *testing.T, saasProvidersIn *[]types.SaasProvider) *[]types.SaasProvider
- func GetSaasProviderListMocked(t *testing.T, saasProvidersIn *[]types.SaasProvider) *[]types.SaasProvider
- func GetServerEventListFailErrMocked(t *testing.T, eventsIn *[]types.Event, serverID string) *[]types.Event
- func GetServerEventListFailJSONMocked(t *testing.T, eventsIn *[]types.Event, serverID string) *[]types.Event
- func GetServerEventListFailStatusMocked(t *testing.T, eventsIn *[]types.Event, serverID string) *[]types.Event
- func GetServerEventListMocked(t *testing.T, eventsIn *[]types.Event, serverID string) *[]types.Event
- 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 GetServerListFailErrMocked(t *testing.T, serversIn *[]types.Server) *[]types.Server
- func GetServerListFailJSONMocked(t *testing.T, serversIn *[]types.Server) *[]types.Server
- func GetServerListFailStatusMocked(t *testing.T, serversIn *[]types.Server) *[]types.Server
- func GetServerListMocked(t *testing.T, serversIn *[]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 GetServerPlanListFailErrMocked(t *testing.T, serverPlansIn *[]types.ServerPlan, cloudProviderId string) *[]types.ServerPlan
- func GetServerPlanListFailJSONMocked(t *testing.T, serverPlansIn *[]types.ServerPlan, cloudProviderId string) *[]types.ServerPlan
- func GetServerPlanListFailStatusMocked(t *testing.T, serverPlansIn *[]types.ServerPlan, cloudProviderId string) *[]types.ServerPlan
- func GetServerPlanListMocked(t *testing.T, serverPlansIn *[]types.ServerPlan, cloudProviderId string) *[]types.ServerPlan
- func GetServerPlanMocked(t *testing.T, serverPlan *types.ServerPlan) *types.ServerPlan
- func GetWorkspaceFailErrMocked(t *testing.T, workspace *types.Workspace) *types.Workspace
- func GetWorkspaceFailJSONMocked(t *testing.T, workspace *types.Workspace) *types.Workspace
- func GetWorkspaceFailStatusMocked(t *testing.T, workspace *types.Workspace) *types.Workspace
- func GetWorkspaceListFailErrMocked(t *testing.T, workspacesIn *[]types.Workspace) *[]types.Workspace
- func GetWorkspaceListFailJSONMocked(t *testing.T, workspacesIn *[]types.Workspace) *[]types.Workspace
- func GetWorkspaceListFailStatusMocked(t *testing.T, workspacesIn *[]types.Workspace) *[]types.Workspace
- func GetWorkspaceListMocked(t *testing.T, workspacesIn *[]types.Workspace) *[]types.Workspace
- func GetWorkspaceMocked(t *testing.T, workspace *types.Workspace) *types.Workspace
- func GetWorkspaceServerListFailErrMocked(t *testing.T, workspaceServersIn *[]types.WorkspaceServer, workspaceId string) *[]types.WorkspaceServer
- func GetWorkspaceServerListFailJSONMocked(t *testing.T, workspaceServersIn *[]types.WorkspaceServer, workspaceId string) *[]types.WorkspaceServer
- func GetWorkspaceServerListFailStatusMocked(t *testing.T, workspaceServersIn *[]types.WorkspaceServer, workspaceId string) *[]types.WorkspaceServer
- func GetWorkspaceServerListMocked(t *testing.T, workspaceServersIn *[]types.WorkspaceServer, workspaceId string) *[]types.WorkspaceServer
- 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 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 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 UpdateWorkspaceFailErrMocked(t *testing.T, workspaceIn *types.Workspace) *types.Workspace
- func UpdateWorkspaceFailJSONMocked(t *testing.T, workspaceIn *types.Workspace) *types.Workspace
- func UpdateWorkspaceFailStatusMocked(t *testing.T, workspaceIn *types.Workspace) *types.Workspace
- func UpdateWorkspaceMocked(t *testing.T, workspaceIn *types.Workspace) *types.Workspace
- type CloudProviderService
- type GenericImageService
- type SSHProfileService
- func (dm *SSHProfileService) CreateSSHProfile(sshProfileVector *map[string]interface{}) (sshProfile *types.SSHProfile, err error)
- func (dm *SSHProfileService) DeleteSSHProfile(ID string) (err error)
- func (dm *SSHProfileService) GetSSHProfile(ID string) (sshProfile *types.SSHProfile, err error)
- func (dm *SSHProfileService) GetSSHProfileList() (sshProfiles []types.SSHProfile, err error)
- func (dm *SSHProfileService) UpdateSSHProfile(sshProfileVector *map[string]interface{}, ID string) (sshProfile *types.SSHProfile, err error)
- type SaasProviderService
- type ServerPlanService
- type ServerService
- func (dm *ServerService) BootServer(serverVector *map[string]interface{}, ID string) (server *types.Server, err error)
- func (dm *ServerService) CreateServer(serverVector *map[string]interface{}) (server *types.Server, err error)
- func (dm *ServerService) DeleteServer(ID string) (err error)
- func (dm *ServerService) ExecuteOperationalScript(serverVector *map[string]interface{}, ID string, script_ID string) (script *types.ScriptChar, err error)
- func (dm *ServerService) GetDNSList(serverID string) (dns []types.Dns, err error)
- func (dm *ServerService) GetEventsList(serverID string) (events []types.Event, err error)
- func (dm *ServerService) GetOperationalScriptsList(serverID string) (scripts []types.ScriptChar, err error)
- func (dm *ServerService) GetServer(ID string) (server *types.Server, err error)
- func (dm *ServerService) GetServerList() (servers []types.Server, err error)
- func (dm *ServerService) OverrideServer(serverVector *map[string]interface{}, ID string) (server *types.Server, err error)
- func (dm *ServerService) RebootServer(serverVector *map[string]interface{}, ID string) (server *types.Server, err error)
- func (dm *ServerService) ShutdownServer(serverVector *map[string]interface{}, ID string) (server *types.Server, err error)
- func (dm *ServerService) UpdateServer(serverVector *map[string]interface{}, ID string) (server *types.Server, err error)
- type WorkspaceService
- func (dm *WorkspaceService) CreateWorkspace(workspaceVector *map[string]interface{}) (workspace *types.Workspace, err error)
- func (dm *WorkspaceService) DeleteWorkspace(ID string) (err error)
- func (dm *WorkspaceService) GetWorkspace(ID string) (workspace *types.Workspace, err error)
- func (dm *WorkspaceService) GetWorkspaceList() (workspaces []types.Workspace, err error)
- func (dm *WorkspaceService) GetWorkspaceServerList(workspaceID string) (workspaceServer *[]types.WorkspaceServer, err error)
- func (dm *WorkspaceService) UpdateWorkspace(workspaceVector *map[string]interface{}, ID string) (workspace *types.Workspace, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
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 CreateServerFailErrMocked ¶
CreateServerFailErrMocked test mocked function
func CreateServerFailJSONMocked ¶
CreateServerFailJSONMocked test mocked function
func CreateServerFailStatusMocked ¶
CreateServerFailStatusMocked test mocked function
func CreateServerMocked ¶
CreateServerMocked test mocked function
func CreateWorkspaceFailErrMocked ¶
CreateWorkspaceFailErrMocked test mocked function
func CreateWorkspaceFailJSONMocked ¶
CreateWorkspaceFailJSONMocked test mocked function
func CreateWorkspaceFailStatusMocked ¶
CreateWorkspaceFailStatusMocked test mocked function
func CreateWorkspaceMocked ¶
CreateWorkspaceMocked 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 DeleteServerFailErrMocked ¶
DeleteServerFailErrMocked test mocked function
func DeleteServerFailStatusMocked ¶
DeleteServerFailStatusMocked test mocked function
func DeleteServerMocked ¶
DeleteServerMocked test mocked function
func DeleteWorkspaceFailErrMocked ¶
DeleteWorkspaceFailErrMocked test mocked function
func DeleteWorkspaceFailStatusMocked ¶
DeleteWorkspaceFailStatusMocked test mocked function
func DeleteWorkspaceMocked ¶
DeleteWorkspaceMocked test mocked function
func ExecuteOperationalScriptFailErrMocked ¶
func ExecuteOperationalScriptFailErrMocked(t *testing.T, scriptIn *types.ScriptChar, serverID string) *types.ScriptChar
ExecuteOperationalScriptFailErrMocked test mocked function
func ExecuteOperationalScriptFailJSONMocked ¶
func ExecuteOperationalScriptFailJSONMocked(t *testing.T, scriptIn *types.ScriptChar, serverID string) *types.ScriptChar
ExecuteOperationalScriptFailJSONMocked test mocked function
func ExecuteOperationalScriptFailStatusMocked ¶
func ExecuteOperationalScriptFailStatusMocked(t *testing.T, scriptIn *types.ScriptChar, serverID string) *types.ScriptChar
ExecuteOperationalScriptFailStatusMocked test mocked function
func ExecuteOperationalScriptListMocked ¶
func ExecuteOperationalScriptListMocked(t *testing.T, scriptIn *types.ScriptChar, serverID string) *types.ScriptChar
ExecuteOperationalScriptListMocked test mocked function
func GetCloudProviderListFailErrMocked ¶
func GetCloudProviderListFailErrMocked(t *testing.T, cloudProvidersIn *[]types.CloudProvider) *[]types.CloudProvider
GetCloudProviderListFailErrMocked test mocked function
func GetCloudProviderListFailJSONMocked ¶
func GetCloudProviderListFailJSONMocked(t *testing.T, cloudProvidersIn *[]types.CloudProvider) *[]types.CloudProvider
GetCloudProviderListFailJSONMocked test mocked function
func GetCloudProviderListFailStatusMocked ¶
func GetCloudProviderListFailStatusMocked(t *testing.T, cloudProvidersIn *[]types.CloudProvider) *[]types.CloudProvider
GetCloudProviderListFailStatusMocked test mocked function
func GetCloudProviderListMocked ¶
func GetCloudProviderListMocked(t *testing.T, cloudProvidersIn *[]types.CloudProvider) *[]types.CloudProvider
GetCloudProviderListMocked test mocked function
func GetDNSListFailErrMocked ¶
func GetDNSListFailErrMocked(t *testing.T, serverIn *types.Server, dnssIn *[]types.Dns) *[]types.Dns
GetDNSListFailErrMocked test mocked function
func GetDNSListFailJSONMocked ¶
func GetDNSListFailJSONMocked(t *testing.T, serverIn *types.Server, dnssIn *[]types.Dns) *[]types.Dns
GetDNSListFailJSONMocked test mocked function
func GetDNSListFailStatusMocked ¶
func GetDNSListFailStatusMocked(t *testing.T, serverIn *types.Server, dnssIn *[]types.Dns) *[]types.Dns
GetDNSListFailStatusMocked test mocked function
func GetDNSListMocked ¶
GetDNSListMocked test mocked function
func GetGenericImageListFailErrMocked ¶
func GetGenericImageListFailErrMocked(t *testing.T, genericImagesIn *[]types.GenericImage) *[]types.GenericImage
GetGenericImageListFailErrMocked test mocked function
func GetGenericImageListFailJSONMocked ¶
func GetGenericImageListFailJSONMocked(t *testing.T, genericImagesIn *[]types.GenericImage) *[]types.GenericImage
GetGenericImageListFailJSONMocked test mocked function
func GetGenericImageListFailStatusMocked ¶
func GetGenericImageListFailStatusMocked(t *testing.T, genericImagesIn *[]types.GenericImage) *[]types.GenericImage
GetGenericImageListFailStatusMocked test mocked function
func GetGenericImageListMocked ¶
func GetGenericImageListMocked(t *testing.T, genericImagesIn *[]types.GenericImage) *[]types.GenericImage
GetGenericImageListMocked test mocked function
func GetOperationalScriptFailErrMocked ¶
func GetOperationalScriptFailErrMocked(t *testing.T, scriptsIn *[]types.ScriptChar, serverID string) *[]types.ScriptChar
GetOperationalScriptFailErrMocked test mocked function
func GetOperationalScriptFailJSONMocked ¶
func GetOperationalScriptFailJSONMocked(t *testing.T, scriptsIn *[]types.ScriptChar, serverID string) *[]types.ScriptChar
GetOperationalScriptFailJSONMocked test mocked function
func GetOperationalScriptFailStatusMocked ¶
func GetOperationalScriptFailStatusMocked(t *testing.T, scriptsIn *[]types.ScriptChar, serverID string) *[]types.ScriptChar
GetOperationalScriptFailStatusMocked test mocked function
func GetOperationalScriptListMocked ¶
func GetOperationalScriptListMocked(t *testing.T, scriptsIn *[]types.ScriptChar, serverID string) *[]types.ScriptChar
GetOperationalScriptListMocked test mocked function
func GetSSHProfileFailErrMocked ¶
func GetSSHProfileFailErrMocked(t *testing.T, sshProfile *types.SSHProfile) *types.SSHProfile
GetSSHProfileFailErrMocked test mocked function
func GetSSHProfileFailJSONMocked ¶
func GetSSHProfileFailJSONMocked(t *testing.T, sshProfile *types.SSHProfile) *types.SSHProfile
GetSSHProfileFailJSONMocked test mocked function
func GetSSHProfileFailStatusMocked ¶
func GetSSHProfileFailStatusMocked(t *testing.T, sshProfile *types.SSHProfile) *types.SSHProfile
GetSSHProfileFailStatusMocked test mocked function
func GetSSHProfileListFailErrMocked ¶
func GetSSHProfileListFailErrMocked(t *testing.T, sshProfilesIn *[]types.SSHProfile) *[]types.SSHProfile
GetSSHProfileListFailErrMocked test mocked function
func GetSSHProfileListFailJSONMocked ¶
func GetSSHProfileListFailJSONMocked(t *testing.T, sshProfilesIn *[]types.SSHProfile) *[]types.SSHProfile
GetSSHProfileListFailJSONMocked test mocked function
func GetSSHProfileListFailStatusMocked ¶
func GetSSHProfileListFailStatusMocked(t *testing.T, sshProfilesIn *[]types.SSHProfile) *[]types.SSHProfile
GetSSHProfileListFailStatusMocked test mocked function
func GetSSHProfileListMocked ¶
func GetSSHProfileListMocked(t *testing.T, sshProfilesIn *[]types.SSHProfile) *[]types.SSHProfile
GetSSHProfileListMocked test mocked function
func GetSSHProfileMocked ¶
func GetSSHProfileMocked(t *testing.T, sshProfile *types.SSHProfile) *types.SSHProfile
GetSSHProfileMocked test mocked function
func GetSaasProviderListFailErrMocked ¶
func GetSaasProviderListFailErrMocked(t *testing.T, saasProvidersIn *[]types.SaasProvider) *[]types.SaasProvider
GetSaasProviderListFailErrMocked test mocked function
func GetSaasProviderListFailJSONMocked ¶
func GetSaasProviderListFailJSONMocked(t *testing.T, saasProvidersIn *[]types.SaasProvider) *[]types.SaasProvider
GetSaasProviderListFailJSONMocked test mocked function
func GetSaasProviderListFailStatusMocked ¶
func GetSaasProviderListFailStatusMocked(t *testing.T, saasProvidersIn *[]types.SaasProvider) *[]types.SaasProvider
GetSaasProviderListFailStatusMocked test mocked function
func GetSaasProviderListMocked ¶
func GetSaasProviderListMocked(t *testing.T, saasProvidersIn *[]types.SaasProvider) *[]types.SaasProvider
GetSaasProviderListMocked test mocked function
func GetServerEventListFailErrMocked ¶
func GetServerEventListFailErrMocked(t *testing.T, eventsIn *[]types.Event, serverID string) *[]types.Event
GetServerEventListFailErrMocked test mocked function
func GetServerEventListFailJSONMocked ¶
func GetServerEventListFailJSONMocked(t *testing.T, eventsIn *[]types.Event, serverID string) *[]types.Event
GetServerEventListFailJSONMocked test mocked function
func GetServerEventListFailStatusMocked ¶
func GetServerEventListFailStatusMocked(t *testing.T, eventsIn *[]types.Event, serverID string) *[]types.Event
GetServerEventListFailStatusMocked test mocked function
func GetServerEventListMocked ¶
func GetServerEventListMocked(t *testing.T, eventsIn *[]types.Event, serverID string) *[]types.Event
GetServerEventListMocked test mocked function
func GetServerFailErrMocked ¶
GetServerFailErrMocked test mocked function
func GetServerFailJSONMocked ¶
GetServerFailJSONMocked test mocked function
func GetServerFailStatusMocked ¶
GetServerFailStatusMocked test mocked function
func GetServerListFailErrMocked ¶
GetServerListFailErrMocked test mocked function
func GetServerListFailJSONMocked ¶
GetServerListFailJSONMocked test mocked function
func GetServerListFailStatusMocked ¶
GetServerListFailStatusMocked test mocked function
func GetServerListMocked ¶
GetServerListMocked 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 GetServerPlanListFailErrMocked ¶
func GetServerPlanListFailErrMocked(t *testing.T, serverPlansIn *[]types.ServerPlan, cloudProviderId string) *[]types.ServerPlan
GetServerPlanListFailErrMocked test mocked function
func GetServerPlanListFailJSONMocked ¶
func GetServerPlanListFailJSONMocked(t *testing.T, serverPlansIn *[]types.ServerPlan, cloudProviderId string) *[]types.ServerPlan
GetServerPlanListFailJSONMocked test mocked function
func GetServerPlanListFailStatusMocked ¶
func GetServerPlanListFailStatusMocked(t *testing.T, serverPlansIn *[]types.ServerPlan, cloudProviderId string) *[]types.ServerPlan
GetServerPlanListFailStatusMocked test mocked function
func GetServerPlanListMocked ¶
func GetServerPlanListMocked(t *testing.T, serverPlansIn *[]types.ServerPlan, cloudProviderId string) *[]types.ServerPlan
GetServerPlanListMocked test mocked function
func GetServerPlanMocked ¶
func GetServerPlanMocked(t *testing.T, serverPlan *types.ServerPlan) *types.ServerPlan
GetServerPlanMocked test mocked function
func GetWorkspaceFailErrMocked ¶
GetWorkspaceFailErrMocked test mocked function
func GetWorkspaceFailJSONMocked ¶
GetWorkspaceFailJSONMocked test mocked function
func GetWorkspaceFailStatusMocked ¶
GetWorkspaceFailStatusMocked test mocked function
func GetWorkspaceListFailErrMocked ¶
func GetWorkspaceListFailErrMocked(t *testing.T, workspacesIn *[]types.Workspace) *[]types.Workspace
GetWorkspaceListFailErrMocked test mocked function
func GetWorkspaceListFailJSONMocked ¶
func GetWorkspaceListFailJSONMocked(t *testing.T, workspacesIn *[]types.Workspace) *[]types.Workspace
GetWorkspaceListFailJSONMocked test mocked function
func GetWorkspaceListFailStatusMocked ¶
func GetWorkspaceListFailStatusMocked(t *testing.T, workspacesIn *[]types.Workspace) *[]types.Workspace
GetWorkspaceListFailStatusMocked test mocked function
func GetWorkspaceListMocked ¶
GetWorkspaceListMocked test mocked function
func GetWorkspaceMocked ¶
GetWorkspaceMocked test mocked function
func GetWorkspaceServerListFailErrMocked ¶
func GetWorkspaceServerListFailErrMocked(t *testing.T, workspaceServersIn *[]types.WorkspaceServer, workspaceId string) *[]types.WorkspaceServer
GetWorkspaceServerListFailErrMocked test mocked function
func GetWorkspaceServerListFailJSONMocked ¶
func GetWorkspaceServerListFailJSONMocked(t *testing.T, workspaceServersIn *[]types.WorkspaceServer, workspaceId string) *[]types.WorkspaceServer
GetWorkspaceServerListFailJSONMocked test mocked function
func GetWorkspaceServerListFailStatusMocked ¶
func GetWorkspaceServerListFailStatusMocked(t *testing.T, workspaceServersIn *[]types.WorkspaceServer, workspaceId string) *[]types.WorkspaceServer
GetWorkspaceServerListFailStatusMocked test mocked function
func GetWorkspaceServerListMocked ¶
func GetWorkspaceServerListMocked(t *testing.T, workspaceServersIn *[]types.WorkspaceServer, workspaceId string) *[]types.WorkspaceServer
GetWorkspaceServerListMocked 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 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 UpdateServerFailErrMocked ¶
UpdateServerFailErrMocked test mocked function
func UpdateServerFailJSONMocked ¶
UpdateServerFailJSONMocked test mocked function
func UpdateServerFailStatusMocked ¶
UpdateServerFailStatusMocked test mocked function
func UpdateServerMocked ¶
UpdateServerMocked test mocked function
func UpdateWorkspaceFailErrMocked ¶
UpdateWorkspaceFailErrMocked test mocked function
func UpdateWorkspaceFailJSONMocked ¶
UpdateWorkspaceFailJSONMocked test mocked function
func UpdateWorkspaceFailStatusMocked ¶
UpdateWorkspaceFailStatusMocked test mocked function
Types ¶
type CloudProviderService ¶
type CloudProviderService struct {
// contains filtered or unexported fields
}
CloudProviderService manages cloudProvider operations
func NewCloudProviderService ¶
func NewCloudProviderService(concertoService utils.ConcertoService) (*CloudProviderService, error)
NewCloudProviderService returns a Concerto cloudProvider service
func (*CloudProviderService) GetCloudProviderList ¶
func (cl *CloudProviderService) GetCloudProviderList() (cloudProviders []types.CloudProvider, err error)
GetCloudProviderList returns the list of cloudProviders as an array of CloudProvider
type GenericImageService ¶
type GenericImageService struct {
// contains filtered or unexported fields
}
GenericImageService manages genericImage operations
func NewGenericImageService ¶
func NewGenericImageService(concertoService utils.ConcertoService) (*GenericImageService, error)
NewGenericImageService returns a Concerto genericImage service
func (*GenericImageService) GetGenericImageList ¶
func (cl *GenericImageService) GetGenericImageList() (genericImages []types.GenericImage, err error)
GetGenericImageList returns the list of genericImages as an array of GenericImage
type SSHProfileService ¶
type SSHProfileService struct {
// contains filtered or unexported fields
}
SSHProfileService manages sshProfile operations
func NewSSHProfileService ¶
func NewSSHProfileService(concertoService utils.ConcertoService) (*SSHProfileService, error)
NewSSHProfileService returns a Concerto sshProfile service
func (*SSHProfileService) CreateSSHProfile ¶
func (dm *SSHProfileService) CreateSSHProfile(sshProfileVector *map[string]interface{}) (sshProfile *types.SSHProfile, err error)
CreateSSHProfile creates a sshProfile
func (*SSHProfileService) DeleteSSHProfile ¶
func (dm *SSHProfileService) DeleteSSHProfile(ID string) (err error)
DeleteSSHProfile deletes a sshProfile by its ID
func (*SSHProfileService) GetSSHProfile ¶
func (dm *SSHProfileService) GetSSHProfile(ID string) (sshProfile *types.SSHProfile, err error)
GetSSHProfile returns a sshProfile by its ID
func (*SSHProfileService) GetSSHProfileList ¶
func (dm *SSHProfileService) GetSSHProfileList() (sshProfiles []types.SSHProfile, err error)
GetSSHProfileList returns the list of sshProfiles as an array of SSHProfile
func (*SSHProfileService) UpdateSSHProfile ¶
func (dm *SSHProfileService) UpdateSSHProfile(sshProfileVector *map[string]interface{}, ID string) (sshProfile *types.SSHProfile, err error)
UpdateSSHProfile updates a sshProfile by its ID
type SaasProviderService ¶
type SaasProviderService struct {
// contains filtered or unexported fields
}
SaasProviderService manages saasProvider operations
func NewSaasProviderService ¶
func NewSaasProviderService(concertoService utils.ConcertoService) (*SaasProviderService, error)
NewSaasProviderService returns a Concerto saasProvider service
func (*SaasProviderService) GetSaasProviderList ¶
func (cl *SaasProviderService) GetSaasProviderList() (saasProviders []types.SaasProvider, err error)
GetSaasProviderList returns the list of saasProviders as an array of SaasProvider
type ServerPlanService ¶
type ServerPlanService struct {
// contains filtered or unexported fields
}
ServerPlanService manages serverPlan operations
func NewServerPlanService ¶
func NewServerPlanService(concertoService utils.ConcertoService) (*ServerPlanService, error)
NewServerPlanService returns a Concerto serverPlan service
func (*ServerPlanService) GetServerPlan ¶
func (dm *ServerPlanService) GetServerPlan(ID string) (serverPlan *types.ServerPlan, err error)
GetServerPlan returns a serverPlan by its ID
func (*ServerPlanService) GetServerPlanList ¶
func (dm *ServerPlanService) GetServerPlanList(ProviderID string) (serverPlans []types.ServerPlan, err error)
GetServerPlanList returns the list of serverPlans as an array of ServerPlan
type ServerService ¶
type ServerService struct {
// contains filtered or unexported fields
}
ServerService manages server operations
func NewServerService ¶
func NewServerService(concertoService utils.ConcertoService) (*ServerService, error)
NewServerService returns a Concerto server service
func (*ServerService) BootServer ¶
func (dm *ServerService) BootServer(serverVector *map[string]interface{}, ID string) (server *types.Server, err error)
BootServer boots a server by its ID
func (*ServerService) CreateServer ¶
func (dm *ServerService) CreateServer(serverVector *map[string]interface{}) (server *types.Server, err error)
CreateServer creates a server
func (*ServerService) DeleteServer ¶
func (dm *ServerService) DeleteServer(ID string) (err error)
DeleteServer deletes a server by its ID
func (*ServerService) ExecuteOperationalScript ¶
func (dm *ServerService) ExecuteOperationalScript(serverVector *map[string]interface{}, ID string, script_ID string) (script *types.ScriptChar, err error)
ExecuteOperationalScript executes an operational script by its server ID and the script id
func (*ServerService) GetDNSList ¶
func (dm *ServerService) GetDNSList(serverID string) (dns []types.Dns, err error)
======= DNS ========== GetDNSList returns a list of dns by server ID
func (*ServerService) GetEventsList ¶
func (dm *ServerService) GetEventsList(serverID string) (events []types.Event, err error)
======= Events ========== GetEventsList returns a list of events by server ID
func (*ServerService) GetOperationalScriptsList ¶
func (dm *ServerService) GetOperationalScriptsList(serverID string) (scripts []types.ScriptChar, err error)
======= Operational Scripts ========== GetScriptsList returns a list of scripts by server ID
func (*ServerService) GetServer ¶
func (dm *ServerService) GetServer(ID string) (server *types.Server, err error)
GetServer returns a server by its ID
func (*ServerService) GetServerList ¶
func (dm *ServerService) GetServerList() (servers []types.Server, err error)
GetServerList returns the list of servers as an array of Server
func (*ServerService) OverrideServer ¶
func (dm *ServerService) OverrideServer(serverVector *map[string]interface{}, ID string) (server *types.Server, err error)
OverrideServer overrides a server by its ID
func (*ServerService) RebootServer ¶
func (dm *ServerService) RebootServer(serverVector *map[string]interface{}, ID string) (server *types.Server, err error)
RebootServer reboots a server by its ID
func (*ServerService) ShutdownServer ¶
func (dm *ServerService) ShutdownServer(serverVector *map[string]interface{}, ID string) (server *types.Server, err error)
ShutdownServer shuts down a server by its ID
func (*ServerService) UpdateServer ¶
func (dm *ServerService) UpdateServer(serverVector *map[string]interface{}, ID string) (server *types.Server, err error)
UpdateServer updates a server by its ID
type WorkspaceService ¶
type WorkspaceService struct {
// contains filtered or unexported fields
}
WorkspaceService manages workspace operations
func NewWorkspaceService ¶
func NewWorkspaceService(concertoService utils.ConcertoService) (*WorkspaceService, error)
NewWorkspaceService returns a Concerto workspace service
func (*WorkspaceService) CreateWorkspace ¶
func (dm *WorkspaceService) CreateWorkspace(workspaceVector *map[string]interface{}) (workspace *types.Workspace, err error)
CreateWorkspace creates a workspace
func (*WorkspaceService) DeleteWorkspace ¶
func (dm *WorkspaceService) DeleteWorkspace(ID string) (err error)
DeleteWorkspace deletes a workspace by its ID
func (*WorkspaceService) GetWorkspace ¶
func (dm *WorkspaceService) GetWorkspace(ID string) (workspace *types.Workspace, err error)
GetWorkspace returns a workspace by its ID
func (*WorkspaceService) GetWorkspaceList ¶
func (dm *WorkspaceService) GetWorkspaceList() (workspaces []types.Workspace, err error)
GetWorkspaceList returns the list of workspaces as an array of Workspace
func (*WorkspaceService) GetWorkspaceServerList ¶
func (dm *WorkspaceService) GetWorkspaceServerList(workspaceID string) (workspaceServer *[]types.WorkspaceServer, err error)
GetWorkspaceServerList returns a list of workspaceServer by workspace ID
func (*WorkspaceService) UpdateWorkspace ¶
func (dm *WorkspaceService) UpdateWorkspace(workspaceVector *map[string]interface{}, ID string) (workspace *types.Workspace, err error)
UpdateWorkspace updates a workspace by its ID
Source Files ¶
- cloud_providers_api.go
- cloud_providers_api_mocked.go
- generic_images_api.go
- generic_images_api_mocked.go
- saas_providers_api.go
- saas_providers_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
- workspaces_api.go
- workspaces_api_mocked.go