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

Interface VMGroupServiceIface

cloudstack/VMGroupService.go:30–42  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

28)
29
30type VMGroupServiceIface interface {
31 CreateInstanceGroup(p *CreateInstanceGroupParams) (*CreateInstanceGroupResponse, error)
32 NewCreateInstanceGroupParams(name string) *CreateInstanceGroupParams
33 DeleteInstanceGroup(p *DeleteInstanceGroupParams) (*DeleteInstanceGroupResponse, error)
34 NewDeleteInstanceGroupParams(id string) *DeleteInstanceGroupParams
35 ListInstanceGroups(p *ListInstanceGroupsParams) (*ListInstanceGroupsResponse, error)
36 NewListInstanceGroupsParams() *ListInstanceGroupsParams
37 GetInstanceGroupID(name string, opts ...OptionFunc) (string, int, error)
38 GetInstanceGroupByName(name string, opts ...OptionFunc) (*InstanceGroup, int, error)
39 GetInstanceGroupByID(id string, opts ...OptionFunc) (*InstanceGroup, int, error)
40 UpdateInstanceGroup(p *UpdateInstanceGroupParams) (*UpdateInstanceGroupResponse, error)
41 NewUpdateInstanceGroupParams(id string) *UpdateInstanceGroupParams
42}
43
44type CreateInstanceGroupParams struct {
45 p map[string]interface{}

Callers 8

TestVMGroupServiceFunction · 0.65
TestVMGroupServiceFunction · 0.65
TestVMGroupServiceFunction · 0.65
TestVMGroupServiceFunction · 0.65
TestVMGroupServiceFunction · 0.65
TestVMGroupServiceFunction · 0.65
TestVMGroupServiceFunction · 0.65
TestVMGroupServiceFunction · 0.65

Implementers 3

VMGroupServicecloudstack/cloudstack.go
MockVMGroupServiceIfacecloudstack/VMGroupService_mock.go
MockVMGroupServiceIfaceMockRecordercloudstack/VMGroupService_mock.go

Calls

no outgoing calls

Tested by

no test coverage detected