mocks

package
v1.1.3 Latest Latest
Warning

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

Go to latest
Published: Mar 29, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

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.

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.

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.

Package mocks is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BundleBuilder added in v0.5.0

type BundleBuilder struct {
	// contains filtered or unexported fields
}

BundleBuilder is a mock of BundleBuilder interface.

func NewBundleBuilder added in v0.5.0

func NewBundleBuilder(ctrl *gomock.Controller) *BundleBuilder

NewBundleBuilder creates a new mock instance.

func (*BundleBuilder) EXPECT added in v0.5.0

EXPECT returns an object that allows the caller to indicate expected use.

func (*BundleBuilder) GenerateSupportBundle added in v0.5.0

func (m *BundleBuilder) GenerateSupportBundle(arg0, arg1 []string) (string, error)

GenerateSupportBundle mocks base method.

type BundleBuilderMockRecorder added in v0.5.0

type BundleBuilderMockRecorder struct {
	// contains filtered or unexported fields
}

BundleBuilderMockRecorder is the mock recorder for BundleBuilder.

func (*BundleBuilderMockRecorder) GenerateSupportBundle added in v0.5.0

func (mr *BundleBuilderMockRecorder) GenerateSupportBundle(arg0, arg1 interface{}) *gomock.Call

GenerateSupportBundle indicates an expected call of GenerateSupportBundle.

type BundleConfig added in v0.5.0

type BundleConfig struct {
	// contains filtered or unexported fields
}

BundleConfig is a mock of BundleConfig interface.

func NewBundleConfig added in v0.5.0

func NewBundleConfig(ctrl *gomock.Controller) *BundleConfig

NewBundleConfig creates a new mock instance.

func (*BundleConfig) ConfigFiles added in v0.5.0

func (m *BundleConfig) ConfigFiles() []string

ConfigFiles mocks base method.

func (*BundleConfig) EXPECT added in v0.5.0

EXPECT returns an object that allows the caller to indicate expected use.

func (*BundleConfig) LogFiles added in v0.5.0

func (m *BundleConfig) LogFiles() []string

LogFiles mocks base method.

type BundleConfigMockRecorder added in v0.5.0

type BundleConfigMockRecorder struct {
	// contains filtered or unexported fields
}

BundleConfigMockRecorder is the mock recorder for BundleConfig.

func (*BundleConfigMockRecorder) ConfigFiles added in v0.5.0

func (mr *BundleConfigMockRecorder) ConfigFiles() *gomock.Call

ConfigFiles indicates an expected call of ConfigFiles.

func (*BundleConfigMockRecorder) LogFiles added in v0.5.0

func (mr *BundleConfigMockRecorder) LogFiles() *gomock.Call

LogFiles indicates an expected call of LogFiles.

type Command

type Command struct {
	// contains filtered or unexported fields
}

Command is a mock of Command interface.

func NewCommand

func NewCommand(ctrl *gomock.Controller) *Command

NewCommand creates a new mock instance.

func (*Command) CombinedOutput

func (m *Command) CombinedOutput() ([]byte, error)

CombinedOutput mocks base method.

func (*Command) EXPECT

func (m *Command) EXPECT() *CommandMockRecorder

EXPECT returns an object that allows the caller to indicate expected use.

func (*Command) Output

func (m *Command) Output() ([]byte, error)

Output mocks base method.

func (*Command) Run

func (m *Command) Run() error

Run mocks base method.

func (*Command) SetEnv

func (m *Command) SetEnv(arg0 []string)

SetEnv mocks base method.

func (*Command) SetStderr

func (m *Command) SetStderr(arg0 io.Writer)

SetStderr mocks base method.

func (*Command) SetStdin

func (m *Command) SetStdin(arg0 io.Reader)

SetStdin mocks base method.

func (*Command) SetStdout

func (m *Command) SetStdout(arg0 io.Writer)

SetStdout mocks base method.

func (*Command) Start added in v0.9.0

func (m *Command) Start() error

Start mocks base method.

func (*Command) StdinPipe added in v1.1.0

func (m *Command) StdinPipe() (io.WriteCloser, error)

StdinPipe mocks base method.

func (*Command) Wait added in v0.9.0

func (m *Command) Wait() error

Wait mocks base method.

type CommandCreator

type CommandCreator struct {
	// contains filtered or unexported fields
}

CommandCreator is a mock of Creator interface.

func NewCommandCreator

func NewCommandCreator(ctrl *gomock.Controller) *CommandCreator

NewCommandCreator creates a new mock instance.

func (*CommandCreator) Create

func (m *CommandCreator) Create(arg0 string, arg1 ...string) command.Command

Create mocks base method.

func (*CommandCreator) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

type CommandCreatorMockRecorder

type CommandCreatorMockRecorder struct {
	// contains filtered or unexported fields
}

CommandCreatorMockRecorder is the mock recorder for CommandCreator.

func (*CommandCreatorMockRecorder) Create

func (mr *CommandCreatorMockRecorder) Create(arg0 interface{}, arg1 ...interface{}) *gomock.Call

Create indicates an expected call of Create.

type CommandMockRecorder

