mocks

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Dec 12, 2024 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Overview

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockClientInterface

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

MockClientInterface is a mock of ClientInterface interface.

func NewMockClientInterface

func NewMockClientInterface(ctrl *gomock.Controller) *MockClientInterface

NewMockClientInterface creates a new mock instance.

func (*MockClientInterface) EXPECT

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

func (*MockClientInterface) GetGoogleUserToken

func (m *MockClientInterface) GetGoogleUserToken(arg0 string) (*oauth20.Token, error)

GetGoogleUserToken mocks base method.

func (*MockClientInterface) NewDocsService

func (m *MockClientInterface) NewDocsService(arg0 context.Context, arg1 string) (google.DocsInterface, error)

NewDocsService mocks base method.

func (*MockClientInterface) NewDriveActivityService

func (m *MockClientInterface) NewDriveActivityService(arg0 context.Context, arg1 string) (google.DriveActivityInterface, error)

NewDriveActivityService mocks base method.

func (*MockClientInterface) NewDriveService

func (m *MockClientInterface) NewDriveService(arg0 context.Context, arg1 string) (google.DriveInterface, error)

NewDriveService mocks base method.

func (*MockClientInterface) NewDriveV2Service

func (m *MockClientInterface) NewDriveV2Service(arg0 context.Context, arg1 string) (google.DriveV2Interface, error)

NewDriveV2Service mocks base method.

func (*MockClientInterface) NewSheetsService

func (m *MockClientInterface) NewSheetsService(arg0 context.Context, arg1 string) (google.SheetsInterface, error)

NewSheetsService mocks base method.

func (*MockClientInterface) NewSlidesService

func (m *MockClientInterface) NewSlidesService(arg0 context.Context, arg1 string) (google.SlidesInterface, error)

NewSlidesService mocks base method.

func (*MockClientInterface) ReloadConfigs

func (m *MockClientInterface) ReloadConfigs(arg0, arg1 int, arg2 oauth2.Config)

ReloadConfigs mocks base method.

type MockClientInterfaceMockRecorder

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

MockClientInterfaceMockRecorder is the mock recorder for MockClientInterface.

func (*MockClientInterfaceMockRecorder) GetGoogleUserToken

func (mr *MockClientInterfaceMockRecorder) GetGoogleUserToken(arg0 interface{}) *gomock.Call

GetGoogleUserToken indicates an expected call of GetGoogleUserToken.

func (*MockClientInterfaceMockRecorder) NewDocsService

func (mr *MockClientInterfaceMockRecorder) NewDocsService(arg0, arg1 interface{}) *gomock.Call

NewDocsService indicates an expected call of NewDocsService.

func (*MockClientInterfaceMockRecorder) NewDriveActivityService

func (mr *MockClientInterfaceMockRecorder) NewDriveActivityService(arg0, arg1 interface{}) *gomock.Call

NewDriveActivityService indicates an expected call of NewDriveActivityService.

func (*MockClientInterfaceMockRecorder) NewDriveService

func (mr *MockClientInterfaceMockRecorder) NewDriveService(arg0, arg1 interface{}) *gomock.Call

NewDriveService indicates an expected call of NewDriveService.

func (*MockClientInterfaceMockRecorder) NewDriveV2Service

func (mr *MockClientInterfaceMockRecorder) NewDriveV2Service(arg0, arg1 interface{}) *gomock.Call

NewDriveV2Service indicates an expected call of NewDriveV2Service.

func (*MockClientInterfaceMockRecorder) NewSheetsService

func (mr *MockClientInterfaceMockRecorder) NewSheetsService(arg0, arg1 interface{}) *gomock.Call

NewSheetsService indicates an expected call of NewSheetsService.

func (*MockClientInterfaceMockRecorder) NewSlidesService

func (mr *MockClientInterfaceMockRecorder) NewSlidesService(arg0, arg1 interface{}) *gomock.Call

NewSlidesService indicates an expected call of NewSlidesService.

