Documentation ¶
Overview ¶
Package mockoidcclientoptions is a generated GoMock package.
Index ¶
- type MockOIDCClientOptions
- func (m *MockOIDCClientOptions) EXPECT() *MockOIDCClientOptionsMockRecorder
- func (m *MockOIDCClientOptions) WithClient(httpClient *http.Client) oidcclient.Option
- func (m *MockOIDCClientOptions) WithContext(ctx context.Context) oidcclient.Option
- func (m *MockOIDCClientOptions) WithListenPort(port uint16) oidcclient.Option
- func (m *MockOIDCClientOptions) WithLoginFlow(loginFlow v1alpha1.IDPFlow, flowSource string) oidcclient.Option
- func (m *MockOIDCClientOptions) WithLoginLogger(logger oidcclient.Logger) oidcclient.Option
- func (m *MockOIDCClientOptions) WithRequestAudience(audience string) oidcclient.Option
- func (m *MockOIDCClientOptions) WithScopes(scopes []string) oidcclient.Option
- func (m *MockOIDCClientOptions) WithSessionCache(cache oidcclient.SessionCache) oidcclient.Option
- func (m *MockOIDCClientOptions) WithSkipBrowserOpen() oidcclient.Option
- func (m *MockOIDCClientOptions) WithSkipListen() oidcclient.Option
- func (m *MockOIDCClientOptions) WithSkipPrintLoginURL() oidcclient.Option
- func (m *MockOIDCClientOptions) WithUpstreamIdentityProvider(upstreamName, upstreamType string) oidcclient.Option
- type MockOIDCClientOptionsMockRecorder
- func (mr *MockOIDCClientOptionsMockRecorder) WithClient(httpClient any) *gomock.Call
- func (mr *MockOIDCClientOptionsMockRecorder) WithContext(ctx any) *gomock.Call
- func (mr *MockOIDCClientOptionsMockRecorder) WithListenPort(port any) *gomock.Call
- func (mr *MockOIDCClientOptionsMockRecorder) WithLoginFlow(loginFlow, flowSource any) *gomock.Call
- func (mr *MockOIDCClientOptionsMockRecorder) WithLoginLogger(logger any) *gomock.Call
- func (mr *MockOIDCClientOptionsMockRecorder) WithRequestAudience(audience any) *gomock.Call
- func (mr *MockOIDCClientOptionsMockRecorder) WithScopes(scopes any) *gomock.Call
- func (mr *MockOIDCClientOptionsMockRecorder) WithSessionCache(cache any) *gomock.Call
- func (mr *MockOIDCClientOptionsMockRecorder) WithSkipBrowserOpen() *gomock.Call
- func (mr *MockOIDCClientOptionsMockRecorder) WithSkipListen() *gomock.Call
- func (mr *MockOIDCClientOptionsMockRecorder) WithSkipPrintLoginURL() *gomock.Call
- func (mr *MockOIDCClientOptionsMockRecorder) WithUpstreamIdentityProvider(upstreamName, upstreamType any) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockOIDCClientOptions ¶
type MockOIDCClientOptions struct {
// contains filtered or unexported fields
}
MockOIDCClientOptions is a mock of OIDCClientOptions interface.
func NewMockOIDCClientOptions ¶
func NewMockOIDCClientOptions(ctrl *gomock.Controller) *MockOIDCClientOptions
NewMockOIDCClientOptions creates a new mock instance.
func (*MockOIDCClientOptions) EXPECT ¶
func (m *MockOIDCClientOptions) EXPECT() *MockOIDCClientOptionsMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockOIDCClientOptions) WithClient ¶
func (m *MockOIDCClientOptions) WithClient(httpClient *http.Client) oidcclient.Option
WithClient mocks base method.
func (*MockOIDCClientOptions) WithContext ¶
func (m *MockOIDCClientOptions) WithContext(ctx context.Context) oidcclient.Option
WithContext mocks base method.
func (*MockOIDCClientOptions) WithListenPort ¶
func (m *MockOIDCClientOptions) WithListenPort(port uint16) oidcclient.Option
WithListenPort mocks base method.
func (*MockOIDCClientOptions) WithLoginFlow ¶
func (m *MockOIDCClientOptions) WithLoginFlow(loginFlow v1alpha1.IDPFlow, flowSource string) oidcclient.Option
WithLoginFlow mocks base method.
func (*MockOIDCClientOptions) WithLoginLogger ¶ added in v0.32.0
func (m *MockOIDCClientOptions) WithLoginLogger(logger oidcclient.Logger) oidcclient.Option
WithLoginLogger mocks base method.
func (*MockOIDCClientOptions) WithRequestAudience ¶
func (m *MockOIDCClientOptions) WithRequestAudience(audience string) oidcclient.Option
WithRequestAudience mocks base method.
func (*MockOIDCClientOptions) WithScopes ¶
func (m *MockOIDCClientOptions) WithScopes(scopes []string) oidcclient.Option
WithScopes mocks base method.
func (*MockOIDCClientOptions) WithSessionCache ¶
func (m *MockOIDCClientOptions) WithSessionCache(cache oidcclient.SessionCache) oidcclient.Option
WithSessionCache mocks base method.
func (*MockOIDCClientOptions) WithSkipBrowserOpen ¶
func (m *MockOIDCClientOptions) WithSkipBrowserOpen() oidcclient.Option
WithSkipBrowserOpen mocks base method.
func (*MockOIDCClientOptions) WithSkipListen ¶
func (m *MockOIDCClientOptions) WithSkipListen() oidcclient.Option
WithSkipListen mocks base method.
func (*MockOIDCClientOptions) WithSkipPrintLoginURL ¶
func (m *MockOIDCClientOptions) WithSkipPrintLoginURL() oidcclient.Option
WithSkipPrintLoginURL mocks base method.
func (*MockOIDCClientOptions) WithUpstreamIdentityProvider ¶
func (m *MockOIDCClientOptions) WithUpstreamIdentityProvider(upstreamName, upstreamType string) oidcclient.Option
WithUpstreamIdentityProvider mocks base method.
type MockOIDCClientOptionsMockRecorder ¶
type MockOIDCClientOptionsMockRecorder struct {
// contains filtered or unexported fields
}
MockOIDCClientOptionsMockRecorder is the mock recorder for MockOIDCClientOptions.
func (*MockOIDCClientOptionsMockRecorder) WithClient ¶
func (mr *MockOIDCClientOptionsMockRecorder) WithClient(httpClient any) *gomock.Call
WithClient indicates an expected call of WithClient.
func (*MockOIDCClientOptionsMockRecorder) WithContext ¶
func (mr *MockOIDCClientOptionsMockRecorder) WithContext(ctx any) *gomock.Call
WithContext indicates an expected call of WithContext.
func (*MockOIDCClientOptionsMockRecorder) WithListenPort ¶
func (mr *MockOIDCClientOptionsMockRecorder) WithListenPort(port any) *gomock.Call
WithListenPort indicates an expected call of WithListenPort.
func (*MockOIDCClientOptionsMockRecorder) WithLoginFlow ¶
func (mr *MockOIDCClientOptionsMockRecorder) WithLoginFlow(loginFlow, flowSource any) *gomock.Call
WithLoginFlow indicates an expected call of WithLoginFlow.
func (*MockOIDCClientOptionsMockRecorder) WithLoginLogger ¶ added in v0.32.0
func (mr *MockOIDCClientOptionsMockRecorder) WithLoginLogger(logger any) *gomock.Call
WithLoginLogger indicates an expected call of WithLoginLogger.
func (*MockOIDCClientOptionsMockRecorder) WithRequestAudience ¶
func (mr *MockOIDCClientOptionsMockRecorder) WithRequestAudience(audience any) *gomock.Call
WithRequestAudience indicates an expected call of WithRequestAudience.
func (*MockOIDCClientOptionsMockRecorder) WithScopes ¶
func (mr *MockOIDCClientOptionsMockRecorder) WithScopes(scopes any) *gomock.Call
WithScopes indicates an expected call of WithScopes.
func (*MockOIDCClientOptionsMockRecorder) WithSessionCache ¶
func (mr *MockOIDCClientOptionsMockRecorder) WithSessionCache(cache any) *gomock.Call
WithSessionCache indicates an expected call of WithSessionCache.
func (*MockOIDCClientOptionsMockRecorder) WithSkipBrowserOpen ¶
func (mr *MockOIDCClientOptionsMockRecorder) WithSkipBrowserOpen() *gomock.Call
WithSkipBrowserOpen indicates an expected call of WithSkipBrowserOpen.
func (*MockOIDCClientOptionsMockRecorder) WithSkipListen ¶
func (mr *MockOIDCClientOptionsMockRecorder) WithSkipListen() *gomock.Call
WithSkipListen indicates an expected call of WithSkipListen.
func (*MockOIDCClientOptionsMockRecorder) WithSkipPrintLoginURL ¶
func (mr *MockOIDCClientOptionsMockRecorder) WithSkipPrintLoginURL() *gomock.Call
WithSkipPrintLoginURL indicates an expected call of WithSkipPrintLoginURL.
func (*MockOIDCClientOptionsMockRecorder) WithUpstreamIdentityProvider ¶
func (mr *MockOIDCClientOptionsMockRecorder) WithUpstreamIdentityProvider(upstreamName, upstreamType any) *gomock.Call
WithUpstreamIdentityProvider indicates an expected call of WithUpstreamIdentityProvider.