mocks

package
v0.1.0-M4 Latest Latest
Warning

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

Go to latest
Published: Aug 24, 2023 License: Apache-2.0, EPL-2.0 Imports: 13 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.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockcontainerClientWrapper

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

MockcontainerClientWrapper is a mock of containerClientWrapper interface.

func NewMockcontainerClientWrapper

func NewMockcontainerClientWrapper(ctrl *gomock.Controller) *MockcontainerClientWrapper

NewMockcontainerClientWrapper creates a new mock instance.

func (*MockcontainerClientWrapper) Close

func (m *MockcontainerClientWrapper) Close() error

Close mocks base method.

func (*MockcontainerClientWrapper) EXPECT

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

func (*MockcontainerClientWrapper) GetImage

GetImage mocks base method.

func (*MockcontainerClientWrapper) ImageService

func (m *MockcontainerClientWrapper) ImageService() images.Store

ImageService mocks base method.

func (*MockcontainerClientWrapper) LeasesService

func (m *MockcontainerClientWrapper) LeasesService() leases.Manager

LeasesService mocks base method.

func (*MockcontainerClientWrapper) ListImages

func (m *MockcontainerClientWrapper) ListImages(ctx context.Context, filters ...string) ([]containerd.Image, error)

ListImages mocks base method.

func (*MockcontainerClientWrapper) LoadContainer

LoadContainer mocks base method.

func (*MockcontainerClientWrapper) NewContainer

NewContainer mocks base method.

func (*MockcontainerClientWrapper) Pull

Pull mocks base method.

func (*MockcontainerClientWrapper) SnapshotService

func (m *MockcontainerClientWrapper) SnapshotService(snapshotterName string) snapshots.Snapshotter

SnapshotService mocks base method.

func (*MockcontainerClientWrapper) Subscribe

func (m *MockcontainerClientWrapper) Subscribe(ctx context.Context, filters ...string) (<-chan *events.Envelope, <-chan error)

Subscribe mocks base method.

type MockcontainerClientWrapperMockRecorder

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

MockcontainerClientWrapperMockRecorder is the mock recorder for MockcontainerClientWrapper.

func (*MockcontainerClientWrapperMockRecorder) Close

Close indicates an expected call of Close.

func (*MockcontainerClientWrapperMockRecorder) GetImage

func (mr *MockcontainerClientWrapperMockRecorder) GetImage(ctx, ref interface{}) *gomock.Call

GetImage indicates an expected call of GetImage.

func (*MockcontainerClientWrapperMockRecorder) ImageService

ImageService indicates an expected call of ImageService.

func (*MockcontainerClientWrapperMockRecorder) LeasesService

func (mr *MockcontainerClientWrapperMockRecorder) LeasesService() *gomock.Call

LeasesService indicates an expected call of LeasesService.

func (*MockcontainerClientWrapperMockRecorder) ListImages

func (mr *MockcontainerClientWrapperMockRecorder) ListImages(ctx interface{}, filters ...interface{}) *gomock.Call

ListImages indicates an expected call of ListImages.

func (*MockcontainerClientWrapperMockRecorder) LoadContainer

func (mr *MockcontainerClientWrapperMockRecorder) LoadContainer(ctx, id interface{}) *gomock.Call

LoadContainer indicates an expected call of LoadContainer.

func (*MockcontainerClientWrapperMockRecorder) NewContainer

func (mr *MockcontainerClientWrapperMockRecorder) NewContainer(ctx, id interface{}, opts ...interface{}) *gomock.Call

NewContainer indicates an expected call of NewContainer.

func (*MockcontainerClientWrapperMockRecorder) Pull

func (mr *MockcontainerClientWrapperMockRecorder) Pull(ctx, ref interface{}, opts ...interface{}) *gomock.Call

Pull indicates an expected call of Pull.

func (*MockcontainerClientWrapperMockRecorder) SnapshotService

func (mr *MockcontainerClientWrapperMockRecorder) SnapshotService(snapshotterName interface{}) *gomock.Call

SnapshotService indicates an expected call of SnapshotService.

func (*MockcontainerClientWrapperMockRecorder) Subscribe

func (mr *MockcontainerClientWrapperMockRecorder) Subscribe(ctx interface{}, filters ...interface{}) *gomock.Call

