Documentation ¶
Overview ¶
Package mock_inventorygroups is a generated GoMock package.
Index ¶
- type MockClientInterface
- func (m *MockClientInterface) AddHostsToGroup(groupUUID string, hosts []string) (*inventorygroups.Group, error)
- func (m *MockClientInterface) CreateGroup(groupName string, hostIDS []string) (*inventorygroups.Group, error)
- func (m *MockClientInterface) EXPECT() *MockClientInterfaceMockRecorder
- func (m *MockClientInterface) GetBaseURL() (*url.URL, error)
- func (m *MockClientInterface) GetGroupByName(name string) (*inventorygroups.Group, error)
- func (m *MockClientInterface) GetGroupByUUID(groupUUID string) (*inventorygroups.Group, error)
- func (m *MockClientInterface) ListGroups(requestParams inventorygroups.ListGroupsParams) (*inventorygroups.Response, error)
- type MockClientInterfaceMockRecorder
- func (mr *MockClientInterfaceMockRecorder) AddHostsToGroup(groupUUID, hosts interface{}) *gomock.Call
- func (mr *MockClientInterfaceMockRecorder) CreateGroup(groupName, hostIDS interface{}) *gomock.Call
- func (mr *MockClientInterfaceMockRecorder) GetBaseURL() *gomock.Call
- func (mr *MockClientInterfaceMockRecorder) GetGroupByName(name interface{}) *gomock.Call
- func (mr *MockClientInterfaceMockRecorder) GetGroupByUUID(groupUUID interface{}) *gomock.Call
- func (mr *MockClientInterfaceMockRecorder) ListGroups(requestParams interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockClientInterface ¶
type MockClientInterface struct {
// contains filtered or unexported fields
}
MockClientInterface is a mock of ClientInterface interface.
func NewMockClientInterface ¶
func NewMockClientInterface(ctrl *gomock.Controller) *MockClientInterface
NewMockClientInterface creates a new mock instance.
func (*MockClientInterface) AddHostsToGroup ¶
func (m *MockClientInterface) AddHostsToGroup(groupUUID string, hosts []string) (*inventorygroups.Group, error)
AddHostsToGroup mocks base method.
func (*MockClientInterface) CreateGroup ¶
func (m *MockClientInterface) CreateGroup(groupName string, hostIDS []string) (*inventorygroups.Group, error)
CreateGroup mocks base method.
func (*MockClientInterface) EXPECT ¶
func (m *MockClientInterface) EXPECT() *MockClientInterfaceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockClientInterface) GetBaseURL ¶
func (m *MockClientInterface) GetBaseURL() (*url.URL, error)
GetBaseURL mocks base method.
func (*MockClientInterface) GetGroupByName ¶
func (m *MockClientInterface) GetGroupByName(name string) (*inventorygroups.Group, error)
GetGroupByName mocks base method.
func (*MockClientInterface) GetGroupByUUID ¶
func (m *MockClientInterface) GetGroupByUUID(groupUUID string) (*inventorygroups.Group, error)
GetGroupByUUID mocks base method.
func (*MockClientInterface) ListGroups ¶
func (m *MockClientInterface) ListGroups(requestParams inventorygroups.ListGroupsParams) (*inventorygroups.Response, error)
ListGroups mocks base method.
type MockClientInterfaceMockRecorder ¶
type MockClientInterfaceMockRecorder struct {
// contains filtered or unexported fields
}
MockClientInterfaceMockRecorder is the mock recorder for MockClientInterface.
func (*MockClientInterfaceMockRecorder) AddHostsToGroup ¶
func (mr *MockClientInterfaceMockRecorder) AddHostsToGroup(groupUUID, hosts interface{}) *gomock.Call
AddHostsToGroup indicates an expected call of AddHostsToGroup.
func (*MockClientInterfaceMockRecorder) CreateGroup ¶
func (mr *MockClientInterfaceMockRecorder) CreateGroup(groupName, hostIDS interface{}) *gomock.Call
CreateGroup indicates an expected call of CreateGroup.
func (*MockClientInterfaceMockRecorder) GetBaseURL ¶
func (mr *MockClientInterfaceMockRecorder) GetBaseURL() *gomock.Call
GetBaseURL indicates an expected call of GetBaseURL.
func (*MockClientInterfaceMockRecorder) GetGroupByName ¶
func (mr *MockClientInterfaceMockRecorder) GetGroupByName(name interface{}) *gomock.Call
GetGroupByName indicates an expected call of GetGroupByName.
func (*MockClientInterfaceMockRecorder) GetGroupByUUID ¶
func (mr *MockClientInterfaceMockRecorder) GetGroupByUUID(groupUUID interface{}) *gomock.Call
GetGroupByUUID indicates an expected call of GetGroupByUUID.
func (*MockClientInterfaceMockRecorder) ListGroups ¶
func (mr *MockClientInterfaceMockRecorder) ListGroups(requestParams interface{}) *gomock.Call
ListGroups indicates an expected call of ListGroups.