type CommandMockRecorder struct {
	// contains filtered or unexported fields
}

CommandMockRecorder is the mock recorder for Command.

func (*CommandMockRecorder) CombinedOutput

func (mr *CommandMockRecorder) CombinedOutput() *gomock.Call

CombinedOutput indicates an expected call of CombinedOutput.

func (*CommandMockRecorder) Output

func (mr *CommandMockRecorder) Output() *gomock.Call

Output indicates an expected call of Output.

func (*CommandMockRecorder) Run

func (mr *CommandMockRecorder) Run() *gomock.Call

Run indicates an expected call of Run.

func (*CommandMockRecorder) SetEnv

func (mr *CommandMockRecorder) SetEnv(arg0 interface{}) *gomock.Call

SetEnv indicates an expected call of SetEnv.

func (*CommandMockRecorder) SetStderr

func (mr *CommandMockRecorder) SetStderr(arg0 interface{}) *gomock.Call

SetStderr indicates an expected call of SetStderr.

func (*CommandMockRecorder) SetStdin

func (mr *CommandMockRecorder) SetStdin(arg0 interface{}) *gomock.Call

SetStdin indicates an expected call of SetStdin.

func (*CommandMockRecorder) SetStdout

func (mr *CommandMockRecorder) SetStdout(arg0 interface{}) *gomock.Call

SetStdout indicates an expected call of SetStdout.

func (*CommandMockRecorder) Start added in v0.9.0

func (mr *CommandMockRecorder) Start() *gomock.Call

Start indicates an expected call of Start.

func (*CommandMockRecorder) StdinPipe added in v1.1.0

func (mr *CommandMockRecorder) StdinPipe() *gomock.Call

StdinPipe indicates an expected call of StdinPipe.

func (*CommandMockRecorder) Wait added in v0.9.0

func (mr *CommandMockRecorder) Wait() *gomock.Call

Wait indicates an expected call of Wait.

type Dependency

type Dependency struct {
	// contains filtered or unexported fields
}

Dependency is a mock of Dependency interface.

func NewDependency

func NewDependency(ctrl *gomock.Controller) *Dependency

NewDependency creates a new mock instance.

func (*Dependency) EXPECT

func (m *Dependency) EXPECT() *DependencyMockRecorder

EXPECT returns an object that allows the caller to indicate expected use.

func (*Dependency) Install

func (m *Dependency) Install() error

Install mocks base method.

func (*Dependency) Installed

func (m *Dependency) Installed() bool

Installed mocks base method.

func (*Dependency) RequiresRoot

func (m *Dependency) RequiresRoot() bool

RequiresRoot mocks base method.

type DependencyMockRecorder

type DependencyMockRecorder struct {
	// contains filtered or unexported fields
}

DependencyMockRecorder is the mock recorder for Dependency.

func (*DependencyMockRecorder) Install

func (mr *DependencyMockRecorder) Install() *gomock.Call

Install indicates an expected call of Install.

func (*DependencyMockRecorder) Installed

func (mr *DependencyMockRecorder) Installed() *gomock.Call

Installed indicates an expected call of Installed.

func (*DependencyMockRecorder) RequiresRoot

func (mr *DependencyMockRecorder) RequiresRoot() *gomock.Call

RequiresRoot indicates an expected call of RequiresRoot.

type Dialer

type Dialer struct {
	// contains filtered or unexported fields
}

Dialer is a mock of Dialer interface.

func NewDialer

func NewDialer(ctrl *gomock.Controller) *Dialer

NewDialer creates a new mock instance.

func (*Dialer) Dial

func (m *Dialer) Dial(arg0, arg1 string, arg2 *ssh.ClientConfig) (*ssh.Client, error)

Dial mocks base method.

func (*Dialer) EXPECT

func (m *Dialer) EXPECT() *DialerMockRecorder

EXPECT returns an object that allows the caller to indicate expected use.

type DialerMockRecorder

type DialerMockRecorder struct {
	// contains filtered or unexported fields
}

DialerMockRecorder is the mock recorder for Dialer.

func (*DialerMockRecorder) Dial

func (mr *DialerMockRecorder) Dial(arg0, arg1, arg2 interface{}) *gomock.Call

Dial indicates an expected call of Dial.

type FinchFinderDeps

type FinchFinderDeps struct {
	// contains filtered or unexported fields
}

FinchFinderDeps is a mock of FinchFinderDeps interface.

func NewFinchFinderDeps

func NewFinchFinderDeps(ctrl *gomock.Controller) *FinchFinderDeps

NewFinchFinderDeps creates a new mock instance.

func (*FinchFinderDeps) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*FinchFinderDeps) Env

func (m *FinchFinderDeps) Env(arg0 string) string

Env mocks base method.

func (m *FinchFinderDeps) EvalSymlinks(arg0 string) (string, error)

EvalSymlinks mocks base method.

func (*FinchFinderDeps) Executable

func (m *FinchFinderDeps) Executable() (string, error)

Executable mocks base method.

func (*FinchFinderDeps) FilePathJoin

func (m *FinchFinderDeps) FilePathJoin(arg0 ...string) string

FilePathJoin mocks base method.

func (*FinchFinderDeps) GetUserHome added in v1.1.0

func (m *FinchFinderDeps) GetUserHome() (string, error)

GetUserHome mocks base method.

type FinchFinderDepsMockRecorder

type FinchFinderDepsMockRecorder struct {
	// contains filtered or unexported fields
}

FinchFinderDepsMockRecorder is the mock recorder for FinchFinderDeps.

func (*FinchFinderDepsMockRecorder) Env

func (mr *FinchFinderDepsMockRecorder) Env(arg0 interface{}) *gomock.Call

Env indicates an expected call of Env.

func (mr *FinchFinderDepsMockRecorder) EvalSymlinks(arg0 interface{}) *gomock.Call

EvalSymlinks indicates an expected call of EvalSymlinks.

func (*FinchFinderDepsMockRecorder) Executable

func (mr *FinchFinderDepsMockRecorder) Executable() *gomock.Call

Executable indicates an expected call of Executable.

func (*FinchFinderDepsMockRecorder) FilePathJoin

func (mr *FinchFinderDepsMockRecorder) FilePathJoin(arg0 ...interface{}) *gomock.Call

FilePathJoin indicates an expected call of FilePathJoin.

func (*FinchFinderDepsMockRecorder) GetUserHome added in v1.1.0

func (mr *FinchFinderDepsMockRecorder) GetUserHome() *gomock.Call

GetUserHome indicates an expected call of GetUserHome.

type GenDocsSystemDeps added in v1.0.0

type GenDocsSystemDeps struct {
	// contains filtered or unexported fields
}

GenDocsSystemDeps is a mock of GenDocsSystemDeps interface.

func NewGenDocsSystemDeps added in v1.0.0

func NewGenDocsSystemDeps(ctrl *gomock.Controller) *GenDocsSystemDeps

NewGenDocsSystemDeps creates a new mock instance.

func (*GenDocsSystemDeps) EXPECT added in v1.0.0

EXPECT returns an object that allows the caller to indicate expected use.

func (*GenDocsSystemDeps) Pipe added in v1.0.0

func (m *GenDocsSystemDeps) Pipe() (*os.File, *os.File, error)

Pipe mocks base method.

func (*GenDocsSystemDeps) SetStdout added in v1.0.0

func (m *GenDocsSystemDeps) SetStdout(arg0 *os.File)

SetStdout mocks base method.

func (*GenDocsSystemDeps) Stdout added in v1.0.0

func (m *GenDocsSystemDeps) Stdout() *os.File

Stdout mocks base method.

type GenDocsSystemDepsMockRecorder added in v1.0.0

type GenDocsSystemDepsMockRecorder struct {
	// contains filtered or unexported fields
}

GenDocsSystemDepsMockRecorder is the mock recorder for GenDocsSystemDeps.

func (*GenDocsSystemDepsMockRecorder) Pipe added in v1.0.0

Pipe indicates an expected call of Pipe.

func (*GenDocsSystemDepsMockRecorder) SetStdout added in v1.0.0

func (mr *GenDocsSystemDepsMockRecorder) SetStdout(arg0 interface{}) *gomock.Call

SetStdout indicates an expected call of SetStdout.

func (*GenDocsSystemDepsMockRecorder) Stdout added in v1.0.0

Stdout indicates an expected call of Stdout.

type LimaCmdCreator

type LimaCmdCreator struct {
	// contains filtered or unexported fields
}

LimaCmdCreator is a mock of LimaCmdCreator interface.

func NewLimaCmdCreator

func NewLimaCmdCreator(ctrl *gomock.Controller) *LimaCmdCreator

NewLimaCmdCreator creates a new mock instance.

func (*LimaCmdCreator) Create

func (m *LimaCmdCreator) Create(arg0 ...string) command.Command

Create mocks base method.

func (*LimaCmdCreator) CreateWithoutStdio

func (m *LimaCmdCreator) CreateWithoutStdio(arg0 ...string) command.Command

CreateWithoutStdio mocks base method.

func (*LimaCmdCreator) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*LimaCmdCreator) RunWithReplacingStdout

func (m *LimaCmdCreator) RunWithReplacingStdout(arg0 []command.Replacement, arg1 ...string) error

RunWithReplacingStdout mocks base method.

type LimaCmdCreatorMockRecorder

type LimaCmdCreatorMockRecorder struct {
	// contains filtered or unexported fields
}

LimaCmdCreatorMockRecorder is the mock recorder for LimaCmdCreator.

func (*LimaCmdCreatorMockRecorder) Create

func (mr *LimaCmdCreatorMockRecorder) Create(arg0 ...interface{}) *gomock.Call

Create indicates an expected call of Create.

func (*LimaCmdCreatorMockRecorder) CreateWithoutStdio

func (mr *LimaCmdCreatorMockRecorder) CreateWithoutStdio(arg0 ...interface{}) *gomock.Call

CreateWithoutStdio indicates an expected call of CreateWithoutStdio.

func (*LimaCmdCreatorMockRecorder) RunWithReplacingStdout