Subscribe indicates an expected call of Subscribe.

type MockcontainerDecryptMgr

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

MockcontainerDecryptMgr is a mock of containerDecryptMgr interface.

func NewMockcontainerDecryptMgr

func NewMockcontainerDecryptMgr(ctrl *gomock.Controller) *MockcontainerDecryptMgr

NewMockcontainerDecryptMgr creates a new mock instance.

func (*MockcontainerDecryptMgr) CheckAuthorization

func (m *MockcontainerDecryptMgr) CheckAuthorization(ctx context.Context, image containerd.Image, config *ocicryptconfig.DecryptConfig) error

CheckAuthorization mocks base method.

func (*MockcontainerDecryptMgr) EXPECT

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

func (*MockcontainerDecryptMgr) GetDecryptConfig

GetDecryptConfig mocks base method.

type MockcontainerDecryptMgrMockRecorder

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

MockcontainerDecryptMgrMockRecorder is the mock recorder for MockcontainerDecryptMgr.

func (*MockcontainerDecryptMgrMockRecorder) CheckAuthorization

func (mr *MockcontainerDecryptMgrMockRecorder) CheckAuthorization(ctx, image, config interface{}) *gomock.Call

CheckAuthorization indicates an expected call of CheckAuthorization.

func (*MockcontainerDecryptMgrMockRecorder) GetDecryptConfig

func (mr *MockcontainerDecryptMgrMockRecorder) GetDecryptConfig(config interface{}) *gomock.Call

GetDecryptConfig indicates an expected call of GetDecryptConfig.

type MockcontainerImageRegistriesResolver

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

MockcontainerImageRegistriesResolver is a mock of containerImageRegistriesResolver interface.

func NewMockcontainerImageRegistriesResolver

func NewMockcontainerImageRegistriesResolver(ctrl *gomock.Controller) *MockcontainerImageRegistriesResolver

NewMockcontainerImageRegistriesResolver creates a new mock instance.

func (*MockcontainerImageRegistriesResolver) EXPECT

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

func (*MockcontainerImageRegistriesResolver) ResolveImageRegistry

func (m *MockcontainerImageRegistriesResolver) ResolveImageRegistry(imageRegistryHost string) remotes.Resolver

ResolveImageRegistry mocks base method.

type MockcontainerImageRegistriesResolverMockRecorder

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

MockcontainerImageRegistriesResolverMockRecorder is the mock recorder for MockcontainerImageRegistriesResolver.

func (*MockcontainerImageRegistriesResolverMockRecorder) ResolveImageRegistry

func (mr *MockcontainerImageRegistriesResolverMockRecorder) ResolveImageRegistry(imageRegistryHost interface{}) *gomock.Call

ResolveImageRegistry indicates an expected call of ResolveImageRegistry.

type MockcontainerLogsManager

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

MockcontainerLogsManager is a mock of containerLogsManager interface.

func NewMockcontainerLogsManager

func NewMockcontainerLogsManager(ctrl *gomock.Controller) *MockcontainerLogsManager

NewMockcontainerLogsManager creates a new mock instance.

func (*MockcontainerLogsManager) EXPECT

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

func (*MockcontainerLogsManager) GetLogDriver

GetLogDriver mocks base method.

type MockcontainerLogsManagerMockRecorder

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

MockcontainerLogsManagerMockRecorder is the mock recorder for MockcontainerLogsManager.

func (*MockcontainerLogsManagerMockRecorder) GetLogDriver

func (mr *MockcontainerLogsManagerMockRecorder) GetLogDriver(c interface{}) *gomock.Call

GetLogDriver indicates an expected call of GetLogDriver.

type MockcontainerdSpi

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

MockcontainerdSpi is a mock of containerdSpi interface.

func NewMockcontainerdSpi

func NewMockcontainerdSpi(ctrl *gomock.Controller) *MockcontainerdSpi

NewMockcontainerdSpi creates a new mock instance.

func (*MockcontainerdSpi) CreateContainer

func (m *MockcontainerdSpi) CreateContainer(ctx context.Context, containerID string, opts ...containerd.NewContainerOpts) (containerd.Container, error)

CreateContainer mocks base method.

func (*MockcontainerdSpi) CreateTask

