mocks

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Dec 12, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package mocks is a generated GoMock package.

Index

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) Exchange

func (m *MockConfig) Exchange(arg0 context.Context, arg1 string) (*oauth2.Token, error)

Exchange mocks base method.

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.

Jump to

Keyboard shortcuts

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