MCPcopy Index your code
hub / github.com/apache/cloudstack-go / SystemVMServiceIface

Interface SystemVMServiceIface

cloudstack/SystemVMService.go:30–57  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

28)
29
30type SystemVMServiceIface interface {
31 ChangeServiceForSystemVm(p *ChangeServiceForSystemVmParams) (*ChangeServiceForSystemVmResponse, error)
32 NewChangeServiceForSystemVmParams(id string, serviceofferingid string) *ChangeServiceForSystemVmParams
33 DestroySystemVm(p *DestroySystemVmParams) (*DestroySystemVmResponse, error)
34 NewDestroySystemVmParams(id string) *DestroySystemVmParams
35 ListSystemVms(p *ListSystemVmsParams) (*ListSystemVmsResponse, error)
36 NewListSystemVmsParams() *ListSystemVmsParams
37 GetSystemVmID(name string, opts ...OptionFunc) (string, int, error)
38 GetSystemVmByName(name string, opts ...OptionFunc) (*SystemVm, int, error)
39 GetSystemVmByID(id string, opts ...OptionFunc) (*SystemVm, int, error)
40 ListSystemVmsUsageHistory(p *ListSystemVmsUsageHistoryParams) (*ListSystemVmsUsageHistoryResponse, error)
41 NewListSystemVmsUsageHistoryParams() *ListSystemVmsUsageHistoryParams
42 GetSystemVmsUsageHistoryID(name string, opts ...OptionFunc) (string, int, error)
43 GetSystemVmsUsageHistoryByName(name string, opts ...OptionFunc) (*SystemVmsUsageHistory, int, error)
44 GetSystemVmsUsageHistoryByID(id string, opts ...OptionFunc) (*SystemVmsUsageHistory, int, error)
45 MigrateSystemVm(p *MigrateSystemVmParams) (*MigrateSystemVmResponse, error)
46 NewMigrateSystemVmParams(virtualmachineid string) *MigrateSystemVmParams
47 RebootSystemVm(p *RebootSystemVmParams) (*RebootSystemVmResponse, error)
48 NewRebootSystemVmParams(id string) *RebootSystemVmParams
49 ScaleSystemVm(p *ScaleSystemVmParams) (*ScaleSystemVmResponse, error)
50 NewScaleSystemVmParams(id string, serviceofferingid string) *ScaleSystemVmParams
51 StartSystemVm(p *StartSystemVmParams) (*StartSystemVmResponse, error)
52 NewStartSystemVmParams(id string) *StartSystemVmParams
53 StopSystemVm(p *StopSystemVmParams) (*StopSystemVmResponse, error)
54 NewStopSystemVmParams(id string) *StopSystemVmParams
55 PatchSystemVm(p *PatchSystemVmParams) (*PatchSystemVmResponse, error)
56 NewPatchSystemVmParams() *PatchSystemVmParams
57}
58
59type ChangeServiceForSystemVmParams struct {
60 p map[string]interface{}

Callers 20

TestSystemVMServiceFunction · 0.65
TestSystemVMServiceFunction · 0.65
TestSystemVMServiceFunction · 0.65
TestSystemVMServiceFunction · 0.65
TestSystemVMServiceFunction · 0.65
TestSystemVMServiceFunction · 0.65
TestSystemVMServiceFunction · 0.65
TestSystemVMServiceFunction · 0.65
TestSystemVMServiceFunction · 0.65
TestSystemVMServiceFunction · 0.65
TestSystemVMServiceFunction · 0.65
TestSystemVMServiceFunction · 0.65

Implementers 3

SystemVMServicecloudstack/cloudstack.go
MockSystemVMServiceIfacecloudstack/SystemVMService_mock.go
MockSystemVMServiceIfaceMockRecordercloudstack/SystemVMService_mock.go

Calls

no outgoing calls

Tested by

no test coverage detected