func (mr *LimaCmdCreatorMockRecorder) RunWithReplacingStdout(arg0 interface{}, arg1 ...interface{}) *gomock.Call

RunWithReplacingStdout indicates an expected call of RunWithReplacingStdout.

type LimaCmdCreatorSystemDeps

type LimaCmdCreatorSystemDeps struct {
	// contains filtered or unexported fields
}

LimaCmdCreatorSystemDeps is a mock of LimaCmdCreatorSystemDeps interface.

func NewLimaCmdCreatorSystemDeps

func NewLimaCmdCreatorSystemDeps(ctrl *gomock.Controller) *LimaCmdCreatorSystemDeps

NewLimaCmdCreatorSystemDeps creates a new mock instance.

func (*LimaCmdCreatorSystemDeps) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*LimaCmdCreatorSystemDeps) Env

func (m *LimaCmdCreatorSystemDeps) Env(arg0 string) string

Env mocks base method.

func (*LimaCmdCreatorSystemDeps) Environ

func (m *LimaCmdCreatorSystemDeps) Environ() []string

Environ mocks base method.

func (*LimaCmdCreatorSystemDeps) Stderr

func (m *LimaCmdCreatorSystemDeps) Stderr() *os.File

Stderr mocks base method.

func (*LimaCmdCreatorSystemDeps) Stdin

func (m *LimaCmdCreatorSystemDeps) Stdin() *os.File

Stdin mocks base method.

func (*LimaCmdCreatorSystemDeps) Stdout

func (m *LimaCmdCreatorSystemDeps) Stdout() *os.File

Stdout mocks base method.

type LimaCmdCreatorSystemDepsMockRecorder

type LimaCmdCreatorSystemDepsMockRecorder struct {
	// contains filtered or unexported fields
}

LimaCmdCreatorSystemDepsMockRecorder is the mock recorder for LimaCmdCreatorSystemDeps.

func (*LimaCmdCreatorSystemDepsMockRecorder) Env

func (mr *LimaCmdCreatorSystemDepsMockRecorder) Env(arg0 interface{}) *gomock.Call

Env indicates an expected call of Env.

func (*LimaCmdCreatorSystemDepsMockRecorder) Environ

Environ indicates an expected call of Environ.

func (*LimaCmdCreatorSystemDepsMockRecorder) Stderr

Stderr indicates an expected call of Stderr.

func (*LimaCmdCreatorSystemDepsMockRecorder) Stdin

Stdin indicates an expected call of Stdin.

func (*LimaCmdCreatorSystemDepsMockRecorder) Stdout

Stdout indicates an expected call of Stdout.

type LimaConfigApplier

type LimaConfigApplier struct {
	// contains filtered or unexported fields
}

LimaConfigApplier is a mock of LimaConfigApplier interface.

func NewLimaConfigApplier

func NewLimaConfigApplier(ctrl *gomock.Controller) *LimaConfigApplier

NewLimaConfigApplier creates a new mock instance.

func (*LimaConfigApplier) ConfigureDefaultLimaYaml added in v1.1.2

func (m *LimaConfigApplier) ConfigureDefaultLimaYaml() error

ConfigureDefaultLimaYaml mocks base method.

func (*LimaConfigApplier) ConfigureOverrideLimaYaml added in v1.1.2

func (m *LimaConfigApplier) ConfigureOverrideLimaYaml() error

ConfigureOverrideLimaYaml mocks base method.

func (*LimaConfigApplier) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

type LimaConfigApplierMockRecorder

type LimaConfigApplierMockRecorder struct {
	// contains filtered or unexported fields
}

LimaConfigApplierMockRecorder is the mock recorder for LimaConfigApplier.

func (*LimaConfigApplierMockRecorder) ConfigureDefaultLimaYaml added in v1.1.2

func (mr *LimaConfigApplierMockRecorder) ConfigureDefaultLimaYaml() *gomock.Call

ConfigureDefaultLimaYaml indicates an expected call of ConfigureDefaultLimaYaml.

func (*LimaConfigApplierMockRecorder) ConfigureOverrideLimaYaml added in v1.1.2

func (mr *LimaConfigApplierMockRecorder) ConfigureOverrideLimaYaml() *gomock.Call

ConfigureOverrideLimaYaml indicates an expected call of ConfigureOverrideLimaYaml.

type LimaConfigApplierSystemDeps added in v0.5.0

type LimaConfigApplierSystemDeps struct {
	// contains filtered or unexported fields
}

LimaConfigApplierSystemDeps is a mock of LimaConfigApplierSystemDeps interface.

func NewLimaConfigApplierSystemDeps added in v0.5.0

func NewLimaConfigApplierSystemDeps(ctrl *gomock.Controller) *LimaConfigApplierSystemDeps

NewLimaConfigApplierSystemDeps creates a new mock instance.

func (*LimaConfigApplierSystemDeps) Arch added in v0.5.0

Arch mocks base method.

func (*LimaConfigApplierSystemDeps) EXPECT added in v0.5.0

EXPECT returns an object that allows the caller to indicate expected use.

func (*LimaConfigApplierSystemDeps) OS added in v0.5.0

OS mocks base method.

type LimaConfigApplierSystemDepsMockRecorder added in v0.5.0

