mock_remote

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jun 16, 2020 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Overview

Package mock_remote is a generated GoMock package.

Package mock_remote is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockClient

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

MockClient is a mock of Client interface

func NewMockClient

func NewMockClient(ctrl *gomock.Controller) *MockClient

NewMockClient creates a new mock instance

func (*MockClient) AcceptEvent

func (m *MockClient) AcceptEvent(arg0, arg1 string) error

AcceptEvent mocks base method

func (*MockClient) CallFormPost

func (m *MockClient) CallFormPost(arg0, arg1 string, arg2 url.Values, arg3 interface{}) ([]byte, error)

CallFormPost mocks base method

func (*MockClient) CallJSON

func (m *MockClient) CallJSON(arg0, arg1 string, arg2, arg3 interface{}) ([]byte, error)

CallJSON mocks base method

func (*MockClient) CreateCalendar

func (m *MockClient) CreateCalendar(arg0 string, arg1 *remote.Calendar) (*remote.Calendar, error)

CreateCalendar mocks base method

func (*MockClient) CreateEvent

func (m *MockClient) CreateEvent(arg0 string, arg1 *remote.Event) (*remote.Event, error)

CreateEvent mocks base method

func (*MockClient) CreateMySubscription

func (m *MockClient) CreateMySubscription(arg0 string) (*remote.Subscription, error)

CreateMySubscription mocks base method

func (*MockClient) DeclineEvent

func (m *MockClient) DeclineEvent(arg0, arg1 string) error

DeclineEvent mocks base method

func (*MockClient) DeleteCalendar

func (m *MockClient) DeleteCalendar(arg0, arg1 string) error

DeleteCalendar mocks base method

func (*MockClient) DeleteSubscription

func (m *MockClient) DeleteSubscription(arg0 string) error

DeleteSubscription mocks base method

func (*MockClient) DoBatchViewCalendarRequests

func (m *MockClient) DoBatchViewCalendarRequests(arg0 []*remote.ViewCalendarParams) ([]*remote.ViewCalendarResponse, error)

DoBatchViewCalendarRequests mocks base method

func (*MockClient) EXPECT

func (m *MockClient) EXPECT() *MockClientMockRecorder

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

func (*MockClient) FindMeetingTimes

FindMeetingTimes mocks base method

func (*MockClient) GetCalendars

func (m *MockClient) GetCalendars(arg0 string) ([]*remote.Calendar, error)

GetCalendars mocks base method

func (*MockClient) GetDefaultCalendarView

func (m *MockClient) GetDefaultCalendarView(arg0 string, arg1, arg2 time.Time) ([]*remote.Event, error)

GetDefaultCalendarView mocks base method

func (*MockClient) GetEvent

func (m *MockClient) GetEvent(arg0, arg1 string) (*remote.Event, error)

GetEvent mocks base method

func (*MockClient) GetMailboxSettings

func (m *MockClient) GetMailboxSettings(arg0 string) (*remote.MailboxSettings, error)

GetMailboxSettings mocks base method

func (*MockClient) GetMe

func (m *MockClient) GetMe() (*remote.User, error)

GetMe mocks base method

func (*MockClient) GetNotificationData

func (m *MockClient) GetNotificationData(arg0 *remote.Notification) (*remote.Notification, error)

GetNotificationData mocks base method

func (*MockClient) GetSchedule

func (m *MockClient) GetSchedule(arg0 []*remote.ScheduleUserInfo, arg1, arg2 *remote.DateTime, arg3 int) ([]*remote.ScheduleInformation, error)

GetSchedule mocks base method

func (*MockClient) GetSuperuserToken

func (m *MockClient) GetSuperuserToken() (string, error)

GetSuperuserToken mocks base method

func (*MockClient) ListSubscriptions

func (m *MockClient) ListSubscriptions() ([]*remote.Subscription, error)

ListSubscriptions mocks base method

func (*MockClient) RenewSubscription

func (m *MockClient) RenewSubscription(arg0 string) (*remote.Subscription, error)

RenewSubscription mocks base method

func (*MockClient) TentativelyAcceptEvent

func (m *MockClient) TentativelyAcceptEvent(arg0, arg1 string) error

TentativelyAcceptEvent mocks base method

type MockClientMockRecorder

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

MockClientMockRecorder is the mock recorder for MockClient

func (*MockClientMockRecorder) AcceptEvent

func (mr *MockClientMockRecorder) AcceptEvent(arg0, arg1 interface{}) *gomock.Call

AcceptEvent indicates an expected call of AcceptEvent

func (*MockClientMockRecorder) CallFormPost

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

CallFormPost indicates an expected call of CallFormPost

func (*MockClientMockRecorder) CallJSON

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

CallJSON indicates an expected call of CallJSON

func (*MockClientMockRecorder) CreateCalendar

func (mr *MockClientMockRecorder) CreateCalendar(arg0, arg1 interface{}) *gomock.Call

CreateCalendar indicates an expected call of CreateCalendar

func (*MockClientMockRecorder) CreateEvent

func (mr *MockClientMockRecorder) CreateEvent(arg0, arg1 interface{}) *gomock.Call

CreateEvent indicates an expected call of CreateEvent

func (*MockClientMockRecorder) CreateMySubscription

func (mr *MockClientMockRecorder) CreateMySubscription(arg0 interface{}) *gomock.Call

CreateMySubscription indicates an expected call of CreateMySubscription

func (*MockClientMockRecorder) DeclineEvent

func (mr *MockClientMockRecorder) DeclineEvent(arg0, arg1 interface{}) *gomock.Call

