Documentation
¶
Overview ¶
Package mock is a generated GoMock package.
Index ¶
- type MockClient
- func (m *MockClient) Close()
- func (m *MockClient) EXPECT() *MockClientMockRecorder
- func (m *MockClient) ExchangeToken(ctx context.Context, in *auth.ExchangeTokenRequest, opts ...grpc.CallOption) (*auth.ExchangeTokenResponse, error)
- func (m *MockClient) GetAuthCodeURL(ctx context.Context, in *auth.GetAuthCodeURLRequest, opts ...grpc.CallOption) (*auth.GetAuthCodeURLResponse, error)
- func (m *MockClient) RefreshToken(ctx context.Context, in *auth.RefreshTokenRequest, opts ...grpc.CallOption) (*auth.RefreshTokenResponse, error)
- type MockClientMockRecorder
- func (mr *MockClientMockRecorder) Close() *gomock.Call
- func (mr *MockClientMockRecorder) ExchangeToken(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) GetAuthCodeURL(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) RefreshToken(ctx, in interface{}, opts ...interface{}) *gomock.Call
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) EXPECT ¶
func (m *MockClient) EXPECT() *MockClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockClient) ExchangeToken ¶
func (m *MockClient) ExchangeToken(ctx context.Context, in *auth.ExchangeTokenRequest, opts ...grpc.CallOption) (*auth.ExchangeTokenResponse, error)
ExchangeToken mocks base method.
func (*MockClient) GetAuthCodeURL ¶
func (m *MockClient) GetAuthCodeURL(ctx context.Context, in *auth.GetAuthCodeURLRequest, opts ...grpc.CallOption) (*auth.GetAuthCodeURLResponse, error)
GetAuthCodeURL mocks base method.
func (*MockClient) RefreshToken ¶
func (m *MockClient) RefreshToken(ctx context.Context, in *auth.RefreshTokenRequest, opts ...grpc.CallOption) (*auth.RefreshTokenResponse, error)
RefreshToken mocks base method.
type MockClientMockRecorder ¶
type MockClientMockRecorder struct {
// contains filtered or unexported fields
}
MockClientMockRecorder is the mock recorder for MockClient.
func (*MockClientMockRecorder) Close ¶
func (mr *MockClientMockRecorder) Close() *gomock.Call
Close indicates an expected call of Close.
func (*MockClientMockRecorder) ExchangeToken ¶
func (mr *MockClientMockRecorder) ExchangeToken(ctx, in interface{}, opts ...interface{}) *gomock.Call
ExchangeToken indicates an expected call of ExchangeToken.
func (*MockClientMockRecorder) GetAuthCodeURL ¶
func (mr *MockClientMockRecorder) GetAuthCodeURL(ctx, in interface{}, opts ...interface{}) *gomock.Call
GetAuthCodeURL indicates an expected call of GetAuthCodeURL.
func (*MockClientMockRecorder) RefreshToken ¶
func (mr *MockClientMockRecorder) RefreshToken(ctx, in interface{}, opts ...interface{}) *gomock.Call
RefreshToken indicates an expected call of RefreshToken.
Click to show internal directories.
Click to hide internal directories.