type LimaConfigApplierSystemDepsMockRecorder struct {
	// contains filtered or unexported fields
}

LimaConfigApplierSystemDepsMockRecorder is the mock recorder for LimaConfigApplierSystemDeps.

func (*LimaConfigApplierSystemDepsMockRecorder) Arch added in v0.5.0

Arch indicates an expected call of Arch.

func (*LimaConfigApplierSystemDepsMockRecorder) OS added in v0.5.0

OS indicates an expected call of OS.

type LoadSystemDeps

type LoadSystemDeps struct {
	// contains filtered or unexported fields
}

LoadSystemDeps is a mock of LoadSystemDeps interface.

func NewLoadSystemDeps

func NewLoadSystemDeps(ctrl *gomock.Controller) *LoadSystemDeps

NewLoadSystemDeps creates a new mock instance.

func (*LoadSystemDeps) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*LoadSystemDeps) NumCPU

func (m *LoadSystemDeps) NumCPU() int

NumCPU mocks base method.

type LoadSystemDepsMockRecorder

type LoadSystemDepsMockRecorder struct {
	// contains filtered or unexported fields
}

LoadSystemDepsMockRecorder is the mock recorder for LoadSystemDeps.

func (*LoadSystemDepsMockRecorder) NumCPU

func (mr *LoadSystemDepsMockRecorder) NumCPU() *gomock.Call

NumCPU indicates an expected call of NumCPU.

type Logger

type Logger struct {
	// contains filtered or unexported fields
}

Logger is a mock of Logger interface.

func NewLogger

func NewLogger(ctrl *gomock.Controller) *Logger

NewLogger creates a new mock instance.

func (*Logger) Debugf

func (m *Logger) Debugf(arg0 string, arg1 ...interface{})

Debugf mocks base method.

func (*Logger) Debugln

func (m *Logger) Debugln(arg0 ...interface{})

Debugln mocks base method.

func (*Logger) EXPECT

func (m *Logger) EXPECT() *LoggerMockRecorder

EXPECT returns an object that allows the caller to indicate expected use.

func (*Logger) Error

func (m *Logger) Error(arg0 ...interface{})

Error mocks base method.

func (*Logger) Errorf

func (m *Logger) Errorf(arg0 string, arg1 ...interface{})

Errorf mocks base method.

func (*Logger) Fatal

func (m *Logger) Fatal(arg0 ...interface{})

Fatal mocks base method.

func (*Logger) Info

func (m *Logger) Info(arg0 ...interface{})

Info mocks base method.

func (*Logger) Infof

func (m *Logger) Infof(arg0 string, arg1 ...interface{})

Infof mocks base method.

func (*Logger) Infoln

func (m *Logger) Infoln(arg0 ...interface{})

Infoln mocks base method.

func (*Logger) SetFormatter added in v1.1.0

func (m *Logger) SetFormatter(arg0 flog.Formatter)

SetFormatter mocks base method.

func (*Logger) SetLevel

func (m *Logger) SetLevel(arg0 flog.Level)

SetLevel mocks base method.

func (*Logger) Warnf added in v0.5.0

func (m *Logger) Warnf(arg0 string, arg1 ...interface{})

Warnf mocks base method.

func (*Logger) Warnln

func (m *Logger) Warnln(arg0 ...interface{})

Warnln mocks base method.

type LoggerMockRecorder

type LoggerMockRecorder struct {
	// contains filtered or unexported fields
}

LoggerMockRecorder is the mock recorder for Logger.

func (*LoggerMockRecorder) Debugf

func (mr *LoggerMockRecorder) Debugf(arg0 interface{}, arg1 ...interface{}) *gomock.Call

Debugf indicates an expected call of Debugf.

func (*LoggerMockRecorder) Debugln

func (mr *LoggerMockRecorder) Debugln(arg0 ...interface{}) *gomock.Call

Debugln indicates an expected call of Debugln.

func (*LoggerMockRecorder) Error

func (mr *LoggerMockRecorder) Error(arg0 ...interface{}) *gomock.Call

Error indicates an expected call of Error.

func (*LoggerMockRecorder) Errorf

func (mr *LoggerMockRecorder) Errorf(arg0 interface{}, arg1 ...interface{}) *gomock.Call

Errorf indicates an expected call of Errorf.

func (*LoggerMockRecorder) Fatal

func (mr *LoggerMockRecorder) Fatal(arg0 ...interface{}) *gomock.Call

Fatal indicates an expected call of Fatal.

func (*LoggerMockRecorder) Info

func (mr *LoggerMockRecorder) Info(arg0 ...interface{}) *gomock.Call

Info indicates an expected call of Info.

func (*LoggerMockRecorder) Infof

func (mr *LoggerMockRecorder) Infof(arg0 interface{}, arg1 ...interface{}) *gomock.Call

Infof indicates an expected call of Infof.

func (*LoggerMockRecorder) Infoln

func (mr *LoggerMockRecorder) Infoln(arg0 ...interface{}) *gomock.Call

Infoln indicates an expected call of Infoln.

func (*LoggerMockRecorder) SetFormatter added in v1.1.0

