Documentation ¶
Overview ¶
Package mockblob is a generated GoMock package.
Package mockblob is a generated GoMock package.
Package mockblob is a generated GoMock package.
Index ¶
- type MockBucket
- func (m *MockBucket) As(arg0 interface{}) bool
- func (m *MockBucket) Attributes(arg0 context.Context, arg1 string) (*blob.Attributes, error)
- func (m *MockBucket) Bucket() *blob.Bucket
- func (m *MockBucket) Close() error
- func (m *MockBucket) Copy(arg0 context.Context, arg1, arg2 string, arg3 *blob.CopyOptions) error
- func (m *MockBucket) Delete(arg0 context.Context, arg1 string) error
- func (m *MockBucket) EXPECT() *MockBucketMockRecorder
- func (m *MockBucket) ErrorAs(arg0 error, arg1 interface{}) bool
- func (m *MockBucket) Exists(arg0 context.Context, arg1 string) (bool, error)
- func (m *MockBucket) IsAccessible(arg0 context.Context) (bool, error)
- func (m *MockBucket) List(arg0 *blob.ListOptions) *blob.ListIterator
- func (m *MockBucket) ListPage(arg0 context.Context, arg1 []byte, arg2 int, arg3 *blob.ListOptions) ([]*blob.ListObject, []byte, error)
- func (m *MockBucket) NewRangeReader(arg0 context.Context, arg1 string, arg2, arg3 int64, arg4 *blob.ReaderOptions) (xblob.Reader, error)
- func (m *MockBucket) NewReader(arg0 context.Context, arg1 string, arg2 *blob.ReaderOptions) (xblob.Reader, error)
- func (m *MockBucket) NewWriter(arg0 context.Context, arg1 string, arg2 *blob.WriterOptions) (xblob.Writer, error)
- func (m *MockBucket) ReadAll(arg0 context.Context, arg1 string) ([]byte, error)
- func (m *MockBucket) SignedURL(arg0 context.Context, arg1 string, arg2 *blob.SignedURLOptions) (string, error)
- func (m *MockBucket) WriteAll(arg0 context.Context, arg1 string, arg2 []byte, arg3 *blob.WriterOptions) error
- type MockBucketMockRecorder
- func (mr *MockBucketMockRecorder) As(arg0 interface{}) *gomock.Call
- func (mr *MockBucketMockRecorder) Attributes(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockBucketMockRecorder) Bucket() *gomock.Call
- func (mr *MockBucketMockRecorder) Close() *gomock.Call
- func (mr *MockBucketMockRecorder) Copy(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockBucketMockRecorder) Delete(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockBucketMockRecorder) ErrorAs(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockBucketMockRecorder) Exists(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockBucketMockRecorder) IsAccessible(arg0 interface{}) *gomock.Call
- func (mr *MockBucketMockRecorder) List(arg0 interface{}) *gomock.Call
- func (mr *MockBucketMockRecorder) ListPage(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockBucketMockRecorder) NewRangeReader(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
- func (mr *MockBucketMockRecorder) NewReader(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockBucketMockRecorder) NewWriter(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockBucketMockRecorder) ReadAll(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockBucketMockRecorder) SignedURL(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockBucketMockRecorder) WriteAll(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- type MockReader
- func (m *MockReader) Close() error
- func (m *MockReader) ContentType() string
- func (m *MockReader) EXPECT() *MockReaderMockRecorder
- func (m *MockReader) ModTime() time.Time
- func (m *MockReader) Read(arg0 []byte) (int, error)
- func (m *MockReader) Size() int64
- func (m *MockReader) WriteTo(arg0 io.Writer) (int64, error)
- type MockReaderMockRecorder
- func (mr *MockReaderMockRecorder) Close() *gomock.Call
- func (mr *MockReaderMockRecorder) ContentType() *gomock.Call
- func (mr *MockReaderMockRecorder) ModTime() *gomock.Call
- func (mr *MockReaderMockRecorder) Read(arg0 interface{}) *gomock.Call
- func (mr *MockReaderMockRecorder) Size() *gomock.Call
- func (mr *MockReaderMockRecorder) WriteTo(arg0 interface{}) *gomock.Call
- type MockWriter
- type MockWriterMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockBucket ¶
type MockBucket struct {
// contains filtered or unexported fields
}
MockBucket is a mock of Bucket interface.
func NewMockBucket ¶
func NewMockBucket(ctrl *gomock.Controller) *MockBucket
NewMockBucket creates a new mock instance.
func (*MockBucket) Attributes ¶
func (m *MockBucket) Attributes(arg0 context.Context, arg1 string) (*blob.Attributes, error)
Attributes mocks base method.
func (*MockBucket) Copy ¶
func (m *MockBucket) Copy(arg0 context.Context, arg1, arg2 string, arg3 *blob.CopyOptions) error
Copy mocks base method.
func (*MockBucket) Delete ¶
func (m *MockBucket) Delete(arg0 context.Context, arg1 string) error
Delete mocks base method.
func (*MockBucket) EXPECT ¶
func (m *MockBucket) EXPECT() *MockBucketMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockBucket) ErrorAs ¶
func (m *MockBucket) ErrorAs(arg0 error, arg1 interface{}) bool
ErrorAs mocks base method.
func (*MockBucket) IsAccessible ¶
func (m *MockBucket) IsAccessible(arg0 context.Context) (bool, error)
IsAccessible mocks base method.
func (*MockBucket) List ¶
func (m *MockBucket) List(arg0 *blob.ListOptions) *blob.ListIterator
List mocks base method.
func (*MockBucket) ListPage ¶
func (m *MockBucket) ListPage(arg0 context.Context, arg1 []byte, arg2 int, arg3 *blob.ListOptions) ([]*blob.ListObject, []byte, error)
ListPage mocks base method.
func (*MockBucket) NewRangeReader ¶
func (m *MockBucket) NewRangeReader(arg0 context.Context, arg1 string, arg2, arg3 int64, arg4 *blob.ReaderOptions) (xblob.Reader, error)
NewRangeReader mocks base method.
func (*MockBucket) NewReader ¶
func (m *MockBucket) NewReader(arg0 context.Context, arg1 string, arg2 *blob.ReaderOptions) (xblob.Reader, error)
NewReader mocks base method.
func (*MockBucket) NewWriter ¶
func (m *MockBucket) NewWriter(arg0 context.Context, arg1 string, arg2 *blob.WriterOptions) (xblob.Writer, error)
NewWriter mocks base method.
func (*MockBucket) SignedURL ¶
func (m *MockBucket) SignedURL(arg0 context.Context, arg1 string, arg2 *blob.SignedURLOptions) (string, error)
SignedURL mocks base method.
func (*MockBucket) WriteAll ¶
func (m *MockBucket) WriteAll(arg0 context.Context, arg1 string, arg2 []byte, arg3 *blob.WriterOptions) error
WriteAll mocks base method.
type MockBucketMockRecorder ¶
type MockBucketMockRecorder struct {
// contains filtered or unexported fields
}
MockBucketMockRecorder is the mock recorder for MockBucket.
func (*MockBucketMockRecorder) As ¶
func (mr *MockBucketMockRecorder) As(arg0 interface{}) *gomock.Call
As indicates an expected call of As.
func (*MockBucketMockRecorder) Attributes ¶
func (mr *MockBucketMockRecorder) Attributes(arg0, arg1 interface{}) *gomock.Call
Attributes indicates an expected call of Attributes.
func (*MockBucketMockRecorder) Bucket ¶
func (mr *MockBucketMockRecorder) Bucket() *gomock.Call
Bucket indicates an expected call of Bucket.
func (*MockBucketMockRecorder) Close ¶
func (mr *MockBucketMockRecorder) Close() *gomock.Call
Close indicates an expected call of Close.
func (*MockBucketMockRecorder) Copy ¶
func (mr *MockBucketMockRecorder) Copy(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
Copy indicates an expected call of Copy.
func (*MockBucketMockRecorder) Delete ¶
func (mr *MockBucketMockRecorder) Delete(arg0, arg1 interface{}) *gomock.Call
Delete indicates an expected call of Delete.
func (*MockBucketMockRecorder) ErrorAs ¶
func (mr *MockBucketMockRecorder) ErrorAs(arg0, arg1 interface{}) *gomock.Call
ErrorAs indicates an expected call of ErrorAs.
func (*MockBucketMockRecorder) Exists ¶
func (mr *MockBucketMockRecorder) Exists(arg0, arg1 interface{}) *gomock.Call
Exists indicates an expected call of Exists.
func (*MockBucketMockRecorder) IsAccessible ¶
func (mr *MockBucketMockRecorder) IsAccessible(arg0 interface{}) *gomock.Call
IsAccessible indicates an expected call of IsAccessible.
func (*MockBucketMockRecorder) List ¶
func (mr *MockBucketMockRecorder) List(arg0 interface{}) *gomock.Call
List indicates an expected call of List.
func (*MockBucketMockRecorder) ListPage ¶
func (mr *MockBucketMockRecorder) ListPage(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
ListPage indicates an expected call of ListPage.
func (*MockBucketMockRecorder) NewRangeReader ¶
func (mr *MockBucketMockRecorder) NewRangeReader(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
NewRangeReader indicates an expected call of NewRangeReader.
func (*MockBucketMockRecorder) NewReader ¶
func (mr *MockBucketMockRecorder) NewReader(arg0, arg1, arg2 interface{}) *gomock.Call
NewReader indicates an expected call of NewReader.
func (*MockBucketMockRecorder) NewWriter ¶
func (mr *MockBucketMockRecorder) NewWriter(arg0, arg1, arg2 interface{}) *gomock.Call
NewWriter indicates an expected call of NewWriter.
func (*MockBucketMockRecorder) ReadAll ¶
func (mr *MockBucketMockRecorder) ReadAll(arg0, arg1 interface{}) *gomock.Call
ReadAll indicates an expected call of ReadAll.
func (*MockBucketMockRecorder) SignedURL ¶
func (mr *MockBucketMockRecorder) SignedURL(arg0, arg1, arg2 interface{}) *gomock.Call
SignedURL indicates an expected call of SignedURL.
func (*MockBucketMockRecorder) WriteAll ¶
func (mr *MockBucketMockRecorder) WriteAll(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
WriteAll indicates an expected call of WriteAll.
type MockReader ¶
type MockReader struct {
// contains filtered or unexported fields
}
MockReader is a mock of Reader interface.
func NewMockReader ¶
func NewMockReader(ctrl *gomock.Controller) *MockReader
NewMockReader creates a new mock instance.
func (*MockReader) ContentType ¶
func (m *MockReader) ContentType() string
ContentType mocks base method.
func (*MockReader) EXPECT ¶
func (m *MockReader) EXPECT() *MockReaderMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockReaderMockRecorder ¶
type MockReaderMockRecorder struct {
// contains filtered or unexported fields
}
MockReaderMockRecorder is the mock recorder for MockReader.
func (*MockReaderMockRecorder) Close ¶
func (mr *MockReaderMockRecorder) Close() *gomock.Call
Close indicates an expected call of Close.
func (*MockReaderMockRecorder) ContentType ¶
func (mr *MockReaderMockRecorder) ContentType() *gomock.Call
ContentType indicates an expected call of ContentType.
func (*MockReaderMockRecorder) ModTime ¶
func (mr *MockReaderMockRecorder) ModTime() *gomock.Call
ModTime indicates an expected call of ModTime.
func (*MockReaderMockRecorder) Read ¶
func (mr *MockReaderMockRecorder) Read(arg0 interface{}) *gomock.Call
Read indicates an expected call of Read.
func (*MockReaderMockRecorder) Size ¶
func (mr *MockReaderMockRecorder) Size() *gomock.Call
Size indicates an expected call of Size.
func (*MockReaderMockRecorder) WriteTo ¶
func (mr *MockReaderMockRecorder) WriteTo(arg0 interface{}) *gomock.Call
WriteTo indicates an expected call of WriteTo.
type MockWriter ¶
type MockWriter struct {
// contains filtered or unexported fields
}
MockWriter is a mock of Writer interface.
func NewMockWriter ¶
func NewMockWriter(ctrl *gomock.Controller) *MockWriter
NewMockWriter creates a new mock instance.
func (*MockWriter) EXPECT ¶
func (m *MockWriter) EXPECT() *MockWriterMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockWriterMockRecorder ¶
type MockWriterMockRecorder struct {
// contains filtered or unexported fields
}
MockWriterMockRecorder is the mock recorder for MockWriter.
func (*MockWriterMockRecorder) Close ¶
func (mr *MockWriterMockRecorder) Close() *gomock.Call
Close indicates an expected call of Close.
func (*MockWriterMockRecorder) ReadFrom ¶
func (mr *MockWriterMockRecorder) ReadFrom(arg0 interface{}) *gomock.Call
ReadFrom indicates an expected call of ReadFrom.
func (*MockWriterMockRecorder) Write ¶
func (mr *MockWriterMockRecorder) Write(arg0 interface{}) *gomock.Call
Write indicates an expected call of Write.