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 ¶
- type MockClientInterface
- func (m *MockClientInterface) EXPECT() *MockClientInterfaceMockRecorder
- func (m *MockClientInterface) GetGoogleUserToken(arg0 string) (*oauth20.Token, error)
- func (m *MockClientInterface) NewDocsService(arg0 context.Context, arg1 string) (google.DocsInterface, error)
- func (m *MockClientInterface) NewDriveActivityService(arg0 context.Context, arg1 string) (google.DriveActivityInterface, error)
- func (m *MockClientInterface) NewDriveService(arg0 context.Context, arg1 string) (google.DriveInterface, error)
- func (m *MockClientInterface) NewDriveV2Service(arg0 context.Context, arg1 string) (google.DriveV2Interface, error)
- func (m *MockClientInterface) NewSheetsService(arg0 context.Context, arg1 string) (google.SheetsInterface, error)
- func (m *MockClientInterface) NewSlidesService(arg0 context.Context, arg1 string) (google.SlidesInterface, error)
- func (m *MockClientInterface) ReloadConfigs(arg0, arg1 int, arg2 oauth2.Config)
- type MockClientInterfaceMockRecorder
- func (mr *MockClientInterfaceMockRecorder) GetGoogleUserToken(arg0 interface{}) *gomock.Call
- func (mr *MockClientInterfaceMockRecorder) NewDocsService(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockClientInterfaceMockRecorder) NewDriveActivityService(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockClientInterfaceMockRecorder) NewDriveService(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockClientInterfaceMockRecorder) NewDriveV2Service(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockClientInterfaceMockRecorder) NewSheetsService(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockClientInterfaceMockRecorder) NewSlidesService(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockClientInterfaceMockRecorder) ReloadConfigs(arg0, arg1, arg2 interface{}) *gomock.Call
- type MockDocsInterface
- type MockDocsInterfaceMockRecorder
- type MockDriveActivityInterface
- type MockDriveActivityInterfaceMockRecorder
- type MockDriveInterface
- func (m *MockDriveInterface) About(arg0 context.Context, arg1 googleapi.Field) (*drive.About, error)
- func (m *MockDriveInterface) ChangesList(arg0 context.Context, arg1 string) (*drive.ChangeList, error)
- func (m *MockDriveInterface) CreateFile(arg0 context.Context, arg1 *drive.File, arg2 []byte) (*drive.File, error)
- func (m *MockDriveInterface) CreatePermission(arg0 context.Context, arg1 string, arg2 *drive.Permission) (*drive.Permission, error)
- func (m *MockDriveInterface) CreateReply(arg0 context.Context, arg1, arg2 string, arg3 *drive.Reply) (*drive.Reply, error)
- func (m *MockDriveInterface) EXPECT() *MockDriveInterfaceMockRecorder
- func (m *MockDriveInterface) GetComments(arg0 context.Context, arg1, arg2 string) (*drive.Comment, error)
- func (m *MockDriveInterface) GetFile(arg0 context.Context, arg1 string) (*drive.File, error)
- func (m *MockDriveInterface) GetStartPageToken(arg0 context.Context) (*drive.StartPageToken, error)
- func (m *MockDriveInterface) StopChannel(arg0 context.Context, arg1 *drive.Channel) error
- func (m *MockDriveInterface) WatchChannel(arg0 context.Context, arg1 *drive.StartPageToken, arg2 *drive.Channel) (*drive.Channel, error)
- type MockDriveInterfaceMockRecorder
- func (mr *MockDriveInterfaceMockRecorder) About(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockDriveInterfaceMockRecorder) ChangesList(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockDriveInterfaceMockRecorder) CreateFile(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockDriveInterfaceMockRecorder) CreatePermission(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockDriveInterfaceMockRecorder) CreateReply(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockDriveInterfaceMockRecorder) GetComments(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockDriveInterfaceMockRecorder) GetFile(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockDriveInterfaceMockRecorder) GetStartPageToken(arg0 interface{}) *gomock.Call
- func (mr *MockDriveInterfaceMockRecorder) StopChannel(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockDriveInterfaceMockRecorder) WatchChannel(arg0, arg1, arg2 interface{}) *gomock.Call
- type MockSheetsInterface
- type MockSheetsInterfaceMockRecorder
- type MockSlidesInterface
- type MockSlidesInterfaceMockRecorder
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 ¶
func (m *MockClientInterface) EXPECT() *MockClientInterfaceMockRecorder
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 ¶
func (m *MockDocsInterface) EXPECT() *MockDocsInterfaceMockRecorder
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 ¶
func (m *MockDriveActivityInterface) EXPECT() *MockDriveActivityInterfaceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockDriveActivityInterface) Query ¶
func (m *MockDriveActivityInterface) Query(arg0 context.Context, arg1 *driveactivity.QueryDriveActivityRequest) (*driveactivity.QueryDriveActivityResponse, error)
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 ¶
func (m *MockDriveInterface) EXPECT() *MockDriveInterfaceMockRecorder
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) GetStartPageToken ¶
func (m *MockDriveInterface) GetStartPageToken(arg0 context.Context) (*drive.StartPageToken, error)
GetStartPageToken mocks base method.
func (*MockDriveInterface) StopChannel ¶
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 ¶
func (m *MockSheetsInterface) Create(arg0 context.Context, arg1 *sheets.Spreadsheet) (*sheets.Spreadsheet, error)
Create mocks base method.
func (*MockSheetsInterface) EXPECT ¶
func (m *MockSheetsInterface) EXPECT() *MockSheetsInterfaceMockRecorder
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 ¶
func (m *MockSlidesInterface) Create(arg0 context.Context, arg1 *slides.Presentation) (*slides.Presentation, error)
Create mocks base method.
func (*MockSlidesInterface) EXPECT ¶
func (m *MockSlidesInterface) EXPECT() *MockSlidesInterfaceMockRecorder
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.