mocks_image

package
v0.12.0 Latest Latest
Warning

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

Go to latest
Published: Dec 27, 2024 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(arg0 context.Context, arg1 string) (*dockercompat.Image, error)

Inspect mocks base method.

func (*MockService) List

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

List mocks base method.

func (*MockService) Load

func (m *MockService) Load(arg0 context.Context, arg1 io.Reader, arg2 io.Writer, arg3 bool) error

Load mocks base method.

func (*MockService) Pull

func (m *MockService) Pull(arg0 context.Context, arg1, arg2, arg3 string, arg4 *types.AuthConfig, arg5 io.Writer) error

Pull mocks base method.

func (*MockService) Push

func (m *MockService) Push(arg0 context.Context, arg1, arg2 string, arg3 *types.AuthConfig, arg4 io.Writer) (*types0.PushResult, error)

Push mocks base method.

func (*MockService) Remove

func (m *MockService) Remove(arg0 context.Context, arg1 string, arg2 bool) ([]string, []string, error)

Remove mocks base method.

func (*MockService) Tag

func (m *MockService) Tag(arg0 context.Context, arg1, arg2, arg3 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(arg0, arg1 interface{}) *gomock.Call

Inspect indicates an expected call of Inspect.

func (*MockServiceMockRecorder) List

func (mr *MockServiceMockRecorder) List(arg0 interface{}) *gomock.Call

List indicates an expected call of List.

func (*MockServiceMockRecorder) Load

func (mr *MockServiceMockRecorder) Load(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

Load indicates an expected call of Load.

func (*MockServiceMockRecorder) Pull

func (mr *MockServiceMockRecorder) Pull(arg0, arg1, arg2, arg3, arg4, arg5 interface{}) *gomock.Call

Pull indicates an expected call of Pull.

func (*MockServiceMockRecorder) Push

func (mr *MockServiceMockRecorder) Push(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call

Push indicates an expected call of Push.

func (*MockServiceMockRecorder) Remove

func (mr *MockServiceMockRecorder) Remove(arg0, arg1, arg2 interface{}) *gomock.Call

Remove indicates an expected call of Remove.

func (*MockServiceMockRecorder) Tag

func (mr *MockServiceMockRecorder) Tag(arg0, arg1, arg2, arg3 interface{}) *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(arg0 context.Context, arg1 images.Image) (images.Image, error)

Create mocks base method.

func (*MockStore) Delete

func (m *MockStore) Delete(arg0 context.Context, arg1 string, arg2 ...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(arg0 context.Context, arg1 string) (images.Image, error)

Get mocks base method.

func (*MockStore) List

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

List mocks base method.

func (*MockStore) Update

func (m *MockStore) Update(arg0 context.Context, arg1 images.Image, arg2 ...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(arg0, arg1 interface{}) *gomock.Call

Create indicates an expected call of Create.

func (*MockStoreMockRecorder) Delete

func (mr *MockStoreMockRecorder) Delete(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

Delete indicates an expected call of Delete.

func (*MockStoreMockRecorder) Get

func (mr *MockStoreMockRecorder) Get(arg0, arg1 interface{}) *gomock.Call

Get indicates an expected call of Get.

func (*MockStoreMockRecorder) List

func (mr *MockStoreMockRecorder) List(arg0 interface{}, arg1 ...interface{}) *gomock.Call

List indicates an expected call of List.

func (*MockStoreMockRecorder) Update

func (mr *MockStoreMockRecorder) Update(arg0, arg1 interface{}, arg2 ...interface{}) *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