Documentation ¶
Index ¶
- type Blobstore
- type Blobstore_Delete_Call
- type Blobstore_Download_Call
- func (_c *Blobstore_Download_Call) Return(_a0 io.ReadCloser, _a1 error) *Blobstore_Download_Call
- func (_c *Blobstore_Download_Call) Run(run func(_a0 *node.Node)) *Blobstore_Download_Call
- func (_c *Blobstore_Download_Call) RunAndReturn(run func(*node.Node) (io.ReadCloser, error)) *Blobstore_Download_Call
- type Blobstore_Expecter
- type Blobstore_Upload_Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Blobstore ¶
Blobstore is an autogenerated mock type for the Blobstore type
func NewBlobstore ¶ added in v2.3.0
NewBlobstore creates a new instance of Blobstore. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*Blobstore) EXPECT ¶ added in v2.19.6
func (_m *Blobstore) EXPECT() *Blobstore_Expecter
type Blobstore_Delete_Call ¶ added in v2.19.6
Blobstore_Delete_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Delete'
func (*Blobstore_Delete_Call) Return ¶ added in v2.19.6
func (_c *Blobstore_Delete_Call) Return(_a0 error) *Blobstore_Delete_Call
func (*Blobstore_Delete_Call) Run ¶ added in v2.19.6
func (_c *Blobstore_Delete_Call) Run(run func(_a0 *node.Node)) *Blobstore_Delete_Call
func (*Blobstore_Delete_Call) RunAndReturn ¶ added in v2.19.6
func (_c *Blobstore_Delete_Call) RunAndReturn(run func(*node.Node) error) *Blobstore_Delete_Call
type Blobstore_Download_Call ¶ added in v2.19.6
Blobstore_Download_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Download'
func (*Blobstore_Download_Call) Return ¶ added in v2.19.6
func (_c *Blobstore_Download_Call) Return(_a0 io.ReadCloser, _a1 error) *Blobstore_Download_Call
func (*Blobstore_Download_Call) Run ¶ added in v2.19.6
func (_c *Blobstore_Download_Call) Run(run func(_a0 *node.Node)) *Blobstore_Download_Call
func (*Blobstore_Download_Call) RunAndReturn ¶ added in v2.19.6
func (_c *Blobstore_Download_Call) RunAndReturn(run func(*node.Node) (io.ReadCloser, error)) *Blobstore_Download_Call
type Blobstore_Expecter ¶ added in v2.19.6
type Blobstore_Expecter struct {
// contains filtered or unexported fields
}
func (*Blobstore_Expecter) Delete ¶ added in v2.19.6
func (_e *Blobstore_Expecter) Delete(_a0 interface{}) *Blobstore_Delete_Call
Delete is a helper method to define mock.On call
- _a0 *node.Node
func (*Blobstore_Expecter) Download ¶ added in v2.19.6
func (_e *Blobstore_Expecter) Download(_a0 interface{}) *Blobstore_Download_Call
Download is a helper method to define mock.On call
- _a0 *node.Node
func (*Blobstore_Expecter) Upload ¶ added in v2.19.6
func (_e *Blobstore_Expecter) Upload(_a0 interface{}, source interface{}) *Blobstore_Upload_Call
Upload is a helper method to define mock.On call
- _a0 *node.Node
- source string
type Blobstore_Upload_Call ¶ added in v2.19.6
Blobstore_Upload_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Upload'
func (*Blobstore_Upload_Call) Return ¶ added in v2.19.6
func (_c *Blobstore_Upload_Call) Return(_a0 error) *Blobstore_Upload_Call
func (*Blobstore_Upload_Call) Run ¶ added in v2.19.6
func (_c *Blobstore_Upload_Call) Run(run func(_a0 *node.Node, source string)) *Blobstore_Upload_Call
func (*Blobstore_Upload_Call) RunAndReturn ¶ added in v2.19.6
func (_c *Blobstore_Upload_Call) RunAndReturn(run func(*node.Node, string) error) *Blobstore_Upload_Call