cloud

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Apr 6, 2018 License: Apache-2.0 Imports: 7 Imported by: 2 modules, 1 package

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BootServerFailErrMocked

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

BootServerFailErrMocked test mocked function

func BootServerFailJSONMocked

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

BootServerFailJSONMocked test mocked function

func BootServerFailStatusMocked

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

BootServerFailStatusMocked test mocked function

func BootServerMocked

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

BootServerMocked test mocked function

func CreateSSHProfileFailErrMocked

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

CreateSSHProfileFailErrMocked test mocked function

func CreateSSHProfileFailJSONMocked

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

CreateSSHProfileFailJSONMocked test mocked function

func CreateSSHProfileFailStatusMocked

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

CreateSSHProfileFailStatusMocked test mocked function

func CreateSSHProfileMocked

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

CreateSSHProfileMocked test mocked function

func CreateServerFailErrMocked

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

CreateServerFailErrMocked test mocked function

func CreateServerFailJSONMocked

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

CreateServerFailJSONMocked test mocked function

func CreateServerFailStatusMocked

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

CreateServerFailStatusMocked test mocked function

func CreateServerMocked

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

CreateServerMocked test mocked function

func CreateWorkspaceFailErrMocked

func CreateWorkspaceFailErrMocked(t *testing.T, workspaceIn *types.Workspace) *types.Workspace

CreateWorkspaceFailErrMocked test mocked function

func CreateWorkspaceFailJSONMocked

func CreateWorkspaceFailJSONMocked(t *testing.T, workspaceIn *types.Workspace) *types.Workspace

CreateWorkspaceFailJSONMocked test mocked function

func CreateWorkspaceFailStatusMocked

func CreateWorkspaceFailStatusMocked(t *testing.T, workspaceIn *types.Workspace) *types.Workspace

CreateWorkspaceFailStatusMocked test mocked function

func CreateWorkspaceMocked

func CreateWorkspaceMocked(t *testing.T, workspaceIn *types.Workspace) *types.Workspace

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

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

DeleteServerFailErrMocked test mocked function

func DeleteServerFailStatusMocked

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

DeleteServerFailStatusMocked test mocked function

func DeleteServerMocked

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

DeleteServerMocked test mocked function

func DeleteWorkspaceFailErrMocked

func DeleteWorkspaceFailErrMocked(t *testing.T, workspaceIn *types.Workspace)

DeleteWorkspaceFailErrMocked test mocked function

func DeleteWorkspaceFailStatusMocked

func DeleteWorkspaceFailStatusMocked(t *testing.T, workspaceIn *types.Workspace)

DeleteWorkspaceFailStatusMocked test mocked function

func DeleteWorkspaceMocked

func DeleteWorkspaceMocked(t *testing.T, workspaceIn *types.Workspace)

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

func GetDNSListMocked(t *testing.T, serverIn *types.Server, dnssIn *[]types.Dns) *[]types.Dns

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

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

GetServerFailErrMocked test mocked function

func GetServerFailJSONMocked

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

GetServerFailJSONMocked test mocked function

func GetServerFailStatusMocked

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

GetServerFailStatusMocked test mocked function

func GetServerListFailErrMocked

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

GetServerListFailErrMocked test mocked function

func GetServerListFailJSONMocked

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

GetServerListFailJSONMocked test mocked function

func GetServerListFailStatusMocked

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

GetServerListFailStatusMocked test mocked function

func GetServerListMocked

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

GetServerListMocked test mocked function

func GetServerMocked

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

GetServerMocked test mocked function

func GetServerPlanFailErrMocked

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

GetServerPlanFailErrMocked test mocked function

func GetServerPlanFailJSONMocked

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

GetServerPlanFailJSONMocked test mocked function

func GetServerPlanFailStatusMocked

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

GetServerPlanFailStatusMocked test mocked function

func GetServerPlanListFailErrMocked

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

GetServerPlanListFailErrMocked test mocked function

func GetServerPlanListFailJSONMocked

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

