Documentation ¶
Overview ¶
Package mocks_oauthResponseHandler is a generated GoMock package.
Index ¶
- type MockAuthorizer
- func (m *MockAuthorizer) DisableDestination(arg0 backendconfig.DestinationT, arg1, arg2 string) (int, string)
- func (m *MockAuthorizer) EXPECT() *MockAuthorizerMockRecorder
- func (m *MockAuthorizer) FetchToken(arg0 *oauthResponseHandler.RefreshTokenParams) (int, *oauthResponseHandler.AuthResponse)
- func (m *MockAuthorizer) RefreshToken(arg0 *oauthResponseHandler.RefreshTokenParams) (int, *oauthResponseHandler.AuthResponse)
- func (m *MockAuthorizer) Setup()
- type MockAuthorizerMockRecorder
- func (mr *MockAuthorizerMockRecorder) DisableDestination(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockAuthorizerMockRecorder) FetchToken(arg0 interface{}) *gomock.Call
- func (mr *MockAuthorizerMockRecorder) RefreshToken(arg0 interface{}) *gomock.Call
- func (mr *MockAuthorizerMockRecorder) Setup() *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockAuthorizer ¶
type MockAuthorizer struct {
// contains filtered or unexported fields
}
MockAuthorizer is a mock of Authorizer interface.
func NewMockAuthorizer ¶
func NewMockAuthorizer(ctrl *gomock.Controller) *MockAuthorizer
NewMockAuthorizer creates a new mock instance.
func (*MockAuthorizer) DisableDestination ¶
func (m *MockAuthorizer) DisableDestination(arg0 backendconfig.DestinationT, arg1, arg2 string) (int, string)
DisableDestination mocks base method.
func (*MockAuthorizer) EXPECT ¶
func (m *MockAuthorizer) EXPECT() *MockAuthorizerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockAuthorizer) FetchToken ¶
func (m *MockAuthorizer) FetchToken(arg0 *oauthResponseHandler.RefreshTokenParams) (int, *oauthResponseHandler.AuthResponse)
FetchToken mocks base method.
func (*MockAuthorizer) RefreshToken ¶
func (m *MockAuthorizer) RefreshToken(arg0 *oauthResponseHandler.RefreshTokenParams) (int, *oauthResponseHandler.AuthResponse)
RefreshToken mocks base method.
type MockAuthorizerMockRecorder ¶
type MockAuthorizerMockRecorder struct {
// contains filtered or unexported fields
}
MockAuthorizerMockRecorder is the mock recorder for MockAuthorizer.
func (*MockAuthorizerMockRecorder) DisableDestination ¶
func (mr *MockAuthorizerMockRecorder) DisableDestination(arg0, arg1, arg2 interface{}) *gomock.Call
DisableDestination indicates an expected call of DisableDestination.
func (*MockAuthorizerMockRecorder) FetchToken ¶
func (mr *MockAuthorizerMockRecorder) FetchToken(arg0 interface{}) *gomock.Call
FetchToken indicates an expected call of FetchToken.
func (*MockAuthorizerMockRecorder) RefreshToken ¶
func (mr *MockAuthorizerMockRecorder) RefreshToken(arg0 interface{}) *gomock.Call
RefreshToken indicates an expected call of RefreshToken.
func (*MockAuthorizerMockRecorder) Setup ¶
func (mr *MockAuthorizerMockRecorder) Setup() *gomock.Call
Setup indicates an expected call of Setup.
Click to show internal directories.
Click to hide internal directories.