infoutilmock

package
v2.0.0-rc.1 Latest Latest
Warning

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

Go to latest
Published: Aug 17, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Rendered for windows/amd64

Index

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

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

Jump to

Keyboard shortcuts

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