Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Index ¶
- type MockConfig
- func (m *MockConfig) AuthCodeURL(arg0 string) string
- func (m *MockConfig) EXPECT() *MockConfigMockRecorder
- func (m *MockConfig) Exchange(arg0 context.Context, arg1 string) (*oauth2.Token, error)
- func (m *MockConfig) ReloadConfig(arg0 *config.Configuration)
- func (m *MockConfig) TokenSource(arg0 context.Context, arg1 *oauth2.Token) oauth2.TokenSource
- type MockConfigMockRecorder
- func (mr *MockConfigMockRecorder) AuthCodeURL(arg0 interface{}) *gomock.Call
- func (mr *MockConfigMockRecorder) Exchange(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockConfigMockRecorder) ReloadConfig(arg0 interface{}) *gomock.Call
- func (mr *MockConfigMockRecorder) TokenSource(arg0, arg1 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockConfig ¶
type MockConfig struct {
// contains filtered or unexported fields
}
MockConfig is a mock of Config interface.
func NewMockConfig ¶
func NewMockConfig(ctrl *gomock.Controller) *MockConfig
NewMockConfig creates a new mock instance.
func (*MockConfig) AuthCodeURL ¶
func (m *MockConfig) AuthCodeURL(arg0 string) string
AuthCodeURL mocks base method.
func (*MockConfig) EXPECT ¶
func (m *MockConfig) EXPECT() *MockConfigMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockConfig) ReloadConfig ¶
func (m *MockConfig) ReloadConfig(arg0 *config.Configuration)
ReloadConfig mocks base method.
func (*MockConfig) TokenSource ¶
func (m *MockConfig) TokenSource(arg0 context.Context, arg1 *oauth2.Token) oauth2.TokenSource
TokenSource mocks base method.
type MockConfigMockRecorder ¶
type MockConfigMockRecorder struct {
// contains filtered or unexported fields
}
MockConfigMockRecorder is the mock recorder for MockConfig.
func (*MockConfigMockRecorder) AuthCodeURL ¶
func (mr *MockConfigMockRecorder) AuthCodeURL(arg0 interface{}) *gomock.Call
AuthCodeURL indicates an expected call of AuthCodeURL.
func (*MockConfigMockRecorder) Exchange ¶
func (mr *MockConfigMockRecorder) Exchange(arg0, arg1 interface{}) *gomock.Call
Exchange indicates an expected call of Exchange.
func (*MockConfigMockRecorder) ReloadConfig ¶
func (mr *MockConfigMockRecorder) ReloadConfig(arg0 interface{}) *gomock.Call
ReloadConfig indicates an expected call of ReloadConfig.
func (*MockConfigMockRecorder) TokenSource ¶
func (mr *MockConfigMockRecorder) TokenSource(arg0, arg1 interface{}) *gomock.Call
TokenSource indicates an expected call of TokenSource.
Click to show internal directories.
Click to hide internal directories.