func (mr *LoggerMockRecorder) SetFormatter(arg0 interface{}) *gomock.Call

SetFormatter indicates an expected call of SetFormatter.

func (*LoggerMockRecorder) SetLevel

func (mr *LoggerMockRecorder) SetLevel(arg0 interface{}) *gomock.Call

SetLevel indicates an expected call of SetLevel.

func (*LoggerMockRecorder) Warnf added in v0.5.0

func (mr *LoggerMockRecorder) Warnf(arg0 interface{}, arg1 ...interface{}) *gomock.Call

Warnf indicates an expected call of Warnf.

func (*LoggerMockRecorder) Warnln

func (mr *LoggerMockRecorder) Warnln(arg0 ...interface{}) *gomock.Call

Warnln indicates an expected call of Warnln.

type Memory

type Memory struct {
	// contains filtered or unexported fields
}

Memory is a mock of Memory interface.

func NewMemory

func NewMemory(ctrl *gomock.Controller) *Memory

NewMemory creates a new mock instance.

func (*Memory) EXPECT

func (m *Memory) EXPECT() *MemoryMockRecorder

EXPECT returns an object that allows the caller to indicate expected use.

func (*Memory) TotalMemory

func (m *Memory) TotalMemory() uint64

TotalMemory mocks base method.

type MemoryMockRecorder

type MemoryMockRecorder struct {
	// contains filtered or unexported fields
}

MemoryMockRecorder is the mock recorder for Memory.

func (*MemoryMockRecorder) TotalMemory

func (mr *MemoryMockRecorder) TotalMemory() *gomock.Call

TotalMemory indicates an expected call of TotalMemory.

type MockLimaWrapper added in v0.7.0

type MockLimaWrapper struct {
	// contains filtered or unexported fields
}

MockLimaWrapper is a mock of LimaWrapper interface.

func NewMockLimaWrapper added in v0.7.0

func NewMockLimaWrapper(ctrl *gomock.Controller) *MockLimaWrapper

NewMockLimaWrapper creates a new mock instance.

func (*MockLimaWrapper) EXPECT added in v0.7.0

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockLimaWrapper) LimaUser added in v0.7.0

func (m *MockLimaWrapper) LimaUser(arg0 bool) (*user.User, error)

LimaUser mocks base method.

type MockLimaWrapperMockRecorder added in v0.7.0

type MockLimaWrapperMockRecorder struct {
	// contains filtered or unexported fields
}

MockLimaWrapperMockRecorder is the mock recorder for MockLimaWrapper.

func (*MockLimaWrapperMockRecorder) LimaUser added in v0.7.0

func (mr *MockLimaWrapperMockRecorder) LimaUser(arg0 interface{}) *gomock.Call

LimaUser indicates an expected call of LimaUser.

type MockdiskFS added in v0.2.0

type MockdiskFS struct {
	// contains filtered or unexported fields
}

MockdiskFS is a mock of diskFS interface.

func NewMockdiskFS added in v0.2.0

func NewMockdiskFS(ctrl *gomock.Controller) *MockdiskFS

NewMockdiskFS creates a new mock instance.

func (*MockdiskFS) Chmod added in v0.2.0

func (m *MockdiskFS) Chmod(name string, mode os.FileMode) error

Chmod mocks base method.

func (*MockdiskFS) Chown added in v0.2.0

func (m *MockdiskFS) Chown(name string, uid, gid int) error

Chown mocks base method.

func (*MockdiskFS) Chtimes added in v0.2.0

func (m *MockdiskFS) Chtimes(name string, atime, mtime time.Time) error

Chtimes mocks base method.

func (*MockdiskFS) Create added in v0.2.0

func (m *MockdiskFS) Create(name string) (afero.File, error)

Create mocks base method.

func (*MockdiskFS) EXPECT added in v0.2.0

func (m *MockdiskFS) EXPECT() *MockdiskFSMockRecorder

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockdiskFS) Mkdir added in v0.2.0

func (m *MockdiskFS) Mkdir(name string, perm os.FileMode) error

Mkdir mocks base method.

func (*MockdiskFS) MkdirAll added in v0.2.0

func (m *MockdiskFS) MkdirAll(path string, perm os.FileMode) error

MkdirAll mocks base method.

func (*MockdiskFS) Name added in v0.2.0

func (m *MockdiskFS) Name() string

Name mocks base method.

func (*MockdiskFS) Open added in v0.2.0

func (m *MockdiskFS) Open(name string) (afero.File, error)

Open mocks base method.

func (*MockdiskFS) OpenFile added in v0.2.0

func (m *MockdiskFS) OpenFile(name string, flag int, perm os.FileMode) (afero.File, error)

OpenFile mocks base method.

func (*MockdiskFS) ReadlinkIfPossible added in v0.2.0

func (m *MockdiskFS) ReadlinkIfPossible(name string) (string, error)

ReadlinkIfPossible mocks base method.

func (*MockdiskFS) Remove added in v0.2.0

func (m *MockdiskFS) Remove(name string) error

Remove mocks base method.

func (*MockdiskFS) RemoveAll added in v0.2.0