func (*MockClientInterfaceMockRecorder) ReloadConfigs

func (mr *MockClientInterfaceMockRecorder) ReloadConfigs(arg0, arg1, arg2 interface{}) *gomock.Call

ReloadConfigs indicates an expected call of ReloadConfigs.

type MockDocsInterface

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

MockDocsInterface is a mock of DocsInterface interface.

func NewMockDocsInterface

func NewMockDocsInterface(ctrl *gomock.Controller) *MockDocsInterface

NewMockDocsInterface creates a new mock instance.

func (*MockDocsInterface) Create

func (m *MockDocsInterface) Create(arg0 context.Context, arg1 *docs.Document) (*docs.Document, error)

Create mocks base method.

func (*MockDocsInterface) EXPECT

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

type MockDocsInterfaceMockRecorder

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

MockDocsInterfaceMockRecorder is the mock recorder for MockDocsInterface.

func (*MockDocsInterfaceMockRecorder) Create

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

Create indicates an expected call of Create.

type MockDriveActivityInterface

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

MockDriveActivityInterface is a mock of DriveActivityInterface interface.

func NewMockDriveActivityInterface

func NewMockDriveActivityInterface(ctrl *gomock.Controller) *MockDriveActivityInterface

NewMockDriveActivityInterface creates a new mock instance.

func (*MockDriveActivityInterface) EXPECT

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

func (*MockDriveActivityInterface) Query

Query mocks base method.

type MockDriveActivityInterfaceMockRecorder

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

MockDriveActivityInterfaceMockRecorder is the mock recorder for MockDriveActivityInterface.

func (*MockDriveActivityInterfaceMockRecorder) Query

func (mr *MockDriveActivityInterfaceMockRecorder) Query(arg0, arg1 interface{}) *gomock.Call

Query indicates an expected call of Query.

type MockDriveInterface

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

MockDriveInterface is a mock of DriveInterface interface.

func NewMockDriveInterface

func NewMockDriveInterface(ctrl *gomock.Controller) *MockDriveInterface

NewMockDriveInterface creates a new mock instance.

func (*MockDriveInterface) About

func (m *MockDriveInterface) About(arg0 context.Context, arg1 googleapi.Field) (*drive.About, error)

About mocks base method.

func (*MockDriveInterface) ChangesList

func (m *MockDriveInterface) ChangesList(arg0 context.Context, arg1 string) (*drive.ChangeList, error)

ChangesList mocks base method.

func (*MockDriveInterface) CreateFile

func (m *MockDriveInterface) CreateFile(arg0 context.Context, arg1 *drive.File, arg2 []byte) (*drive.File, error)

CreateFile mocks base method.

func (*MockDriveInterface) CreatePermission

func (m *MockDriveInterface) CreatePermission(arg0 context.Context, arg1 string, arg2 *drive.Permission) (*drive.Permission, error)

CreatePermission mocks base method.

func (*MockDriveInterface) CreateReply

func (m *MockDriveInterface) CreateReply(arg0 context.Context, arg1, arg2 string, arg3 *drive.Reply) (*drive.Reply, error)

CreateReply mocks base method.

func (*MockDriveInterface) EXPECT

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

func (*MockDriveInterface) GetComments

func (m *MockDriveInterface) GetComments(arg0 context.Context, arg1, arg2 string) (*drive.Comment, error)

GetComments mocks base method.

func (*MockDriveInterface) GetFile

func (m *MockDriveInterface) GetFile(arg0 context.Context, arg1 string) (*drive.File, error)

GetFile mocks base method.

func (*MockDriveInterface) GetStartPageToken

func (m *MockDriveInterface) GetStartPageToken(arg0 context.Context) (*drive.StartPageToken, error)

GetStartPageToken mocks base method.

func (*MockDriveInterface) StopChannel

func (m *MockDriveInterface) StopChannel(arg0 context.Context, arg1 *drive.Channel) error

StopChannel mocks base method.

func (*MockDriveInterface) WatchChannel

