mock

package
v9.4.47+incompatible Latest Latest
Warning

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

Go to latest
Published: Jan 5, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package mock is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockBucketDriver

type MockBucketDriver struct {
	// contains filtered or unexported fields
}

MockBucketDriver is a mock of BucketDriver interface

func NewMockBucketDriver

func NewMockBucketDriver(ctrl *gomock.Controller) *MockBucketDriver

NewMockBucketDriver creates a new mock instance

func (*MockBucketDriver) CreateBucket

func (m *MockBucketDriver) CreateBucket(arg0, arg1, arg2 string, arg3 api.AnonymousBucketAccessMode) (string, error)

CreateBucket mocks base method

func (*MockBucketDriver) DeleteBucket

func (m *MockBucketDriver) DeleteBucket(arg0, arg1, arg2 string, arg3 bool) error

DeleteBucket mocks base method

func (*MockBucketDriver) EXPECT

EXPECT returns an object that allows the caller to indicate expected use

func (*MockBucketDriver) GrantBucketAccess

func (m *MockBucketDriver) GrantBucketAccess(arg0, arg1, arg2 string) (string, *bucket.BucketAccessCredentials, error)

GrantBucketAccess mocks base method

func (*MockBucketDriver) RevokeBucketAccess

func (m *MockBucketDriver) RevokeBucketAccess(arg0, arg1 string) error

RevokeBucketAccess mocks base method

func (*MockBucketDriver) Start

func (m *MockBucketDriver) Start() error

Start mocks base method

func (*MockBucketDriver) String

func (m *MockBucketDriver) String() string

String mocks base method

type MockBucketDriverMockRecorder

type MockBucketDriverMockRecorder struct {
	// contains filtered or unexported fields
}

MockBucketDriverMockRecorder is the mock recorder for MockBucketDriver

func (*MockBucketDriverMockRecorder) CreateBucket

func (mr *MockBucketDriverMockRecorder) CreateBucket(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

CreateBucket indicates an expected call of CreateBucket

func (*MockBucketDriverMockRecorder) DeleteBucket

func (mr *MockBucketDriverMockRecorder) DeleteBucket(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

DeleteBucket indicates an expected call of DeleteBucket

func (*MockBucketDriverMockRecorder) GrantBucketAccess

func (mr *MockBucketDriverMockRecorder) GrantBucketAccess(arg0, arg1, arg2 interface{}) *gomock.Call

GrantBucketAccess indicates an expected call of GrantBucketAccess

func (*MockBucketDriverMockRecorder) RevokeBucketAccess

func (mr *MockBucketDriverMockRecorder) RevokeBucketAccess(arg0, arg1 interface{}) *gomock.Call

RevokeBucketAccess indicates an expected call of RevokeBucketAccess

func (*MockBucketDriverMockRecorder) Start

Start indicates an expected call of Start

func (*MockBucketDriverMockRecorder) String

String indicates an expected call of String

Jump to

Keyboard shortcuts

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