func (m *MockcontainerdSpi) CreateTask(ctx context.Context, container containerd.Container, cioCreatorFunc cio.Creator, opts ...containerd.NewTaskOpts) (containerd.Task, error)

CreateTask mocks base method.

func (*MockcontainerdSpi) DeleteImage

func (m *MockcontainerdSpi) DeleteImage(ctx context.Context, imageRef string) error

DeleteImage mocks base method.

func (*MockcontainerdSpi) Dispose

func (m *MockcontainerdSpi) Dispose(ctx context.Context) error

Dispose mocks base method.

func (*MockcontainerdSpi) EXPECT

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

func (*MockcontainerdSpi) GetImage

func (m *MockcontainerdSpi) GetImage(ctx context.Context, imageRef string) (containerd.Image, error)

GetImage mocks base method.

func (*MockcontainerdSpi) GetSnapshot

func (m *MockcontainerdSpi) GetSnapshot(ctx context.Context, containerID string) (snapshots.Info, error)

GetSnapshot mocks base method.

func (*MockcontainerdSpi) GetSnapshotID

func (m *MockcontainerdSpi) GetSnapshotID(containerID string) string

GetSnapshotID mocks base method.

func (*MockcontainerdSpi) ListImages

func (m *MockcontainerdSpi) ListImages(ctx context.Context, filters ...string) ([]containerd.Image, error)

ListImages mocks base method.

func (*MockcontainerdSpi) ListSnapshots

func (m *MockcontainerdSpi) ListSnapshots(ctx context.Context, filters ...string) ([]snapshots.Info, error)

ListSnapshots mocks base method.

func (*MockcontainerdSpi) LoadContainer

func (m *MockcontainerdSpi) LoadContainer(ctx context.Context, containerID string) (containerd.Container, error)

LoadContainer mocks base method.

func (*MockcontainerdSpi) LoadTask

func (m *MockcontainerdSpi) LoadTask(ctx context.Context, container containerd.Container, reattachFunc cio.Attach) (containerd.Task, error)

LoadTask mocks base method.

func (*MockcontainerdSpi) MountSnapshot

func (m *MockcontainerdSpi) MountSnapshot(ctx context.Context, containerID, rootFS string) error

MountSnapshot mocks base method.

func (*MockcontainerdSpi) PrepareSnapshot

func (m *MockcontainerdSpi) PrepareSnapshot(ctx context.Context, containerID string, image containerd.Image, opts ...containerd.UnpackOpt) error

PrepareSnapshot mocks base method.

func (*MockcontainerdSpi) PullImage

func (m *MockcontainerdSpi) PullImage(ctx context.Context, imageRef string, opts ...containerd.RemoteOpt) (containerd.Image, error)

PullImage mocks base method.

func (*MockcontainerdSpi) RemoveSnapshot

func (m *MockcontainerdSpi) RemoveSnapshot(ctx context.Context, containerID string) error

RemoveSnapshot mocks base method.

func (*MockcontainerdSpi) Subscribe

func (m *MockcontainerdSpi) Subscribe(ctx context.Context, filters ...string) (<-chan *events.Envelope, <-chan error)

Subscribe mocks base method.

func (*MockcontainerdSpi) UnmountSnapshot

func (m *MockcontainerdSpi) UnmountSnapshot(ctx context.Context, containerID, rootFS string) error

UnmountSnapshot mocks base method.

func (*MockcontainerdSpi) UnpackImage

func (m *MockcontainerdSpi) UnpackImage(ctx context.Context, image containerd.Image, opts ...containerd.UnpackOpt) error

UnpackImage mocks base method.

type MockcontainerdSpiMockRecorder

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

MockcontainerdSpiMockRecorder is the mock recorder for MockcontainerdSpi.

func (*MockcontainerdSpiMockRecorder) CreateContainer

func (mr *MockcontainerdSpiMockRecorder) CreateContainer(ctx, containerID interface{}, opts ...interface{}) *gomock.Call

CreateContainer indicates an expected call of CreateContainer.

func (*MockcontainerdSpiMockRecorder) CreateTask

func (mr *MockcontainerdSpiMockRecorder) CreateTask(ctx, container, cioCreatorFunc interface{}, opts ...interface{}) *gomock.Call