func (m *MockdiskFS) RemoveAll(path string) error

RemoveAll mocks base method.

func (*MockdiskFS) Rename added in v0.2.0

func (m *MockdiskFS) Rename(oldname, newname string) error

Rename mocks base method.

func (*MockdiskFS) Stat added in v0.2.0

func (m *MockdiskFS) Stat(name string) (os.FileInfo, error)

Stat mocks base method.

func (*MockdiskFS) SymlinkIfPossible added in v0.2.0

func (m *MockdiskFS) SymlinkIfPossible(oldname, newname string) error

SymlinkIfPossible mocks base method.

type MockdiskFSMockRecorder added in v0.2.0

type MockdiskFSMockRecorder struct {
	// contains filtered or unexported fields
}

MockdiskFSMockRecorder is the mock recorder for MockdiskFS.

func (*MockdiskFSMockRecorder) Chmod added in v0.2.0

func (mr *MockdiskFSMockRecorder) Chmod(name, mode interface{}) *gomock.Call

Chmod indicates an expected call of Chmod.

func (*MockdiskFSMockRecorder) Chown added in v0.2.0

func (mr *MockdiskFSMockRecorder) Chown(name, uid, gid interface{}) *gomock.Call

Chown indicates an expected call of Chown.

func (*MockdiskFSMockRecorder) Chtimes added in v0.2.0

func (mr *MockdiskFSMockRecorder) Chtimes(name, atime, mtime interface{}) *gomock.Call

Chtimes indicates an expected call of Chtimes.

func (*MockdiskFSMockRecorder) Create added in v0.2.0

func (mr *MockdiskFSMockRecorder) Create(name interface{}) *gomock.Call

Create indicates an expected call of Create.

func (*MockdiskFSMockRecorder) Mkdir added in v0.2.0

func (mr *MockdiskFSMockRecorder) Mkdir(name, perm interface{}) *gomock.Call

Mkdir indicates an expected call of Mkdir.

func (*MockdiskFSMockRecorder) MkdirAll added in v0.2.0

func (mr *MockdiskFSMockRecorder) MkdirAll(path, perm interface{}) *gomock.Call

MkdirAll indicates an expected call of MkdirAll.

func (*MockdiskFSMockRecorder) Name added in v0.2.0

func (mr *MockdiskFSMockRecorder) Name() *gomock.Call

Name indicates an expected call of Name.

func (*MockdiskFSMockRecorder) Open added in v0.2.0

func (mr *MockdiskFSMockRecorder) Open(name interface{}) *gomock.Call

Open indicates an expected call of Open.

func (*MockdiskFSMockRecorder) OpenFile added in v0.2.0

func (mr *MockdiskFSMockRecorder) OpenFile(name, flag, perm interface{}) *gomock.Call

OpenFile indicates an expected call of OpenFile.

func (*MockdiskFSMockRecorder) ReadlinkIfPossible added in v0.2.0

func (mr *MockdiskFSMockRecorder) ReadlinkIfPossible(name interface{}) *gomock.Call

ReadlinkIfPossible indicates an expected call of ReadlinkIfPossible.

func (*MockdiskFSMockRecorder) Remove added in v0.2.0

func (mr *MockdiskFSMockRecorder) Remove(name interface{}) *gomock.Call

Remove indicates an expected call of Remove.

func (*MockdiskFSMockRecorder) RemoveAll added in v0.2.0

func (mr *MockdiskFSMockRecorder) RemoveAll(path interface{}) *gomock.Call

RemoveAll indicates an expected call of RemoveAll.

func (*MockdiskFSMockRecorder) Rename added in v0.2.0

func (mr *MockdiskFSMockRecorder) Rename(oldname, newname interface{}) *gomock.Call

Rename indicates an expected call of Rename.

func (*MockdiskFSMockRecorder) Stat added in v0.2.0

func (mr *MockdiskFSMockRecorder) Stat(name interface{}) *gomock.Call

Stat indicates an expected call of Stat.

func (*MockdiskFSMockRecorder) SymlinkIfPossible added in v0.2.0

func (mr *MockdiskFSMockRecorder) SymlinkIfPossible(oldname, newname interface{}) *gomock.Call

SymlinkIfPossible indicates an expected call of SymlinkIfPossible.

type NerdctlCommandSystemDeps added in v0.4.0

type NerdctlCommandSystemDeps struct {
	// contains filtered or unexported fields
}

NerdctlCommandSystemDeps is a mock of NerdctlCommandSystemDeps interface.

func NewNerdctlCommandSystemDeps added in v0.4.0

func NewNerdctlCommandSystemDeps(ctrl *gomock.Controller) *NerdctlCommandSystemDeps

NewNerdctlCommandSystemDeps creates a new mock instance.

func (*NerdctlCommandSystemDeps) EXPECT added in v0.4.0

EXPECT returns an object that allows the caller to indicate expected use.

func (*NerdctlCommandSystemDeps) FilePathAbs added in v1.1.0

func (m *NerdctlCommandSystemDeps) FilePathAbs(elem string) (string, error)

FilePathAbs mocks base method.

