mock

package
v0.0.0-...-1a910b2 Latest Latest
Warning

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

Go to latest
Published: Jun 24, 2019 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package mock is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockImageStore

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

MockImageStore is a mock of ImageStore interface

func NewMockImageStore

func NewMockImageStore(ctrl *gomock.Controller) *MockImageStore

NewMockImageStore creates a new mock instance

func (*MockImageStore) Create

func (m *MockImageStore) Create(i *store.Image) error

Create mocks base method

func (*MockImageStore) EXPECT

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

func (*MockImageStore) FindByLayerIDHavingLayerCountGreaterThan

func (m *MockImageStore) FindByLayerIDHavingLayerCountGreaterThan(layerID, count int) ([]*store.Image, error)

FindByLayerIDHavingLayerCountGreaterThan mocks base method

func (*MockImageStore) Get

Get mocks base method

func (*MockImageStore) List

List mocks base method

func (*MockImageStore) Update

func (m *MockImageStore) Update(i *store.Image) error

Update mocks base method

type MockImageStoreMockRecorder

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

MockImageStoreMockRecorder is the mock recorder for MockImageStore

func (*MockImageStoreMockRecorder) Create

func (mr *MockImageStoreMockRecorder) Create(i interface{}) *gomock.Call

Create indicates an expected call of Create

func (*MockImageStoreMockRecorder) FindByLayerIDHavingLayerCountGreaterThan

func (mr *MockImageStoreMockRecorder) FindByLayerIDHavingLayerCountGreaterThan(layerID, count interface{}) *gomock.Call

FindByLayerIDHavingLayerCountGreaterThan indicates an expected call of FindByLayerIDHavingLayerCountGreaterThan

func (*MockImageStoreMockRecorder) Get

func (mr *MockImageStoreMockRecorder) Get(o interface{}) *gomock.Call

Get indicates an expected call of Get

func (*MockImageStoreMockRecorder) List

func (mr *MockImageStoreMockRecorder) List(o interface{}) *gomock.Call

List indicates an expected call of List

func (*MockImageStoreMockRecorder) Update

func (mr *MockImageStoreMockRecorder) Update(i interface{}) *gomock.Call

Update indicates an expected call of Update

type MockLayerPositionStore

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

MockLayerPositionStore is a mock of LayerPositionStore interface

func NewMockLayerPositionStore

func NewMockLayerPositionStore(ctrl *gomock.Controller) *MockLayerPositionStore

NewMockLayerPositionStore creates a new mock instance

func (*MockLayerPositionStore) Create

Create mocks base method

func (*MockLayerPositionStore) EXPECT

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

func (*MockLayerPositionStore) List

List mocks base method

type MockLayerPositionStoreMockRecorder

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

MockLayerPositionStoreMockRecorder is the mock recorder for MockLayerPositionStore

func (*MockLayerPositionStoreMockRecorder) Create

func (mr *MockLayerPositionStoreMockRecorder) Create(arg0 interface{}) *gomock.Call

Create indicates an expected call of Create

func (*MockLayerPositionStoreMockRecorder) List

func (mr *MockLayerPositionStoreMockRecorder) List(o interface{}) *gomock.Call

List indicates an expected call of List

type MockLayerStore

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

MockLayerStore is a mock of LayerStore interface

func NewMockLayerStore

func NewMockLayerStore(ctrl *gomock.Controller) *MockLayerStore

NewMockLayerStore creates a new mock instance

func (*MockLayerStore) Create

func (m *MockLayerStore) Create(l *store.Layer) error

Create mocks base method

func (*MockLayerStore) EXPECT

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

func (*MockLayerStore) Get

Get mocks base method

func (*MockLayerStore) List

List mocks base method

func (*MockLayerStore) Update

func (m *MockLayerStore) Update(l *store.Layer) error

Update mocks base method

type MockLayerStoreMockRecorder

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

MockLayerStoreMockRecorder is the mock recorder for MockLayerStore

