mocks

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Nov 17, 2022 License: Apache-2.0 Imports: 7 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.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

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.

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.

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.

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.

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) Apply

func (m *LimaConfigApplier) Apply() error

Apply 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) Apply

Apply indicates an expected call of Apply.

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) SetLevel

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

SetLevel 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) SetLevel

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

SetLevel indicates an expected call of SetLevel.

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 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 NerdctlConfigApplierSystemDeps

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

NerdctlConfigApplierSystemDeps is a mock of NerdctlConfigApplierSystemDeps interface.

func NewNerdctlConfigApplierSystemDeps

func NewNerdctlConfigApplierSystemDeps(ctrl *gomock.Controller) *NerdctlConfigApplierSystemDeps

NewNerdctlConfigApplierSystemDeps creates a new mock instance.

func (*NerdctlConfigApplierSystemDeps) EXPECT

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

func (*NerdctlConfigApplierSystemDeps) Env

Env mocks base method.

type NerdctlConfigApplierSystemDepsMockRecorder

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

NerdctlConfigApplierSystemDepsMockRecorder is the mock recorder for NerdctlConfigApplierSystemDeps.

func (*NerdctlConfigApplierSystemDepsMockRecorder) Env

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

Env indicates an expected call of Env.

Jump to

Keyboard shortcuts

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