automock

package
v0.0.0-...-fbcd7f5 Latest Latest
Warning

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

Go to latest
Published: Jul 27, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type API

type API struct {
	mock.Mock
}

API is an autogenerated mock type for the API type

func (*API) CreateBucket

func (_m *API) CreateBucket(ctx context.Context, name string, location string) error

CreateBucket provides a mock function with given fields: ctx, name, location

func (*API) DeleteBucket

func (_m *API) DeleteBucket(ctx context.Context, name string) error

DeleteBucket provides a mock function with given fields: ctx, name

func (*API) Read

func (_m *API) Read(ctx context.Context, bucket string, storageObject string) ([]byte, error)

Read provides a mock function with given fields: ctx, bucket, storageObject

func (*API) Write

func (_m *API) Write(ctx context.Context, data []byte, bucket string, storageObject string) error

Write provides a mock function with given fields: ctx, data, bucket, storageObject

Jump to

Keyboard shortcuts

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