func (*MockLayerStoreMockRecorder) Create

func (mr *MockLayerStoreMockRecorder) Create(l interface{}) *gomock.Call

Create indicates an expected call of Create

func (*MockLayerStoreMockRecorder) Get

func (mr *MockLayerStoreMockRecorder) Get(o interface{}) *gomock.Call

Get indicates an expected call of Get

func (*MockLayerStoreMockRecorder) List

func (mr *MockLayerStoreMockRecorder) List(o interface{}) *gomock.Call

List indicates an expected call of List

func (*MockLayerStoreMockRecorder) Update

func (mr *MockLayerStoreMockRecorder) Update(l interface{}) *gomock.Call

Update indicates an expected call of Update

type MockPlatformStore

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

MockPlatformStore is a mock of PlatformStore interface

func NewMockPlatformStore

func NewMockPlatformStore(ctrl *gomock.Controller) *MockPlatformStore

NewMockPlatformStore creates a new mock instance

func (*MockPlatformStore) Create

func (m *MockPlatformStore) Create(arg0 *store.Platform) error

Create mocks base method

func (*MockPlatformStore) EXPECT

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

func (*MockPlatformStore) Get

Get mocks base method

func (*MockPlatformStore) List

List mocks base method

type MockPlatformStoreMockRecorder

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

MockPlatformStoreMockRecorder is the mock recorder for MockPlatformStore

func (*MockPlatformStoreMockRecorder) Create

func (mr *MockPlatformStoreMockRecorder) Create(arg0 interface{}) *gomock.Call

Create indicates an expected call of Create

func (*MockPlatformStoreMockRecorder) Get

func (mr *MockPlatformStoreMockRecorder) Get(o interface{}) *gomock.Call

Get indicates an expected call of Get

func (*MockPlatformStoreMockRecorder) List

func (mr *MockPlatformStoreMockRecorder) List(o interface{}) *gomock.Call

List indicates an expected call of List

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

func (m *MockStore) Close() error

Close 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) Images

func (m *MockStore) Images() store.ImageStore

Images mocks base method

func (*MockStore) LayerPositions

func (m *MockStore) LayerPositions() store.LayerPositionStore

LayerPositions mocks base method

func (*MockStore) Layers

func (m *MockStore) Layers() store.LayerStore

Layers mocks base method

func (*MockStore) Platforms

func (m *MockStore) Platforms() store.PlatformStore

Platforms mocks base method

func (*MockStore) Tags

func (m *MockStore) Tags() store.TagStore

Tags mocks base method

func (*MockStore) Transaction

func (m *MockStore) Transaction() (store.StoreTransaction, error)

Transaction mocks base method

type MockStoreMockRecorder

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

MockStoreMockRecorder is the mock recorder for MockStore

func (*MockStoreMockRecorder) Close

func (mr *MockStoreMockRecorder) Close() *gomock.Call

Close indicates an expected call of Close

func (*MockStoreMockRecorder) Images

func (mr *MockStoreMockRecorder) Images() *gomock.Call

Images indicates an expected call of Images

func (*MockStoreMockRecorder) LayerPositions

func (mr *MockStoreMockRecorder) LayerPositions() *gomock.Call

LayerPositions indicates an expected call of LayerPositions

func (*MockStoreMockRecorder) Layers

func (mr *MockStoreMockRecorder) Layers() *gomock.Call

Layers indicates an expected call of Layers

func (*MockStoreMockRecorder) Platforms

func (mr *MockStoreMockRecorder) Platforms() *gomock.Call

Platforms indicates an expected call of Platforms

func (*MockStoreMockRecorder) Tags

func (mr *MockStoreMockRecorder) Tags() *gomock.Call

Tags indicates an expected call of Tags

func (*MockStoreMockRecorder) Transaction

func (mr *MockStoreMockRecorder) Transaction() *gomock.Call

Transaction indicates an expected call of Transaction

type MockStoreTransaction

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

MockStoreTransaction is a mock of StoreTransaction interface

