Documentation
¶
Overview ¶
Package mock is a generated GoMock package.
Index ¶
- type MockImageStore
- func (m *MockImageStore) Create(i *store.Image) error
- func (m *MockImageStore) EXPECT() *MockImageStoreMockRecorder
- func (m *MockImageStore) FindByLayerIDHavingLayerCountGreaterThan(layerID, count int) ([]*store.Image, error)
- func (m *MockImageStore) Get(o store.ImageGetOptions) (*store.Image, error)
- func (m *MockImageStore) List(o store.ImageListOptions) ([]*store.Image, error)
- func (m *MockImageStore) Update(i *store.Image) error
- type MockImageStoreMockRecorder
- func (mr *MockImageStoreMockRecorder) Create(i interface{}) *gomock.Call
- func (mr *MockImageStoreMockRecorder) FindByLayerIDHavingLayerCountGreaterThan(layerID, count interface{}) *gomock.Call
- func (mr *MockImageStoreMockRecorder) Get(o interface{}) *gomock.Call
- func (mr *MockImageStoreMockRecorder) List(o interface{}) *gomock.Call
- func (mr *MockImageStoreMockRecorder) Update(i interface{}) *gomock.Call
- type MockLayerPositionStore
- type MockLayerPositionStoreMockRecorder
- type MockLayerStore
- func (m *MockLayerStore) Create(l *store.Layer) error
- func (m *MockLayerStore) EXPECT() *MockLayerStoreMockRecorder
- func (m *MockLayerStore) Get(o store.LayerGetOptions) (*store.Layer, error)
- func (m *MockLayerStore) List(o store.LayerListOptions) ([]*store.Layer, error)
- func (m *MockLayerStore) Update(l *store.Layer) error
- type MockLayerStoreMockRecorder
- type MockPlatformStore
- func (m *MockPlatformStore) Create(arg0 *store.Platform) error
- func (m *MockPlatformStore) EXPECT() *MockPlatformStoreMockRecorder
- func (m *MockPlatformStore) Get(o store.PlatformGetOptions) (*store.Platform, error)
- func (m *MockPlatformStore) List(o store.PlatformListOptions) ([]*store.Platform, error)
- type MockPlatformStoreMockRecorder
- type MockStore
- func (m *MockStore) Close() error
- func (m *MockStore) EXPECT() *MockStoreMockRecorder
- func (m *MockStore) Images() store.ImageStore
- func (m *MockStore) LayerPositions() store.LayerPositionStore
- func (m *MockStore) Layers() store.LayerStore
- func (m *MockStore) Platforms() store.PlatformStore
- func (m *MockStore) Tags() store.TagStore
- func (m *MockStore) Transaction() (store.StoreTransaction, error)
- type MockStoreMockRecorder
- func (mr *MockStoreMockRecorder) Close() *gomock.Call
- func (mr *MockStoreMockRecorder) Images() *gomock.Call
- func (mr *MockStoreMockRecorder) LayerPositions() *gomock.Call
- func (mr *MockStoreMockRecorder) Layers() *gomock.Call
- func (mr *MockStoreMockRecorder) Platforms() *gomock.Call
- func (mr *MockStoreMockRecorder) Tags() *gomock.Call
- func (mr *MockStoreMockRecorder) Transaction() *gomock.Call
- type MockStoreTransaction
- func (m *MockStoreTransaction) Close() error
- func (m *MockStoreTransaction) Commit() error
- func (m *MockStoreTransaction) EXPECT() *MockStoreTransactionMockRecorder
- func (m *MockStoreTransaction) Images() store.ImageStore
- func (m *MockStoreTransaction) LayerPositions() store.LayerPositionStore
- func (m *MockStoreTransaction) Layers() store.LayerStore
- func (m *MockStoreTransaction) Platforms() store.PlatformStore
- func (m *MockStoreTransaction) Rollback() error
- func (m *MockStoreTransaction) Tags() store.TagStore
- func (m *MockStoreTransaction) Transaction() (store.StoreTransaction, error)
- type MockStoreTransactionMockRecorder
- func (mr *MockStoreTransactionMockRecorder) Close() *gomock.Call
- func (mr *MockStoreTransactionMockRecorder) Commit() *gomock.Call
- func (mr *MockStoreTransactionMockRecorder) Images() *gomock.Call
- func (mr *MockStoreTransactionMockRecorder) LayerPositions() *gomock.Call
- func (mr *MockStoreTransactionMockRecorder) Layers() *gomock.Call
- func (mr *MockStoreTransactionMockRecorder) Platforms() *gomock.Call
- func (mr *MockStoreTransactionMockRecorder) Rollback() *gomock.Call
- func (mr *MockStoreTransactionMockRecorder) Tags() *gomock.Call
- func (mr *MockStoreTransactionMockRecorder) Transaction() *gomock.Call
- type MockTagStore
- func (m *MockTagStore) Create(arg0 *store.Tag) error
- func (m *MockTagStore) EXPECT() *MockTagStoreMockRecorder
- func (m *MockTagStore) Get(o store.TagGetOptions) (*store.Tag, error)
- func (m *MockTagStore) List(o store.TagListOptions) ([]*store.Tag, error)
- func (m *MockTagStore) Update(arg0 *store.Tag) error
- type MockTagStoreMockRecorder
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 ¶
func (m *MockImageStore) EXPECT() *MockImageStoreMockRecorder
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 ¶
func (m *MockImageStore) Get(o store.ImageGetOptions) (*store.Image, error)
Get mocks base method
func (*MockImageStore) List ¶
func (m *MockImageStore) List(o store.ImageListOptions) ([]*store.Image, error)
List 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 ¶
func (m *MockLayerPositionStore) Create(arg0 *store.LayerPosition) error
Create mocks base method
func (*MockLayerPositionStore) EXPECT ¶
func (m *MockLayerPositionStore) EXPECT() *MockLayerPositionStoreMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockLayerPositionStore) List ¶
func (m *MockLayerPositionStore) List(o store.LayerPositionListOptions) ([]*store.LayerPosition, error)
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 ¶
func (m *MockLayerStore) EXPECT() *MockLayerStoreMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockLayerStore) Get ¶
func (m *MockLayerStore) Get(o store.LayerGetOptions) (*store.Layer, error)
Get mocks base method
func (*MockLayerStore) List ¶
func (m *MockLayerStore) List(o store.LayerListOptions) ([]*store.Layer, error)
List 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 ¶
func (m *MockPlatformStore) EXPECT() *MockPlatformStoreMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockPlatformStore) Get ¶
func (m *MockPlatformStore) Get(o store.PlatformGetOptions) (*store.Platform, error)
Get mocks base method
func (*MockPlatformStore) List ¶
func (m *MockPlatformStore) List(o store.PlatformListOptions) ([]*store.Platform, error)
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) EXPECT ¶
func (m *MockStore) EXPECT() *MockStoreMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockStore) LayerPositions ¶
func (m *MockStore) LayerPositions() store.LayerPositionStore
LayerPositions mocks base method
func (*MockStore) Platforms ¶
func (m *MockStore) Platforms() store.PlatformStore
Platforms 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 ¶
func (m *MockStoreTransaction) EXPECT() *MockStoreTransactionMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockStoreTransaction) Images ¶
func (m *MockStoreTransaction) Images() store.ImageStore
Images mocks base method
func (*MockStoreTransaction) LayerPositions ¶
func (m *MockStoreTransaction) LayerPositions() store.LayerPositionStore
LayerPositions mocks base method
func (*MockStoreTransaction) Layers ¶
func (m *MockStoreTransaction) Layers() store.LayerStore
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 ¶
func (m *MockStoreTransaction) Tags() store.TagStore
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 ¶
func (mr *MockStoreTransactionMockRecorder) Close() *gomock.Call
Close indicates an expected call of Close
func (*MockStoreTransactionMockRecorder) Commit ¶
func (mr *MockStoreTransactionMockRecorder) Commit() *gomock.Call
Commit indicates an expected call of Commit
func (*MockStoreTransactionMockRecorder) Images ¶
func (mr *MockStoreTransactionMockRecorder) Images() *gomock.Call
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 ¶
func (mr *MockStoreTransactionMockRecorder) Layers() *gomock.Call
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 ¶
func (mr *MockStoreTransactionMockRecorder) Rollback() *gomock.Call
Rollback indicates an expected call of Rollback
func (*MockStoreTransactionMockRecorder) Tags ¶
func (mr *MockStoreTransactionMockRecorder) Tags() *gomock.Call
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 ¶
func (m *MockTagStore) EXPECT() *MockTagStoreMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockTagStore) Get ¶
func (m *MockTagStore) Get(o store.TagGetOptions) (*store.Tag, error)
Get mocks base method
func (*MockTagStore) List ¶
func (m *MockTagStore) List(o store.TagListOptions) ([]*store.Tag, error)
List 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