Documentation ¶
Rendered for windows/amd64
Index ¶
- type MockFS
- func (_m *MockFS) EXPECT() *_MockFSRecorder
- func (_m *MockFS) IsNotExist(_param0 error) bool
- func (_m *MockFS) Open(_param0 string) (dependencies.File, error)
- func (_m *MockFS) ReadAll(_param0 dependencies.File) ([]byte, error)
- func (_m *MockFS) Remove(_param0 string) error
- func (_m *MockFS) TempFile(_param0 string, _param1 string) (dependencies.File, error)
- type MockFile
- type MockRegistryKey
- type MockWindowsRegistry
- func (_m *MockWindowsRegistry) CreateKey(_param0 registry.Key, _param1 string, _param2 uint32) (dependencies.RegistryKey, bool, error)
- func (_m *MockWindowsRegistry) EXPECT() *_MockWindowsRegistryRecorder
- func (_m *MockWindowsRegistry) OpenKey(_param0 registry.Key, _param1 string, _param2 uint32) (dependencies.RegistryKey, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockFS ¶
type MockFS struct {
// contains filtered or unexported fields
}
Mock of FS interface
func NewMockFS ¶
func NewMockFS(ctrl *gomock.Controller) *MockFS
func (*MockFS) IsNotExist ¶
type MockFile ¶
type MockFile struct {
// contains filtered or unexported fields
}
Mock of File interface
func NewMockFile ¶
func NewMockFile(ctrl *gomock.Controller) *MockFile
type MockRegistryKey ¶
type MockRegistryKey struct {
// contains filtered or unexported fields
}
Mock of RegistryKey interface
func NewMockRegistryKey ¶
func NewMockRegistryKey(ctrl *gomock.Controller) *MockRegistryKey
func (*MockRegistryKey) Close ¶
func (_m *MockRegistryKey) Close() error
func (*MockRegistryKey) EXPECT ¶
func (_m *MockRegistryKey) EXPECT() *_MockRegistryKeyRecorder
func (*MockRegistryKey) GetStringValue ¶
func (_m *MockRegistryKey) GetStringValue(_param0 string) (string, uint32, error)
func (*MockRegistryKey) SetStringValue ¶
func (_m *MockRegistryKey) SetStringValue(_param0 string, _param1 string) error
type MockWindowsRegistry ¶
type MockWindowsRegistry struct {
// contains filtered or unexported fields
}
Mock of WindowsRegistry interface
func NewMockWindowsRegistry ¶
func NewMockWindowsRegistry(ctrl *gomock.Controller) *MockWindowsRegistry
func (*MockWindowsRegistry) CreateKey ¶
func (_m *MockWindowsRegistry) CreateKey(_param0 registry.Key, _param1 string, _param2 uint32) (dependencies.RegistryKey, bool, error)
func (*MockWindowsRegistry) EXPECT ¶
func (_m *MockWindowsRegistry) EXPECT() *_MockWindowsRegistryRecorder
func (*MockWindowsRegistry) OpenKey ¶
func (_m *MockWindowsRegistry) OpenKey(_param0 registry.Key, _param1 string, _param2 uint32) (dependencies.RegistryKey, error)
Click to show internal directories.
Click to hide internal directories.