func NewMockStoreTransaction

func NewMockStoreTransaction(ctrl *gomock.Controller) *MockStoreTransaction

NewMockStoreTransaction creates a new mock instance

func (*MockStoreTransaction) Close

func (m *MockStoreTransaction) Close() error

Close mocks base method

func (*MockStoreTransaction) Commit

func (m *MockStoreTransaction) Commit() error

Commit mocks base method

func (*MockStoreTransaction) EXPECT

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

func (*MockStoreTransaction) Images

Images mocks base method

func (*MockStoreTransaction) LayerPositions

func (m *MockStoreTransaction) LayerPositions() store.LayerPositionStore

LayerPositions mocks base method

func (*MockStoreTransaction) Layers

Layers mocks base method

func (*MockStoreTransaction) Platforms

func (m *MockStoreTransaction) Platforms() store.PlatformStore

Platforms mocks base method

func (*MockStoreTransaction) Rollback

func (m *MockStoreTransaction) Rollback() error

Rollback mocks base method

func (*MockStoreTransaction) Tags

Tags mocks base method

func (*MockStoreTransaction) Transaction

func (m *MockStoreTransaction) Transaction() (store.StoreTransaction, error)

Transaction mocks base method

type MockStoreTransactionMockRecorder

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

MockStoreTransactionMockRecorder is the mock recorder for MockStoreTransaction

func (*MockStoreTransactionMockRecorder) Close

Close indicates an expected call of Close

func (*MockStoreTransactionMockRecorder) Commit

Commit indicates an expected call of Commit

func (*MockStoreTransactionMockRecorder) Images

Images indicates an expected call of Images

func (*MockStoreTransactionMockRecorder) LayerPositions

func (mr *MockStoreTransactionMockRecorder) LayerPositions() *gomock.Call

LayerPositions indicates an expected call of LayerPositions

func (*MockStoreTransactionMockRecorder) Layers

Layers indicates an expected call of Layers

func (*MockStoreTransactionMockRecorder) Platforms

func (mr *MockStoreTransactionMockRecorder) Platforms() *gomock.Call

Platforms indicates an expected call of Platforms

func (*MockStoreTransactionMockRecorder) Rollback

Rollback indicates an expected call of Rollback

func (*MockStoreTransactionMockRecorder) Tags

Tags indicates an expected call of Tags

func (*MockStoreTransactionMockRecorder) Transaction

func (mr *MockStoreTransactionMockRecorder) Transaction() *gomock.Call

Transaction indicates an expected call of Transaction

type MockTagStore

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

MockTagStore is a mock of TagStore interface

func NewMockTagStore

func NewMockTagStore(ctrl *gomock.Controller) *MockTagStore

NewMockTagStore creates a new mock instance

func (*MockTagStore) Create

func (m *MockTagStore) Create(arg0 *store.Tag) error

Create mocks base method

func (*MockTagStore) EXPECT

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

func (*MockTagStore) Get

Get mocks base method

func (*MockTagStore) List

func (m *MockTagStore) List(o store.TagListOptions) ([]*store.Tag, error)

List mocks base method

func (*MockTagStore) Update

func (m *MockTagStore) Update(arg0 *store.Tag) error

Update mocks base method

type MockTagStoreMockRecorder

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

MockTagStoreMockRecorder is the mock recorder for MockTagStore

func (*MockTagStoreMockRecorder) Create

func (mr *MockTagStoreMockRecorder) Create(arg0 interface{}) *gomock.Call

Create indicates an expected call of Create

func (*MockTagStoreMockRecorder) Get

func (mr *MockTagStoreMockRecorder) Get(o interface{}) *gomock.Call

Get indicates an expected call of Get

func (*MockTagStoreMockRecorder) List

func (mr *MockTagStoreMockRecorder) List(o interface{}) *gomock.Call

List indicates an expected call of List

func (*MockTagStoreMockRecorder) Update

func (mr *MockTagStoreMockRecorder) Update(arg0 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