Documentation ¶
Overview ¶
Package mock_cache is a generated GoMock package.
Index ¶
- type MockCache
- func (m *MockCache) Add(arg0 context.Context, arg1 string) (go_digest.Digest, error)
- func (m *MockCache) EXPECT() *MockCacheMockRecorder
- func (m *MockCache) Get(arg0 context.Context, arg1 go_digest.Digest) (io.ReadCloser, error)
- func (m *MockCache) ServeHTTP(arg0 http.ResponseWriter, arg1 *http.Request)
- type MockCacheMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockCache ¶
type MockCache struct {
// contains filtered or unexported fields
}
MockCache is a mock of Cache interface
func NewMockCache ¶
func NewMockCache(ctrl *gomock.Controller) *MockCache
NewMockCache creates a new mock instance
func (*MockCache) EXPECT ¶
func (m *MockCache) EXPECT() *MockCacheMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
type MockCacheMockRecorder ¶
type MockCacheMockRecorder struct {
// contains filtered or unexported fields
}
MockCacheMockRecorder is the mock recorder for MockCache
func (*MockCacheMockRecorder) Add ¶
func (mr *MockCacheMockRecorder) Add(arg0, arg1 interface{}) *gomock.Call
Add indicates an expected call of Add
func (*MockCacheMockRecorder) Get ¶
func (mr *MockCacheMockRecorder) Get(arg0, arg1 interface{}) *gomock.Call
Get indicates an expected call of Get
func (*MockCacheMockRecorder) ServeHTTP ¶
func (mr *MockCacheMockRecorder) ServeHTTP(arg0, arg1 interface{}) *gomock.Call
ServeHTTP indicates an expected call of ServeHTTP
Click to show internal directories.
Click to hide internal directories.