mocks_image

package
v0.22.0 Latest Latest
Warning

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

Go to latest
Published: Jan 14, 2026 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Overview

Package mocks_image is a generated GoMock package.

Package mocks_image is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockService

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

MockService is a mock of Service interface.

func NewMockService

func NewMockService(ctrl *gomock.Controller) *MockService

NewMockService creates a new mock instance.

func (*MockService) EXPECT

func (m *MockService) EXPECT() *MockServiceMockRecorder

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

func (*MockService) Inspect

func (m *MockService) Inspect(ctx context.Context, name string) (*dockercompat.Image, error)

Inspect mocks base method.

func (*MockService) List

func (m *MockService) List(ctx context.Context) ([]types0.ImageSummary, error)

List mocks base method.

func (*MockService) Load

func (m *MockService) Load(ctx context.Context, inStream io.Reader, outStream io.Writer, quiet bool) error

Load mocks base method.

func (*MockService) Pull

func (m *MockService) Pull(ctx context.Context, name, tag, platform string, authCfg *types.AuthConfig, outStream io.Writer) error

Pull mocks base method.

func (*MockService) Push

func (m *MockService) Push(ctx context.Context, name, tag string, authCfg *types.AuthConfig, outStream io.Writer) (*types0.PushResult, error)

Push mocks base method.

func (*MockService) Remove

func (m *MockService) Remove(ctx context.Context, name string, force bool) ([]string, []string, error)

Remove mocks base method.

func (*MockService) Tag

func (m *MockService) Tag(ctx context.Context, srcImg, repo, tag string) error

Tag mocks base method.

type MockServiceMockRecorder

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

MockServiceMockRecorder is the mock recorder for MockService.

func (*MockServiceMockRecorder) Inspect

func (mr *MockServiceMockRecorder) Inspect(ctx, name any) *gomock.Call

Inspect indicates an expected call of Inspect.

func (*MockServiceMockRecorder) List

func (mr *MockServiceMockRecorder) List(ctx any) *gomock.Call

List indicates an expected call of List.

func (*MockServiceMockRecorder) Load

func (mr *MockServiceMockRecorder) Load(ctx, inStream, outStream, quiet any) *gomock.Call

Load indicates an expected call of Load.

func (*MockServiceMockRecorder) Pull

func (mr *MockServiceMockRecorder) Pull(ctx, name, tag, platform, authCfg, outStream any) *gomock.Call

Pull indicates an expected call of Pull.

func (*MockServiceMockRecorder) Push

func (mr *MockServiceMockRecorder) Push(ctx, name, tag, authCfg, outStream any) *gomock.Call

Push indicates an expected call of Push.

func (*MockServiceMockRecorder) Remove

func (mr *MockServiceMockRecorder) Remove(ctx, name, force any) *gomock.Call

Remove indicates an expected call of Remove.

func (*MockServiceMockRecorder) Tag

func (mr *MockServiceMockRecorder) Tag(ctx, srcImg, repo, tag any) *gomock.Call

Tag indicates an expected call of Tag.

type MockStore

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

MockStore is a mock of Store interface.

func NewMockStore

func NewMockStore(ctrl *gomock.Controller) *MockStore

NewMockStore creates a new mock instance.

func (*MockStore) Create

func (m *MockStore) Create(ctx context.Context, image images.Image) (images.Image, error)

Create mocks base method.

func (*MockStore) Delete

func (m *MockStore) Delete(ctx context.Context, name string, opts ...images.DeleteOpt) error

Delete mocks base method.

func (*MockStore) EXPECT

func (m *MockStore) EXPECT() *MockStoreMockRecorder

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

func (*MockStore) Get

func (m *MockStore) Get(ctx context.Context, name string) (images.Image, error)

Get mocks base method.

func (*MockStore) List

func (m *MockStore) List(ctx context.Context, filters ...string) ([]images.Image, error)

List mocks base method.

func (*MockStore) Update

func (m *MockStore) Update(ctx context.Context, image images.Image, fieldpaths ...string) (images.Image, error)

Update mocks base method.

type MockStoreMockRecorder

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

MockStoreMockRecorder is the mock recorder for MockStore.

func (*MockStoreMockRecorder) Create

func (mr *MockStoreMockRecorder) Create(ctx, image any) *gomock.Call

Create indicates an expected call of Create.

func (*MockStoreMockRecorder) Delete

func (mr *MockStoreMockRecorder) Delete(ctx, name any, opts ...any) *gomock.Call

Delete indicates an expected call of Delete.

func (*MockStoreMockRecorder) Get

func (mr *MockStoreMockRecorder) Get(ctx, name any) *gomock.Call

Get indicates an expected call of Get.

func (*MockStoreMockRecorder) List

func (mr *MockStoreMockRecorder) List(ctx any, filters ...any) *gomock.Call

List indicates an expected call of List.

func (*MockStoreMockRecorder) Update

func (mr *MockStoreMockRecorder) Update(ctx, image any, fieldpaths ...any) *gomock.Call

Update indicates an expected call of Update.

Jump to

Keyboard shortcuts

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