DeclineEvent indicates an expected call of DeclineEvent

func (*MockClientMockRecorder) DeleteCalendar

func (mr *MockClientMockRecorder) DeleteCalendar(arg0, arg1 interface{}) *gomock.Call

DeleteCalendar indicates an expected call of DeleteCalendar

func (*MockClientMockRecorder) DeleteSubscription

func (mr *MockClientMockRecorder) DeleteSubscription(arg0 interface{}) *gomock.Call

DeleteSubscription indicates an expected call of DeleteSubscription

func (*MockClientMockRecorder) DoBatchViewCalendarRequests

func (mr *MockClientMockRecorder) DoBatchViewCalendarRequests(arg0 interface{}) *gomock.Call

DoBatchViewCalendarRequests indicates an expected call of DoBatchViewCalendarRequests

func (*MockClientMockRecorder) FindMeetingTimes

func (mr *MockClientMockRecorder) FindMeetingTimes(arg0, arg1 interface{}) *gomock.Call

FindMeetingTimes indicates an expected call of FindMeetingTimes

func (*MockClientMockRecorder) GetCalendars

func (mr *MockClientMockRecorder) GetCalendars(arg0 interface{}) *gomock.Call

GetCalendars indicates an expected call of GetCalendars

func (*MockClientMockRecorder) GetDefaultCalendarView

func (mr *MockClientMockRecorder) GetDefaultCalendarView(arg0, arg1, arg2 interface{}) *gomock.Call

GetDefaultCalendarView indicates an expected call of GetDefaultCalendarView

func (*MockClientMockRecorder) GetEvent

func (mr *MockClientMockRecorder) GetEvent(arg0, arg1 interface{}) *gomock.Call

GetEvent indicates an expected call of GetEvent

func (*MockClientMockRecorder) GetMailboxSettings

func (mr *MockClientMockRecorder) GetMailboxSettings(arg0 interface{}) *gomock.Call

GetMailboxSettings indicates an expected call of GetMailboxSettings

func (*MockClientMockRecorder) GetMe

func (mr *MockClientMockRecorder) GetMe() *gomock.Call

GetMe indicates an expected call of GetMe

func (*MockClientMockRecorder) GetNotificationData

func (mr *MockClientMockRecorder) GetNotificationData(arg0 interface{}) *gomock.Call

GetNotificationData indicates an expected call of GetNotificationData

func (*MockClientMockRecorder) GetSchedule

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

GetSchedule indicates an expected call of GetSchedule

func (*MockClientMockRecorder) GetSuperuserToken

func (mr *MockClientMockRecorder) GetSuperuserToken() *gomock.Call

GetSuperuserToken indicates an expected call of GetSuperuserToken

func (*MockClientMockRecorder) ListSubscriptions

func (mr *MockClientMockRecorder) ListSubscriptions() *gomock.Call

ListSubscriptions indicates an expected call of ListSubscriptions

func (*MockClientMockRecorder) RenewSubscription

func (mr *MockClientMockRecorder) RenewSubscription(arg0 interface{}) *gomock.Call

RenewSubscription indicates an expected call of RenewSubscription

func (*MockClientMockRecorder) TentativelyAcceptEvent

func (mr *MockClientMockRecorder) TentativelyAcceptEvent(arg0, arg1 interface{}) *gomock.Call

TentativelyAcceptEvent indicates an expected call of TentativelyAcceptEvent

type MockRemote

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

MockRemote is a mock of Remote interface

func NewMockRemote

func NewMockRemote(ctrl *gomock.Controller) *MockRemote

NewMockRemote creates a new mock instance

func (*MockRemote) EXPECT

func (m *MockRemote) EXPECT() *MockRemoteMockRecorder

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

func (*MockRemote) HandleWebhook

func (m *MockRemote) HandleWebhook(arg0 http.ResponseWriter, arg1 *http.Request) []*remote.Notification

HandleWebhook mocks base method

func (*MockRemote) MakeClient

func (m *MockRemote) MakeClient(arg0 context.Context, arg1 *oauth2.Token) remote.Client

MakeClient mocks base method

func (*MockRemote) MakeSuperuserClient

func (m *MockRemote) MakeSuperuserClient(arg0 context.Context) (remote.Client, error)

MakeSuperuserClient mocks base method

func (*MockRemote) NewOAuth2Config

func (m *MockRemote) NewOAuth2Config() *oauth2.Config

NewOAuth2Config mocks base method

type MockRemoteMockRecorder

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

MockRemoteMockRecorder is the mock recorder for MockRemote

func (*MockRemoteMockRecorder) HandleWebhook

func (mr *MockRemoteMockRecorder) HandleWebhook(arg0, arg1 interface{}) *gomock.Call

HandleWebhook indicates an expected call of HandleWebhook

func (*MockRemoteMockRecorder) MakeClient

func (mr *MockRemoteMockRecorder) MakeClient(arg0, arg1 interface{}) *gomock.Call

MakeClient indicates an expected call of MakeClient

func (*MockRemoteMockRecorder) MakeSuperuserClient

func (mr *MockRemoteMockRecorder) MakeSuperuserClient(arg0 interface{}) *gomock.Call

MakeSuperuserClient indicates an expected call of MakeSuperuserClient

func (*MockRemoteMockRecorder) NewOAuth2Config

func (mr *MockRemoteMockRecorder) NewOAuth2Config() *gomock.Call

NewOAuth2Config indicates an expected call of NewOAuth2Config

Jump to

Keyboard shortcuts

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