mocks

package
v0.0.0-...-f6ab670 Latest Latest
Warning

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

Go to latest
Published: Nov 19, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type T

type T struct {
	mock.Mock
}

T is an autogenerated mock type for the T type

func NewT

func NewT(t interface {
	mock.TestingT
	Cleanup(func())
}) *T

NewT creates a new instance of T. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*T) GenerateCompressedFileName

func (_m *T) GenerateCompressedFileName(_a0 string) string

GenerateCompressedFileName provides a mock function with given fields: _a0

func (*T) GeneratePlatformBasedFolderName

func (_m *T) GeneratePlatformBasedFolderName() string

GeneratePlatformBasedFolderName provides a mock function with given fields:

func (*T) GetInstallScriptName

func (_m *T) GetInstallScriptName() string

GetInstallScriptName provides a mock function with given fields:

func (*T) GetPlatform

func (_m *T) GetPlatform() string

GetPlatform provides a mock function with given fields:

func (*T) GetPlatformVersion

func (_m *T) GetPlatformVersion() string

GetPlatformVersion provides a mock function with given fields:

func (*T) GetUninstallScriptName

func (_m *T) GetUninstallScriptName() string

GetUninstallScriptName provides a mock function with given fields:

func (*T) IsPlatformDarwin

func (_m *T) IsPlatformDarwin() bool

IsPlatformDarwin provides a mock function with given fields:

func (*T) IsPlatformUsingSystemD

func (_m *T) IsPlatformUsingSystemD() (bool, error)

IsPlatformUsingSystemD provides a mock function with given fields:

Jump to

Keyboard shortcuts

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