GetServerPlanListFailJSONMocked test mocked function

func GetServerPlanListFailStatusMocked

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

GetServerPlanListFailStatusMocked test mocked function

func GetServerPlanListMocked

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

GetServerPlanListMocked test mocked function

func GetServerPlanMocked

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

GetServerPlanMocked test mocked function

func GetWorkspaceFailErrMocked

func GetWorkspaceFailErrMocked(t *testing.T, workspace *types.Workspace) *types.Workspace

GetWorkspaceFailErrMocked test mocked function

func GetWorkspaceFailJSONMocked

func GetWorkspaceFailJSONMocked(t *testing.T, workspace *types.Workspace) *types.Workspace

GetWorkspaceFailJSONMocked test mocked function

func GetWorkspaceFailStatusMocked

func GetWorkspaceFailStatusMocked(t *testing.T, workspace *types.Workspace) *types.Workspace

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

func GetWorkspaceListMocked(t *testing.T, workspacesIn *[]types.Workspace) *[]types.Workspace

GetWorkspaceListMocked test mocked function

func GetWorkspaceMocked

func GetWorkspaceMocked(t *testing.T, workspace *types.Workspace) *types.Workspace

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

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

OverrideServerFailErrMocked test mocked function

func OverrideServerFailJSONMocked

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

OverrideServerFailJSONMocked test mocked function

func OverrideServerFailStatusMocked

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

OverrideServerFailStatusMocked test mocked function

func OverrideServerMocked

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

OverrideServerMocked test mocked function

func RebootServerFailErrMocked

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

RebootServerFailErrMocked test mocked function

func RebootServerFailJSONMocked

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

RebootServerFailJSONMocked test mocked function

func RebootServerFailStatusMocked

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

RebootServerFailStatusMocked test mocked function

func RebootServerMocked

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

RebootServerMocked test mocked function

func ShutdownServerFailErrMocked

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

ShutdownServerFailErrMocked test mocked function

func ShutdownServerFailJSONMocked

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

ShutdownServerFailJSONMocked test mocked function

func ShutdownServerFailStatusMocked

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

ShutdownServerFailStatusMocked test mocked function

func ShutdownServerMocked

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

ShutdownServerMocked test mocked function

func UpdateSSHProfileFailErrMocked

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

UpdateSSHProfileFailErrMocked test mocked function

func UpdateSSHProfileFailJSONMocked

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

UpdateSSHProfileFailJSONMocked test mocked function

func UpdateSSHProfileFailStatusMocked

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

UpdateSSHProfileFailStatusMocked test mocked function

func UpdateSSHProfileMocked

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

UpdateSSHProfileMocked test mocked function

func UpdateServerFailErrMocked

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

UpdateServerFailErrMocked test mocked function

func UpdateServerFailJSONMocked

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

UpdateServerFailJSONMocked test mocked function

func UpdateServerFailStatusMocked

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

UpdateServerFailStatusMocked test mocked function

func UpdateServerMocked

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

UpdateServerMocked test mocked function

func UpdateWorkspaceFailErrMocked

func UpdateWorkspaceFailErrMocked(t *testing.T, workspaceIn *types.Workspace) *types.Workspace

UpdateWorkspaceFailErrMocked test mocked function

func UpdateWorkspaceFailJSONMocked

func UpdateWorkspaceFailJSONMocked(t *testing.T, workspaceIn *types.Workspace) *types.Workspace

UpdateWorkspaceFailJSONMocked test mocked function

func UpdateWorkspaceFailStatusMocked

func UpdateWorkspaceFailStatusMocked(t *testing.T, workspaceIn *types.Workspace) *types.Workspace

UpdateWorkspaceFailStatusMocked test mocked function

func UpdateWorkspaceMocked

func UpdateWorkspaceMocked(t *testing.T, workspaceIn *types.Workspace) *types.Workspace

UpdateWorkspaceMocked 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

Jump to

Keyboard shortcuts

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