Documentation ¶
Rendered for windows/amd64
Index ¶
- type MockWindowsInfoUtil
- func (m *MockWindowsInfoUtil) EXPECT() *MockWindowsInfoUtilMockRecorder
- func (m *MockWindowsInfoUtil) GetRegistryIntValue(key registry.Key, path string, name string) (int, error)
- func (m *MockWindowsInfoUtil) GetRegistryStringValue(key registry.Key, path string, name string) (string, error)
- func (m *MockWindowsInfoUtil) RtlGetVersion() *windows.OsVersionInfoEx
- type MockWindowsInfoUtilMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockWindowsInfoUtil ¶
type MockWindowsInfoUtil struct {
// contains filtered or unexported fields
}
MockWindowsInfoUtil is a mock of windowsInfoUtil interface
func NewMockWindowsInfoUtil ¶
func NewMockWindowsInfoUtil(ctrl *gomock.Controller) *MockWindowsInfoUtil
NewMockWindowsInfoUtil creates a new mock instance
func (*MockWindowsInfoUtil) EXPECT ¶
func (m *MockWindowsInfoUtil) EXPECT() *MockWindowsInfoUtilMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockWindowsInfoUtil) GetRegistryIntValue ¶
func (m *MockWindowsInfoUtil) GetRegistryIntValue(key registry.Key, path string, name string) (int, error)
Create mocks the GetRegistryIntValue method of windowsInfoUtil
func (*MockWindowsInfoUtil) GetRegistryStringValue ¶
func (m *MockWindowsInfoUtil) GetRegistryStringValue(key registry.Key, path string, name string) (string, error)
Create mocks the GetRegistryStringValue method of windowsInfoUtil
func (*MockWindowsInfoUtil) RtlGetVersion ¶
func (m *MockWindowsInfoUtil) RtlGetVersion() *windows.OsVersionInfoEx
Create mocks the RtlGetVersion method of windowsInfoUtil
type MockWindowsInfoUtilMockRecorder ¶
type MockWindowsInfoUtilMockRecorder struct {
// contains filtered or unexported fields
}
MockWindowsInfoUtilMockRecorder is the mock recorder for MockWindowsInfoUtil
func (*MockWindowsInfoUtilMockRecorder) GetRegistryIntValue ¶
func (m *MockWindowsInfoUtilMockRecorder) GetRegistryIntValue(key any, path any, name any) *gomock.Call
Expected call of GetRegistryIntValue
func (*MockWindowsInfoUtilMockRecorder) GetRegistryStringValue ¶
func (m *MockWindowsInfoUtilMockRecorder) GetRegistryStringValue(key any, path any, name any) *gomock.Call
Expected call of GetRegistryStringValue
func (*MockWindowsInfoUtilMockRecorder) RtlGetVersion ¶
func (m *MockWindowsInfoUtilMockRecorder) RtlGetVersion() *gomock.Call
Expected call of RtlGetVersion
Click to show internal directories.
Click to hide internal directories.