mockstorage

package
v5.1.5+incompatible Latest Latest
Warning

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

Go to latest
Published: Dec 14, 2022 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package mockstorage is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockExternalStorage

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

MockExternalStorage is a mock of ExternalStorage interface

func NewMockExternalStorage

func NewMockExternalStorage(ctrl *gomock.Controller) *MockExternalStorage

NewMockExternalStorage creates a new mock instance

func (*MockExternalStorage) Create

Create mocks base method

func (*MockExternalStorage) EXPECT

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

func (*MockExternalStorage) FileExists

func (m *MockExternalStorage) FileExists(arg0 context.Context, arg1 string) (bool, error)

FileExists mocks base method

func (*MockExternalStorage) Open

Open mocks base method

func (*MockExternalStorage) ReadFile

func (m *MockExternalStorage) ReadFile(arg0 context.Context, arg1 string) ([]byte, error)

ReadFile mocks base method

func (*MockExternalStorage) URI

func (m *MockExternalStorage) URI() string

URI mocks base method

func (*MockExternalStorage) WalkDir

func (m *MockExternalStorage) WalkDir(arg0 context.Context, arg1 *storage.WalkOption, arg2 func(string, int64) error) error

WalkDir mocks base method

func (*MockExternalStorage) WriteFile

func (m *MockExternalStorage) WriteFile(arg0 context.Context, arg1 string, arg2 []byte) error

WriteFile mocks base method

type MockExternalStorageMockRecorder

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

MockExternalStorageMockRecorder is the mock recorder for MockExternalStorage

func (*MockExternalStorageMockRecorder) Create

func (mr *MockExternalStorageMockRecorder) Create(arg0, arg1 interface{}) *gomock.Call

Create indicates an expected call of Create

func (*MockExternalStorageMockRecorder) FileExists

func (mr *MockExternalStorageMockRecorder) FileExists(arg0, arg1 interface{}) *gomock.Call

FileExists indicates an expected call of FileExists

func (*MockExternalStorageMockRecorder) Open

func (mr *MockExternalStorageMockRecorder) Open(arg0, arg1 interface{}) *gomock.Call

Open indicates an expected call of Open

func (*MockExternalStorageMockRecorder) ReadFile

func (mr *MockExternalStorageMockRecorder) ReadFile(arg0, arg1 interface{}) *gomock.Call

ReadFile indicates an expected call of ReadFile

func (*MockExternalStorageMockRecorder) URI

URI indicates an expected call of URI

func (*MockExternalStorageMockRecorder) WalkDir

func (mr *MockExternalStorageMockRecorder) WalkDir(arg0, arg1, arg2 interface{}) *gomock.Call

WalkDir indicates an expected call of WalkDir

func (*MockExternalStorageMockRecorder) WriteFile

func (mr *MockExternalStorageMockRecorder) WriteFile(arg0, arg1, arg2 interface{}) *gomock.Call

WriteFile indicates an expected call of WriteFile

Jump to

Keyboard shortcuts

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