Documentation
¶
Overview ¶
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Index ¶
- type MockInventoryManager
- func (m *MockInventoryManager) EXPECT() *MockInventoryManagerMockRecorder
- func (m *MockInventoryManager) GetAccessConfig(groupName, hostName string) (*access.AccessConfig, error)
- func (m *MockInventoryManager) GetGroupHosts(group string) []inventory.HostDetail
- func (m *MockInventoryManager) GetGroups() []inventory.GroupDetail
- func (m *MockInventoryManager) GetHostAddress(groupName, hostName string) (string, error)
- func (m *MockInventoryManager) GetHostPassword(groupName, hostName string) string
- func (m *MockInventoryManager) GetHostPort(groupName, hostName string) int
- func (m *MockInventoryManager) GetHostSSHAgent(groupName, hostName string) bool
- func (m *MockInventoryManager) GetHostSSHAgentForwarding(groupName, hostName string) bool
- func (m *MockInventoryManager) GetHostSSHKey(groupName, hostName string) string
- func (m *MockInventoryManager) GetHostUsername(groupName, hostName string) (string, error)
- func (m *MockInventoryManager) GetUngroupedHosts() []inventory.HostDetail
- type MockInventoryManagerMockRecorder
- func (mr *MockInventoryManagerMockRecorder) GetAccessConfig(groupName, hostName any) *gomock.Call
- func (mr *MockInventoryManagerMockRecorder) GetGroupHosts(group any) *gomock.Call
- func (mr *MockInventoryManagerMockRecorder) GetGroups() *gomock.Call
- func (mr *MockInventoryManagerMockRecorder) GetHostAddress(groupName, hostName any) *gomock.Call
- func (mr *MockInventoryManagerMockRecorder) GetHostPassword(groupName, hostName any) *gomock.Call
- func (mr *MockInventoryManagerMockRecorder) GetHostPort(groupName, hostName any) *gomock.Call
- func (mr *MockInventoryManagerMockRecorder) GetHostSSHAgent(groupName, hostName any) *gomock.Call
- func (mr *MockInventoryManagerMockRecorder) GetHostSSHAgentForwarding(groupName, hostName any) *gomock.Call
- func (mr *MockInventoryManagerMockRecorder) GetHostSSHKey(groupName, hostName any) *gomock.Call
- func (mr *MockInventoryManagerMockRecorder) GetHostUsername(groupName, hostName any) *gomock.Call
- func (mr *MockInventoryManagerMockRecorder) GetUngroupedHosts() *gomock.Call
- type MockInventoryParser
- type MockInventoryParserMockRecorder
- type MockInventoryReader
- type MockInventoryReaderMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockInventoryManager ¶
type MockInventoryManager struct {
// contains filtered or unexported fields
}
MockInventoryManager is a mock of InventoryManager interface.
func NewMockInventoryManager ¶
func NewMockInventoryManager(ctrl *gomock.Controller) *MockInventoryManager
NewMockInventoryManager creates a new mock instance.
func (*MockInventoryManager) EXPECT ¶
func (m *MockInventoryManager) EXPECT() *MockInventoryManagerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockInventoryManager) GetAccessConfig ¶
func (m *MockInventoryManager) GetAccessConfig(groupName, hostName string) (*access.AccessConfig, error)
GetAccessConfig mocks base method.
func (*MockInventoryManager) GetGroupHosts ¶
func (m *MockInventoryManager) GetGroupHosts(group string) []inventory.HostDetail
GetGroupHosts mocks base method.
func (*MockInventoryManager) GetGroups ¶
func (m *MockInventoryManager) GetGroups() []inventory.GroupDetail
GetGroups mocks base method.
func (*MockInventoryManager) GetHostAddress ¶
func (m *MockInventoryManager) GetHostAddress(groupName, hostName string) (string, error)
GetHostAddress mocks base method.
func (*MockInventoryManager) GetHostPassword ¶
func (m *MockInventoryManager) GetHostPassword(groupName, hostName string) string
GetHostPassword mocks base method.
func (*MockInventoryManager) GetHostPort ¶
func (m *MockInventoryManager) GetHostPort(groupName, hostName string) int
GetHostPort mocks base method.
func (*MockInventoryManager) GetHostSSHAgent ¶
func (m *MockInventoryManager) GetHostSSHAgent(groupName, hostName string) bool
GetHostSSHAgent mocks base method.
func (*MockInventoryManager) GetHostSSHAgentForwarding ¶
func (m *MockInventoryManager) GetHostSSHAgentForwarding(groupName, hostName string) bool
GetHostSSHAgentForwarding mocks base method.
func (*MockInventoryManager) GetHostSSHKey ¶
func (m *MockInventoryManager) GetHostSSHKey(groupName, hostName string) string
GetHostSSHKey mocks base method.
func (*MockInventoryManager) GetHostUsername ¶
func (m *MockInventoryManager) GetHostUsername(groupName, hostName string) (string, error)
GetHostUsername mocks base method.
func (*MockInventoryManager) GetUngroupedHosts ¶
func (m *MockInventoryManager) GetUngroupedHosts() []inventory.HostDetail
GetUngroupedHosts mocks base method.
type MockInventoryManagerMockRecorder ¶
type MockInventoryManagerMockRecorder struct {
// contains filtered or unexported fields
}
MockInventoryManagerMockRecorder is the mock recorder for MockInventoryManager.
func (*MockInventoryManagerMockRecorder) GetAccessConfig ¶
func (mr *MockInventoryManagerMockRecorder) GetAccessConfig(groupName, hostName any) *gomock.Call
GetAccessConfig indicates an expected call of GetAccessConfig.
func (*MockInventoryManagerMockRecorder) GetGroupHosts ¶
func (mr *MockInventoryManagerMockRecorder) GetGroupHosts(group any) *gomock.Call
GetGroupHosts indicates an expected call of GetGroupHosts.
func (*MockInventoryManagerMockRecorder) GetGroups ¶
func (mr *MockInventoryManagerMockRecorder) GetGroups() *gomock.Call
GetGroups indicates an expected call of GetGroups.
func (*MockInventoryManagerMockRecorder) GetHostAddress ¶
func (mr *MockInventoryManagerMockRecorder) GetHostAddress(groupName, hostName any) *gomock.Call
GetHostAddress indicates an expected call of GetHostAddress.
func (*MockInventoryManagerMockRecorder) GetHostPassword ¶
func (mr *MockInventoryManagerMockRecorder) GetHostPassword(groupName, hostName any) *gomock.Call
GetHostPassword indicates an expected call of GetHostPassword.
func (*MockInventoryManagerMockRecorder) GetHostPort ¶
func (mr *MockInventoryManagerMockRecorder) GetHostPort(groupName, hostName any) *gomock.Call
GetHostPort indicates an expected call of GetHostPort.
func (*MockInventoryManagerMockRecorder) GetHostSSHAgent ¶
func (mr *MockInventoryManagerMockRecorder) GetHostSSHAgent(groupName, hostName any) *gomock.Call
GetHostSSHAgent indicates an expected call of GetHostSSHAgent.
func (*MockInventoryManagerMockRecorder) GetHostSSHAgentForwarding ¶
func (mr *MockInventoryManagerMockRecorder) GetHostSSHAgentForwarding(groupName, hostName any) *gomock.Call
GetHostSSHAgentForwarding indicates an expected call of GetHostSSHAgentForwarding.
func (*MockInventoryManagerMockRecorder) GetHostSSHKey ¶
func (mr *MockInventoryManagerMockRecorder) GetHostSSHKey(groupName, hostName any) *gomock.Call
GetHostSSHKey indicates an expected call of GetHostSSHKey.
func (*MockInventoryManagerMockRecorder) GetHostUsername ¶
func (mr *MockInventoryManagerMockRecorder) GetHostUsername(groupName, hostName any) *gomock.Call
GetHostUsername indicates an expected call of GetHostUsername.
func (*MockInventoryManagerMockRecorder) GetUngroupedHosts ¶
func (mr *MockInventoryManagerMockRecorder) GetUngroupedHosts() *gomock.Call
GetUngroupedHosts indicates an expected call of GetUngroupedHosts.
type MockInventoryParser ¶
type MockInventoryParser struct {
// contains filtered or unexported fields
}
MockInventoryParser is a mock of InventoryParser interface.
func NewMockInventoryParser ¶
func NewMockInventoryParser(ctrl *gomock.Controller) *MockInventoryParser
NewMockInventoryParser creates a new mock instance.
func (*MockInventoryParser) EXPECT ¶
func (m *MockInventoryParser) EXPECT() *MockInventoryParserMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockInventoryParserMockRecorder ¶
type MockInventoryParserMockRecorder struct {
// contains filtered or unexported fields
}
MockInventoryParserMockRecorder is the mock recorder for MockInventoryParser.
type MockInventoryReader ¶
type MockInventoryReader struct {
// contains filtered or unexported fields
}
MockInventoryReader is a mock of InventoryReader interface.
func NewMockInventoryReader ¶
func NewMockInventoryReader(ctrl *gomock.Controller) *MockInventoryReader
NewMockInventoryReader creates a new mock instance.
func (*MockInventoryReader) EXPECT ¶
func (m *MockInventoryReader) EXPECT() *MockInventoryReaderMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockInventoryReader) ReadInventory ¶
func (m *MockInventoryReader) ReadInventory(filePath string) (string, error)
ReadInventory mocks base method.
type MockInventoryReaderMockRecorder ¶
type MockInventoryReaderMockRecorder struct {
// contains filtered or unexported fields
}
MockInventoryReaderMockRecorder is the mock recorder for MockInventoryReader.
func (*MockInventoryReaderMockRecorder) ReadInventory ¶
func (mr *MockInventoryReaderMockRecorder) ReadInventory(filePath any) *gomock.Call
ReadInventory indicates an expected call of ReadInventory.