Documentation ¶
Overview ¶
Package mocks_oauth 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 *oauth.RefreshTokenParams) (int, *oauth.AuthResponse)
- func (m *MockAuthorizer) RefreshToken(arg0 *oauth.RefreshTokenParams) (int, *oauth.AuthResponse)
- type MockAuthorizerMockRecorder
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 *oauth.RefreshTokenParams) (int, *oauth.AuthResponse)
FetchToken mocks base method.
func (*MockAuthorizer) RefreshToken ¶
func (m *MockAuthorizer) RefreshToken(arg0 *oauth.RefreshTokenParams) (int, *oauth.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.
Click to show internal directories.
Click to hide internal directories.