func (*NerdctlCommandSystemDeps) FilePathJoin added in v1.1.0

func (m *NerdctlCommandSystemDeps) FilePathJoin(elem ...string) string

FilePathJoin mocks base method.

func (*NerdctlCommandSystemDeps) FilePathToSlash added in v1.1.0

func (m *NerdctlCommandSystemDeps) FilePathToSlash(elem string) string

FilePathToSlash mocks base method.

func (*NerdctlCommandSystemDeps) GetWd added in v1.1.0

func (m *NerdctlCommandSystemDeps) GetWd() (string, error)

GetWd mocks base method.

func (*NerdctlCommandSystemDeps) LookupEnv added in v0.4.0

func (m *NerdctlCommandSystemDeps) LookupEnv(key string) (string, bool)

LookupEnv mocks base method.

type NerdctlCommandSystemDepsMockRecorder added in v0.4.0

type NerdctlCommandSystemDepsMockRecorder struct {
	// contains filtered or unexported fields
}

NerdctlCommandSystemDepsMockRecorder is the mock recorder for NerdctlCommandSystemDeps.

func (*NerdctlCommandSystemDepsMockRecorder) FilePathAbs added in v1.1.0

func (mr *NerdctlCommandSystemDepsMockRecorder) FilePathAbs(elem interface{}) *gomock.Call

FilePathAbs indicates an expected call of FilePathAbs.

func (*NerdctlCommandSystemDepsMockRecorder) FilePathJoin added in v1.1.0

func (mr *NerdctlCommandSystemDepsMockRecorder) FilePathJoin(elem ...interface{}) *gomock.Call

FilePathJoin indicates an expected call of FilePathJoin.

func (*NerdctlCommandSystemDepsMockRecorder) FilePathToSlash added in v1.1.0

func (mr *NerdctlCommandSystemDepsMockRecorder) FilePathToSlash(elem interface{}) *gomock.Call

FilePathToSlash indicates an expected call of FilePathToSlash.

func (*NerdctlCommandSystemDepsMockRecorder) GetWd added in v1.1.0

GetWd indicates an expected call of GetWd.

func (*NerdctlCommandSystemDepsMockRecorder) LookupEnv added in v0.4.0

func (mr *NerdctlCommandSystemDepsMockRecorder) LookupEnv(key interface{}) *gomock.Call

LookupEnv indicates an expected call of LookupEnv.

type NerdctlConfigApplier

type NerdctlConfigApplier struct {
	// contains filtered or unexported fields
}

NerdctlConfigApplier is a mock of NerdctlConfigApplier interface.

func NewNerdctlConfigApplier

func NewNerdctlConfigApplier(ctrl *gomock.Controller) *NerdctlConfigApplier

NewNerdctlConfigApplier creates a new mock instance.

func (*NerdctlConfigApplier) Apply

func (m *NerdctlConfigApplier) Apply(arg0 string) error

Apply mocks base method.

func (*NerdctlConfigApplier) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

type NerdctlConfigApplierMockRecorder

type NerdctlConfigApplierMockRecorder struct {
	// contains filtered or unexported fields
}

NerdctlConfigApplierMockRecorder is the mock recorder for NerdctlConfigApplier.

func (*NerdctlConfigApplierMockRecorder) Apply

func (mr *NerdctlConfigApplierMockRecorder) Apply(arg0 interface{}) *gomock.Call

Apply indicates an expected call of Apply.

type UserDataDiskManager added in v1.1.0

type UserDataDiskManager struct {
	// contains filtered or unexported fields
}

UserDataDiskManager is a mock of UserDataDiskManager interface.

func NewUserDataDiskManager added in v1.1.0

func NewUserDataDiskManager(ctrl *gomock.Controller) *UserDataDiskManager

NewUserDataDiskManager creates a new mock instance.

func (*UserDataDiskManager) DetachUserDataDisk added in v1.1.0

func (m *UserDataDiskManager) DetachUserDataDisk() error

DetachUserDataDisk mocks base method.

func (*UserDataDiskManager) EXPECT added in v1.1.0

EXPECT returns an object that allows the caller to indicate expected use.

func (*UserDataDiskManager) EnsureUserDataDisk added in v1.1.0

func (m *UserDataDiskManager) EnsureUserDataDisk() error

EnsureUserDataDisk mocks base method.

type UserDataDiskManagerMockRecorder added in v1.1.0

type UserDataDiskManagerMockRecorder struct {
	// contains filtered or unexported fields
}

UserDataDiskManagerMockRecorder is the mock recorder for UserDataDiskManager.

func (*UserDataDiskManagerMockRecorder) DetachUserDataDisk added in v1.1.0

func (mr *UserDataDiskManagerMockRecorder) DetachUserDataDisk() *gomock.Call

DetachUserDataDisk indicates an expected call of DetachUserDataDisk.

func (*UserDataDiskManagerMockRecorder) EnsureUserDataDisk added in v1.1.0

func (mr *UserDataDiskManagerMockRecorder) EnsureUserDataDisk() *gomock.Call

EnsureUserDataDisk indicates an expected call of EnsureUserDataDisk.

Jump to

Keyboard shortcuts

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