automock

package
v0.0.0-...-a4b4531 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 18, 2021 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BucketAttrs

type BucketAttrs struct {
	mock.Mock
}

BucketAttrs is an autogenerated mock type for the BucketAttrs type

func (*BucketAttrs) Name

func (_m *BucketAttrs) Name() string

name provides a mock function with given fields:

type BucketHandle

type BucketHandle struct {
	mock.Mock
}

BucketHandle is an autogenerated mock type for the BucketHandle type

func (*BucketHandle) Delete

func (_m *BucketHandle) Delete(ctx context.Context) error

Delete provides a mock function with given fields: ctx

func (*BucketHandle) Object

func (_m *BucketHandle) Object(name string) storage.ObjectHandle

Object provides a mock function with given fields: name

func (*BucketHandle) Objects

Objects provides a mock function with given fields: ctx, q

type BucketIterator

type BucketIterator struct {
	mock.Mock
}

BucketIterator is an autogenerated mock type for the BucketIterator type

func (*BucketIterator) Next

func (_m *BucketIterator) Next() (storage.BucketAttrs, error)

Next provides a mock function with given fields:

type BucketObject

type BucketObject struct {
	mock.Mock
}

BucketObject is an autogenerated mock type for the BucketObject type

func (*BucketObject) Bucket

func (_m *BucketObject) Bucket() string

Bucket provides a mock function with given fields:

func (*BucketObject) Name

func (_m *BucketObject) Name() string

name provides a mock function with given fields:

type Client

type Client struct {
	mock.Mock
}

Client is an autogenerated mock type for the Client type

func (*Client) Bucket

func (_m *Client) Bucket(bucketName string) storage.BucketHandle

Bucket provides a mock function with given fields: bucketName

func (*Client) Buckets

func (_m *Client) Buckets(ctx context.Context, projectID string) storage.BucketIterator

Buckets provides a mock function with given fields: ctx, projectID

func (*Client) Close

func (_m *Client) Close() error

Close provides a mock function with given fields:

type ObjectAttrs

type ObjectAttrs struct {
	mock.Mock
}

ObjectAttrs is an autogenerated mock type for the ObjectAttrs type

func (*ObjectAttrs) Bucket

func (_m *ObjectAttrs) Bucket() string

Bucket provides a mock function with given fields:

func (*ObjectAttrs) Name

func (_m *ObjectAttrs) Name() string

name provides a mock function with given fields:

type ObjectHandle

type ObjectHandle struct {
	mock.Mock
}

ObjectHandle is an autogenerated mock type for the ObjectHandle type

func (*ObjectHandle) Delete

func (_m *ObjectHandle) Delete(ctx context.Context) error

Delete provides a mock function with given fields: ctx

type ObjectIterator

type ObjectIterator struct {
	mock.Mock
}

ObjectIterator is an autogenerated mock type for the ObjectIterator type

func (*ObjectIterator) Next

func (_m *ObjectIterator) Next() (storage.ObjectAttrs, error)

Next provides a mock function with given fields:

type Query

type Query struct {
	mock.Mock
}

Query is an autogenerated mock type for the Query type

func (*Query) Delimiter

func (_m *Query) Delimiter() string

Delimiter provides a mock function with given fields:

func (*Query) Prefix

func (_m *Query) Prefix() string

Prefix provides a mock function with given fields:

func (*Query) Versions

func (_m *Query) Versions() bool

Versions provides a mock function with given fields:

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL