mocks

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Jul 18, 2023 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.

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.

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(arg0 bool) 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

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

Apply indicates an expected call of Apply.

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) 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) 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 MockUserDataDiskManager added in v0.2.0

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

MockUserDataDiskManager is a mock of UserDataDiskManager interface.

func NewMockUserDataDiskManager added in v0.2.0

func NewMockUserDataDiskManager(ctrl *gomock.Controller) *MockUserDataDiskManager

NewMockUserDataDiskManager creates a new mock instance.

func (*MockUserDataDiskManager) EXPECT added in v0.2.0

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

func (*MockUserDataDiskManager) EnsureUserDataDisk added in v0.2.0

func (m *MockUserDataDiskManager) EnsureUserDataDisk() error

EnsureUserDataDisk mocks base method.

type MockUserDataDiskManagerMockRecorder added in v0.2.0

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

MockUserDataDiskManagerMockRecorder is the mock recorder for MockUserDataDiskManager.

func (*MockUserDataDiskManagerMockRecorder) EnsureUserDataDisk added in v0.2.0

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

EnsureUserDataDisk indicates an expected call of EnsureUserDataDisk.

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

Jump to

Keyboard shortcuts

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