Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Index ¶
- type MockConfigurationDetector
- func (m *MockConfigurationDetector) DetectDirectory(arg0 loader.InputDirectory, arg1 loader.DetectOptions) (loader.IACConfiguration, error)
- func (m *MockConfigurationDetector) DetectFile(arg0 loader.InputFile, arg1 loader.DetectOptions) (loader.IACConfiguration, error)
- func (m *MockConfigurationDetector) EXPECT() *MockConfigurationDetectorMockRecorder
- type MockConfigurationDetectorMockRecorder
- type MockIACConfiguration
- type MockIACConfigurationMockRecorder
- type MockInputDirectory
- func (m *MockInputDirectory) Children() []loader.InputPath
- func (m *MockInputDirectory) DetectType(arg0 loader.ConfigurationDetector, arg1 loader.DetectOptions) (loader.IACConfiguration, error)
- func (m *MockInputDirectory) EXPECT() *MockInputDirectoryMockRecorder
- func (m *MockInputDirectory) IsDir() bool
- func (m *MockInputDirectory) Name() string
- func (m *MockInputDirectory) Path() string
- func (m *MockInputDirectory) Walk(arg0 loader.WalkFunc) error
- type MockInputDirectoryMockRecorder
- func (mr *MockInputDirectoryMockRecorder) Children() *gomock.Call
- func (mr *MockInputDirectoryMockRecorder) DetectType(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockInputDirectoryMockRecorder) IsDir() *gomock.Call
- func (mr *MockInputDirectoryMockRecorder) Name() *gomock.Call
- func (mr *MockInputDirectoryMockRecorder) Path() *gomock.Call
- func (mr *MockInputDirectoryMockRecorder) Walk(arg0 interface{}) *gomock.Call
- type MockInputFile
- func (m *MockInputFile) Contents() ([]byte, error)
- func (m *MockInputFile) DetectType(arg0 loader.ConfigurationDetector, arg1 loader.DetectOptions) (loader.IACConfiguration, error)
- func (m *MockInputFile) EXPECT() *MockInputFileMockRecorder
- func (m *MockInputFile) Ext() string
- func (m *MockInputFile) IsDir() bool
- func (m *MockInputFile) Name() string
- func (m *MockInputFile) Path() string
- type MockInputFileMockRecorder
- func (mr *MockInputFileMockRecorder) Contents() *gomock.Call
- func (mr *MockInputFileMockRecorder) DetectType(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockInputFileMockRecorder) Ext() *gomock.Call
- func (mr *MockInputFileMockRecorder) IsDir() *gomock.Call
- func (mr *MockInputFileMockRecorder) Name() *gomock.Call
- func (mr *MockInputFileMockRecorder) Path() *gomock.Call
- type MockInputPath
- func (m *MockInputPath) DetectType(arg0 loader.ConfigurationDetector, arg1 loader.DetectOptions) (loader.IACConfiguration, error)
- func (m *MockInputPath) EXPECT() *MockInputPathMockRecorder
- func (m *MockInputPath) IsDir() bool
- func (m *MockInputPath) Name() string
- func (m *MockInputPath) Path() string
- type MockInputPathMockRecorder
- type MockLoadedConfigurations
- func (m *MockLoadedConfigurations) AddConfiguration(arg0 string, arg1 loader.IACConfiguration)
- func (m *MockLoadedConfigurations) AlreadyLoaded(arg0 string) bool
- func (m *MockLoadedConfigurations) ConfigurationPath(arg0 string) *string
- func (m *MockLoadedConfigurations) Count() int
- func (m *MockLoadedConfigurations) EXPECT() *MockLoadedConfigurationsMockRecorder
- func (m *MockLoadedConfigurations) Location(arg0 string, arg1 []string) ([]loader.Location, error)
- func (m *MockLoadedConfigurations) RegulaInput() []loader.RegulaInput
- type MockLoadedConfigurationsMockRecorder
- func (mr *MockLoadedConfigurationsMockRecorder) AddConfiguration(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockLoadedConfigurationsMockRecorder) AlreadyLoaded(arg0 interface{}) *gomock.Call
- func (mr *MockLoadedConfigurationsMockRecorder) ConfigurationPath(arg0 interface{}) *gomock.Call
- func (mr *MockLoadedConfigurationsMockRecorder) Count() *gomock.Call
- func (mr *MockLoadedConfigurationsMockRecorder) Location(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockLoadedConfigurationsMockRecorder) RegulaInput() *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockConfigurationDetector ¶
type MockConfigurationDetector struct {
// contains filtered or unexported fields
}
MockConfigurationDetector is a mock of ConfigurationDetector interface.
func NewMockConfigurationDetector ¶
func NewMockConfigurationDetector(ctrl *gomock.Controller) *MockConfigurationDetector
NewMockConfigurationDetector creates a new mock instance.
func (*MockConfigurationDetector) DetectDirectory ¶
func (m *MockConfigurationDetector) DetectDirectory(arg0 loader.InputDirectory, arg1 loader.DetectOptions) (loader.IACConfiguration, error)
DetectDirectory mocks base method.
func (*MockConfigurationDetector) DetectFile ¶
func (m *MockConfigurationDetector) DetectFile(arg0 loader.InputFile, arg1 loader.DetectOptions) (loader.IACConfiguration, error)
DetectFile mocks base method.
func (*MockConfigurationDetector) EXPECT ¶
func (m *MockConfigurationDetector) EXPECT() *MockConfigurationDetectorMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockConfigurationDetectorMockRecorder ¶
type MockConfigurationDetectorMockRecorder struct {
// contains filtered or unexported fields
}
MockConfigurationDetectorMockRecorder is the mock recorder for MockConfigurationDetector.
func (*MockConfigurationDetectorMockRecorder) DetectDirectory ¶
func (mr *MockConfigurationDetectorMockRecorder) DetectDirectory(arg0, arg1 interface{}) *gomock.Call
DetectDirectory indicates an expected call of DetectDirectory.
func (*MockConfigurationDetectorMockRecorder) DetectFile ¶
func (mr *MockConfigurationDetectorMockRecorder) DetectFile(arg0, arg1 interface{}) *gomock.Call
DetectFile indicates an expected call of DetectFile.
type MockIACConfiguration ¶
type MockIACConfiguration struct {
// contains filtered or unexported fields
}
MockIACConfiguration is a mock of IACConfiguration interface.
func NewMockIACConfiguration ¶
func NewMockIACConfiguration(ctrl *gomock.Controller) *MockIACConfiguration
NewMockIACConfiguration creates a new mock instance.
func (*MockIACConfiguration) EXPECT ¶
func (m *MockIACConfiguration) EXPECT() *MockIACConfigurationMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockIACConfiguration) LoadedFiles ¶
func (m *MockIACConfiguration) LoadedFiles() []string
LoadedFiles mocks base method.
func (*MockIACConfiguration) Location ¶
func (m *MockIACConfiguration) Location(arg0 []string) ([]loader.Location, error)
Location mocks base method.
func (*MockIACConfiguration) RegulaInput ¶
func (m *MockIACConfiguration) RegulaInput() loader.RegulaInput
RegulaInput mocks base method.
type MockIACConfigurationMockRecorder ¶
type MockIACConfigurationMockRecorder struct {
// contains filtered or unexported fields
}
MockIACConfigurationMockRecorder is the mock recorder for MockIACConfiguration.
func (*MockIACConfigurationMockRecorder) LoadedFiles ¶
func (mr *MockIACConfigurationMockRecorder) LoadedFiles() *gomock.Call
LoadedFiles indicates an expected call of LoadedFiles.
func (*MockIACConfigurationMockRecorder) Location ¶
func (mr *MockIACConfigurationMockRecorder) Location(arg0 interface{}) *gomock.Call
Location indicates an expected call of Location.
func (*MockIACConfigurationMockRecorder) RegulaInput ¶
func (mr *MockIACConfigurationMockRecorder) RegulaInput() *gomock.Call
RegulaInput indicates an expected call of RegulaInput.
type MockInputDirectory ¶
type MockInputDirectory struct {
// contains filtered or unexported fields
}
MockInputDirectory is a mock of InputDirectory interface.
func NewMockInputDirectory ¶
func NewMockInputDirectory(ctrl *gomock.Controller) *MockInputDirectory
NewMockInputDirectory creates a new mock instance.
func (*MockInputDirectory) Children ¶
func (m *MockInputDirectory) Children() []loader.InputPath
Children mocks base method.
func (*MockInputDirectory) DetectType ¶
func (m *MockInputDirectory) DetectType(arg0 loader.ConfigurationDetector, arg1 loader.DetectOptions) (loader.IACConfiguration, error)
DetectType mocks base method.
func (*MockInputDirectory) EXPECT ¶
func (m *MockInputDirectory) EXPECT() *MockInputDirectoryMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockInputDirectory) IsDir ¶
func (m *MockInputDirectory) IsDir() bool
IsDir mocks base method.
func (*MockInputDirectory) Name ¶
func (m *MockInputDirectory) Name() string
Name mocks base method.
func (*MockInputDirectory) Path ¶
func (m *MockInputDirectory) Path() string
Path mocks base method.
type MockInputDirectoryMockRecorder ¶
type MockInputDirectoryMockRecorder struct {
// contains filtered or unexported fields
}
MockInputDirectoryMockRecorder is the mock recorder for MockInputDirectory.
func (*MockInputDirectoryMockRecorder) Children ¶
func (mr *MockInputDirectoryMockRecorder) Children() *gomock.Call
Children indicates an expected call of Children.
func (*MockInputDirectoryMockRecorder) DetectType ¶
func (mr *MockInputDirectoryMockRecorder) DetectType(arg0, arg1 interface{}) *gomock.Call
DetectType indicates an expected call of DetectType.
func (*MockInputDirectoryMockRecorder) IsDir ¶
func (mr *MockInputDirectoryMockRecorder) IsDir() *gomock.Call
IsDir indicates an expected call of IsDir.
func (*MockInputDirectoryMockRecorder) Name ¶
func (mr *MockInputDirectoryMockRecorder) Name() *gomock.Call
Name indicates an expected call of Name.
func (*MockInputDirectoryMockRecorder) Path ¶
func (mr *MockInputDirectoryMockRecorder) Path() *gomock.Call
Path indicates an expected call of Path.
func (*MockInputDirectoryMockRecorder) Walk ¶
func (mr *MockInputDirectoryMockRecorder) Walk(arg0 interface{}) *gomock.Call
Walk indicates an expected call of Walk.
type MockInputFile ¶
type MockInputFile struct {
// contains filtered or unexported fields
}
MockInputFile is a mock of InputFile interface.
func NewMockInputFile ¶
func NewMockInputFile(ctrl *gomock.Controller) *MockInputFile
NewMockInputFile creates a new mock instance.
func (*MockInputFile) Contents ¶
func (m *MockInputFile) Contents() ([]byte, error)
Contents mocks base method.
func (*MockInputFile) DetectType ¶
func (m *MockInputFile) DetectType(arg0 loader.ConfigurationDetector, arg1 loader.DetectOptions) (loader.IACConfiguration, error)
DetectType mocks base method.
func (*MockInputFile) EXPECT ¶
func (m *MockInputFile) EXPECT() *MockInputFileMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockInputFileMockRecorder ¶
type MockInputFileMockRecorder struct {
// contains filtered or unexported fields
}
MockInputFileMockRecorder is the mock recorder for MockInputFile.
func (*MockInputFileMockRecorder) Contents ¶
func (mr *MockInputFileMockRecorder) Contents() *gomock.Call
Contents indicates an expected call of Contents.
func (*MockInputFileMockRecorder) DetectType ¶
func (mr *MockInputFileMockRecorder) DetectType(arg0, arg1 interface{}) *gomock.Call
DetectType indicates an expected call of DetectType.
func (*MockInputFileMockRecorder) Ext ¶
func (mr *MockInputFileMockRecorder) Ext() *gomock.Call
Ext indicates an expected call of Ext.
func (*MockInputFileMockRecorder) IsDir ¶
func (mr *MockInputFileMockRecorder) IsDir() *gomock.Call
IsDir indicates an expected call of IsDir.
func (*MockInputFileMockRecorder) Name ¶
func (mr *MockInputFileMockRecorder) Name() *gomock.Call
Name indicates an expected call of Name.
func (*MockInputFileMockRecorder) Path ¶
func (mr *MockInputFileMockRecorder) Path() *gomock.Call
Path indicates an expected call of Path.
type MockInputPath ¶
type MockInputPath struct {
// contains filtered or unexported fields
}
MockInputPath is a mock of InputPath interface.
func NewMockInputPath ¶
func NewMockInputPath(ctrl *gomock.Controller) *MockInputPath
NewMockInputPath creates a new mock instance.
func (*MockInputPath) DetectType ¶
func (m *MockInputPath) DetectType(arg0 loader.ConfigurationDetector, arg1 loader.DetectOptions) (loader.IACConfiguration, error)
DetectType mocks base method.
func (*MockInputPath) EXPECT ¶
func (m *MockInputPath) EXPECT() *MockInputPathMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockInputPathMockRecorder ¶
type MockInputPathMockRecorder struct {
// contains filtered or unexported fields
}
MockInputPathMockRecorder is the mock recorder for MockInputPath.
func (*MockInputPathMockRecorder) DetectType ¶
func (mr *MockInputPathMockRecorder) DetectType(arg0, arg1 interface{}) *gomock.Call
DetectType indicates an expected call of DetectType.
func (*MockInputPathMockRecorder) IsDir ¶
func (mr *MockInputPathMockRecorder) IsDir() *gomock.Call
IsDir indicates an expected call of IsDir.
func (*MockInputPathMockRecorder) Name ¶
func (mr *MockInputPathMockRecorder) Name() *gomock.Call
Name indicates an expected call of Name.
func (*MockInputPathMockRecorder) Path ¶
func (mr *MockInputPathMockRecorder) Path() *gomock.Call
Path indicates an expected call of Path.
type MockLoadedConfigurations ¶
type MockLoadedConfigurations struct {
// contains filtered or unexported fields
}
MockLoadedConfigurations is a mock of LoadedConfigurations interface.
func NewMockLoadedConfigurations ¶
func NewMockLoadedConfigurations(ctrl *gomock.Controller) *MockLoadedConfigurations
NewMockLoadedConfigurations creates a new mock instance.
func (*MockLoadedConfigurations) AddConfiguration ¶
func (m *MockLoadedConfigurations) AddConfiguration(arg0 string, arg1 loader.IACConfiguration)
AddConfiguration mocks base method.
func (*MockLoadedConfigurations) AlreadyLoaded ¶
func (m *MockLoadedConfigurations) AlreadyLoaded(arg0 string) bool
AlreadyLoaded mocks base method.
func (*MockLoadedConfigurations) ConfigurationPath ¶
func (m *MockLoadedConfigurations) ConfigurationPath(arg0 string) *string
ConfigurationPath mocks base method.
func (*MockLoadedConfigurations) Count ¶
func (m *MockLoadedConfigurations) Count() int
Count mocks base method.
func (*MockLoadedConfigurations) EXPECT ¶
func (m *MockLoadedConfigurations) EXPECT() *MockLoadedConfigurationsMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockLoadedConfigurations) RegulaInput ¶
func (m *MockLoadedConfigurations) RegulaInput() []loader.RegulaInput
RegulaInput mocks base method.
type MockLoadedConfigurationsMockRecorder ¶
type MockLoadedConfigurationsMockRecorder struct {
// contains filtered or unexported fields
}
MockLoadedConfigurationsMockRecorder is the mock recorder for MockLoadedConfigurations.
func (*MockLoadedConfigurationsMockRecorder) AddConfiguration ¶
func (mr *MockLoadedConfigurationsMockRecorder) AddConfiguration(arg0, arg1 interface{}) *gomock.Call
AddConfiguration indicates an expected call of AddConfiguration.
func (*MockLoadedConfigurationsMockRecorder) AlreadyLoaded ¶
func (mr *MockLoadedConfigurationsMockRecorder) AlreadyLoaded(arg0 interface{}) *gomock.Call
AlreadyLoaded indicates an expected call of AlreadyLoaded.
func (*MockLoadedConfigurationsMockRecorder) ConfigurationPath ¶
func (mr *MockLoadedConfigurationsMockRecorder) ConfigurationPath(arg0 interface{}) *gomock.Call
ConfigurationPath indicates an expected call of ConfigurationPath.
func (*MockLoadedConfigurationsMockRecorder) Count ¶
func (mr *MockLoadedConfigurationsMockRecorder) Count() *gomock.Call
Count indicates an expected call of Count.
func (*MockLoadedConfigurationsMockRecorder) Location ¶
func (mr *MockLoadedConfigurationsMockRecorder) Location(arg0, arg1 interface{}) *gomock.Call
Location indicates an expected call of Location.
func (*MockLoadedConfigurationsMockRecorder) RegulaInput ¶
func (mr *MockLoadedConfigurationsMockRecorder) RegulaInput() *gomock.Call
RegulaInput indicates an expected call of RegulaInput.