CreateTask indicates an expected call of CreateTask.

func (*MockcontainerdSpiMockRecorder) DeleteImage

func (mr *MockcontainerdSpiMockRecorder) DeleteImage(ctx, imageRef interface{}) *gomock.Call

DeleteImage indicates an expected call of DeleteImage.

func (*MockcontainerdSpiMockRecorder) Dispose

func (mr *MockcontainerdSpiMockRecorder) Dispose(ctx interface{}) *gomock.Call

Dispose indicates an expected call of Dispose.

func (*MockcontainerdSpiMockRecorder) GetImage

func (mr *MockcontainerdSpiMockRecorder) GetImage(ctx, imageRef interface{}) *gomock.Call

GetImage indicates an expected call of GetImage.

func (*MockcontainerdSpiMockRecorder) GetSnapshot

func (mr *MockcontainerdSpiMockRecorder) GetSnapshot(ctx, containerID interface{}) *gomock.Call

GetSnapshot indicates an expected call of GetSnapshot.

func (*MockcontainerdSpiMockRecorder) GetSnapshotID

func (mr *MockcontainerdSpiMockRecorder) GetSnapshotID(containerID interface{}) *gomock.Call

GetSnapshotID indicates an expected call of GetSnapshotID.

func (*MockcontainerdSpiMockRecorder) ListImages

func (mr *MockcontainerdSpiMockRecorder) ListImages(ctx interface{}, filters ...interface{}) *gomock.Call

ListImages indicates an expected call of ListImages.

func (*MockcontainerdSpiMockRecorder) ListSnapshots

func (mr *MockcontainerdSpiMockRecorder) ListSnapshots(ctx interface{}, filters ...interface{}) *gomock.Call

ListSnapshots indicates an expected call of ListSnapshots.

func (*MockcontainerdSpiMockRecorder) LoadContainer

func (mr *MockcontainerdSpiMockRecorder) LoadContainer(ctx, containerID interface{}) *gomock.Call

LoadContainer indicates an expected call of LoadContainer.

func (*MockcontainerdSpiMockRecorder) LoadTask

func (mr *MockcontainerdSpiMockRecorder) LoadTask(ctx, container, reattachFunc interface{}) *gomock.Call

LoadTask indicates an expected call of LoadTask.

func (*MockcontainerdSpiMockRecorder) MountSnapshot

func (mr *MockcontainerdSpiMockRecorder) MountSnapshot(ctx, containerID, rootFS interface{}) *gomock.Call

MountSnapshot indicates an expected call of MountSnapshot.

func (*MockcontainerdSpiMockRecorder) PrepareSnapshot

func (mr *MockcontainerdSpiMockRecorder) PrepareSnapshot(ctx, containerID, image interface{}, opts ...interface{}) *gomock.Call

PrepareSnapshot indicates an expected call of PrepareSnapshot.

func (*MockcontainerdSpiMockRecorder) PullImage

func (mr *MockcontainerdSpiMockRecorder) PullImage(ctx, imageRef interface{}, opts ...interface{}) *gomock.Call

PullImage indicates an expected call of PullImage.

func (*MockcontainerdSpiMockRecorder) RemoveSnapshot

func (mr *MockcontainerdSpiMockRecorder) RemoveSnapshot(ctx, containerID interface{}) *gomock.Call

RemoveSnapshot indicates an expected call of RemoveSnapshot.

func (*MockcontainerdSpiMockRecorder) Subscribe

func (mr *MockcontainerdSpiMockRecorder) Subscribe(ctx interface{}, filters ...interface{}) *gomock.Call

Subscribe indicates an expected call of Subscribe.

func (*MockcontainerdSpiMockRecorder) UnmountSnapshot

func (mr *MockcontainerdSpiMockRecorder) UnmountSnapshot(ctx, containerID, rootFS interface{}) *gomock.Call

UnmountSnapshot indicates an expected call of UnmountSnapshot.

func (*MockcontainerdSpiMockRecorder) UnpackImage

func (mr *MockcontainerdSpiMockRecorder) UnpackImage(ctx, image interface{}, opts ...interface{}) *gomock.Call

UnpackImage indicates an expected call of UnpackImage.

Jump to

Keyboard shortcuts

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