Documentation ¶
Overview ¶
Package mockv1 is a generated GoMock package.
Index ¶
- type MockLayer
- func (m *MockLayer) Compressed() (io.ReadCloser, error)
- func (m *MockLayer) DiffID() (v1.Hash, error)
- func (m *MockLayer) Digest() (v1.Hash, error)
- func (m *MockLayer) EXPECT() *MockLayerMockRecorder
- func (m *MockLayer) MediaType() (types.MediaType, error)
- func (m *MockLayer) Size() (int64, error)
- func (m *MockLayer) Uncompressed() (io.ReadCloser, error)
- type MockLayerMockRecorder
- func (mr *MockLayerMockRecorder) Compressed() *gomock.Call
- func (mr *MockLayerMockRecorder) DiffID() *gomock.Call
- func (mr *MockLayerMockRecorder) Digest() *gomock.Call
- func (mr *MockLayerMockRecorder) MediaType() *gomock.Call
- func (mr *MockLayerMockRecorder) Size() *gomock.Call
- func (mr *MockLayerMockRecorder) Uncompressed() *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockLayer ¶
type MockLayer struct {
// contains filtered or unexported fields
}
MockLayer is a mock of Layer interface
func NewMockLayer ¶
func NewMockLayer(ctrl *gomock.Controller) *MockLayer
NewMockLayer creates a new mock instance
func (*MockLayer) Compressed ¶
func (m *MockLayer) Compressed() (io.ReadCloser, error)
Compressed mocks base method
func (*MockLayer) EXPECT ¶
func (m *MockLayer) EXPECT() *MockLayerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockLayer) Uncompressed ¶
func (m *MockLayer) Uncompressed() (io.ReadCloser, error)
Uncompressed mocks base method
type MockLayerMockRecorder ¶
type MockLayerMockRecorder struct {
// contains filtered or unexported fields
}
MockLayerMockRecorder is the mock recorder for MockLayer
func (*MockLayerMockRecorder) Compressed ¶
func (mr *MockLayerMockRecorder) Compressed() *gomock.Call
Compressed indicates an expected call of Compressed
func (*MockLayerMockRecorder) DiffID ¶
func (mr *MockLayerMockRecorder) DiffID() *gomock.Call
DiffID indicates an expected call of DiffID
func (*MockLayerMockRecorder) Digest ¶
func (mr *MockLayerMockRecorder) Digest() *gomock.Call
Digest indicates an expected call of Digest
func (*MockLayerMockRecorder) MediaType ¶
func (mr *MockLayerMockRecorder) MediaType() *gomock.Call
MediaType indicates an expected call of MediaType
func (*MockLayerMockRecorder) Size ¶
func (mr *MockLayerMockRecorder) Size() *gomock.Call
Size indicates an expected call of Size
func (*MockLayerMockRecorder) Uncompressed ¶
func (mr *MockLayerMockRecorder) Uncompressed() *gomock.Call
Uncompressed indicates an expected call of Uncompressed
Click to show internal directories.
Click to hide internal directories.