func (m *MockDriveInterface) WatchChannel(arg0 context.Context, arg1 *drive.StartPageToken, arg2 *drive.Channel) (*drive.Channel, error)

WatchChannel mocks base method.

type MockDriveInterfaceMockRecorder

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

MockDriveInterfaceMockRecorder is the mock recorder for MockDriveInterface.

func (*MockDriveInterfaceMockRecorder) About

func (mr *MockDriveInterfaceMockRecorder) About(arg0, arg1 interface{}) *gomock.Call

About indicates an expected call of About.

func (*MockDriveInterfaceMockRecorder) ChangesList

func (mr *MockDriveInterfaceMockRecorder) ChangesList(arg0, arg1 interface{}) *gomock.Call

ChangesList indicates an expected call of ChangesList.

func (*MockDriveInterfaceMockRecorder) CreateFile

func (mr *MockDriveInterfaceMockRecorder) CreateFile(arg0, arg1, arg2 interface{}) *gomock.Call

CreateFile indicates an expected call of CreateFile.

func (*MockDriveInterfaceMockRecorder) CreatePermission

func (mr *MockDriveInterfaceMockRecorder) CreatePermission(arg0, arg1, arg2 interface{}) *gomock.Call

CreatePermission indicates an expected call of CreatePermission.

func (*MockDriveInterfaceMockRecorder) CreateReply

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

CreateReply indicates an expected call of CreateReply.

func (*MockDriveInterfaceMockRecorder) GetComments

func (mr *MockDriveInterfaceMockRecorder) GetComments(arg0, arg1, arg2 interface{}) *gomock.Call

GetComments indicates an expected call of GetComments.

func (*MockDriveInterfaceMockRecorder) GetFile

func (mr *MockDriveInterfaceMockRecorder) GetFile(arg0, arg1 interface{}) *gomock.Call

GetFile indicates an expected call of GetFile.

func (*MockDriveInterfaceMockRecorder) GetStartPageToken

func (mr *MockDriveInterfaceMockRecorder) GetStartPageToken(arg0 interface{}) *gomock.Call

GetStartPageToken indicates an expected call of GetStartPageToken.

func (*MockDriveInterfaceMockRecorder) StopChannel

func (mr *MockDriveInterfaceMockRecorder) StopChannel(arg0, arg1 interface{}) *gomock.Call

StopChannel indicates an expected call of StopChannel.

func (*MockDriveInterfaceMockRecorder) WatchChannel

func (mr *MockDriveInterfaceMockRecorder) WatchChannel(arg0, arg1, arg2 interface{}) *gomock.Call

WatchChannel indicates an expected call of WatchChannel.

type MockSheetsInterface

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

MockSheetsInterface is a mock of SheetsInterface interface.

func NewMockSheetsInterface

func NewMockSheetsInterface(ctrl *gomock.Controller) *MockSheetsInterface

NewMockSheetsInterface creates a new mock instance.

func (*MockSheetsInterface) Create

Create mocks base method.

func (*MockSheetsInterface) EXPECT

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

type MockSheetsInterfaceMockRecorder

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

MockSheetsInterfaceMockRecorder is the mock recorder for MockSheetsInterface.

func (*MockSheetsInterfaceMockRecorder) Create

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

Create indicates an expected call of Create.

type MockSlidesInterface

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

MockSlidesInterface is a mock of SlidesInterface interface.

func NewMockSlidesInterface

func NewMockSlidesInterface(ctrl *gomock.Controller) *MockSlidesInterface

NewMockSlidesInterface creates a new mock instance.

func (*MockSlidesInterface) Create

Create mocks base method.

func (*MockSlidesInterface) EXPECT

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

type MockSlidesInterfaceMockRecorder

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

MockSlidesInterfaceMockRecorder is the mock recorder for MockSlidesInterface.

func (*MockSlidesInterfaceMockRecorder) Create

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

Create indicates an expected call of Create.

Jump to

Keyboard shortcuts

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