mocks

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Feb 22, 2024 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Overview

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Index

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

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

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockInventoryParser) Parse

func (m *MockInventoryParser) Parse(data []byte) (*inventory.Inventory, error)

Parse mocks base method.

type MockInventoryParserMockRecorder

type MockInventoryParserMockRecorder struct {
	// contains filtered or unexported fields
}

MockInventoryParserMockRecorder is the mock recorder for MockInventoryParser.

func (*MockInventoryParserMockRecorder) Parse

Parse indicates an expected call of Parse.

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

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.

Jump to

Keyboard shortcuts

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