Help us shape the future of Go! Take the 2026 Go Developer Survey

mocks

package
v0.19.0 Latest Latest
Warning

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

Go to latest
Published: Apr 13, 2026 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 MockOIDCConfigurable

type MockOIDCConfigurable struct {
	// contains filtered or unexported fields
}

MockOIDCConfigurable is a mock of OIDCConfigurable interface.

func NewMockOIDCConfigurable

func NewMockOIDCConfigurable(ctrl *gomock.Controller) *MockOIDCConfigurable

NewMockOIDCConfigurable creates a new mock instance.

func (*MockOIDCConfigurable) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockOIDCConfigurable) GetName

func (m *MockOIDCConfigurable) GetName() string

GetName mocks base method.

func (*MockOIDCConfigurable) GetNamespace

func (m *MockOIDCConfigurable) GetNamespace() string

GetNamespace mocks base method.

func (*MockOIDCConfigurable) GetOIDCConfig

func (m *MockOIDCConfigurable) GetOIDCConfig() *v1alpha1.OIDCConfigRef

GetOIDCConfig mocks base method.

func (*MockOIDCConfigurable) GetProxyPort

func (m *MockOIDCConfigurable) GetProxyPort() int32

GetProxyPort mocks base method.

type MockOIDCConfigurableMockRecorder

type MockOIDCConfigurableMockRecorder struct {
	// contains filtered or unexported fields
}

MockOIDCConfigurableMockRecorder is the mock recorder for MockOIDCConfigurable.

func (*MockOIDCConfigurableMockRecorder) GetName

GetName indicates an expected call of GetName.

func (*MockOIDCConfigurableMockRecorder) GetNamespace

func (mr *MockOIDCConfigurableMockRecorder) GetNamespace() *gomock.Call

GetNamespace indicates an expected call of GetNamespace.

func (*MockOIDCConfigurableMockRecorder) GetOIDCConfig

func (mr *MockOIDCConfigurableMockRecorder) GetOIDCConfig() *gomock.Call

GetOIDCConfig indicates an expected call of GetOIDCConfig.

func (*MockOIDCConfigurableMockRecorder) GetProxyPort

func (mr *MockOIDCConfigurableMockRecorder) GetProxyPort() *gomock.Call

GetProxyPort indicates an expected call of GetProxyPort.

type MockResolver

type MockResolver struct {
	// contains filtered or unexported fields
}

MockResolver is a mock of Resolver interface.

func NewMockResolver

func NewMockResolver(ctrl *gomock.Controller) *MockResolver

NewMockResolver creates a new mock instance.

func (*MockResolver) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockResolver) Resolve

func (m *MockResolver) Resolve(ctx context.Context, resource oidc.OIDCConfigurable) (*oidc.OIDCConfig, error)

Resolve mocks base method.

func (*MockResolver) ResolveFromConfigRef added in v0.15.0

func (m *MockResolver) ResolveFromConfigRef(ctx context.Context, oidcConfigRef *v1alpha1.MCPOIDCConfigReference, oidcConfig *v1alpha1.MCPOIDCConfig, serverName, namespace string, proxyPort int32) (*oidc.OIDCConfig, error)

ResolveFromConfigRef mocks base method.

type MockResolverMockRecorder

type MockResolverMockRecorder struct {
	// contains filtered or unexported fields
}

MockResolverMockRecorder is the mock recorder for MockResolver.

func (*MockResolverMockRecorder) Resolve

func (mr *MockResolverMockRecorder) Resolve(ctx, resource any) *gomock.Call

Resolve indicates an expected call of Resolve.

func (*MockResolverMockRecorder) ResolveFromConfigRef added in v0.15.0

func (mr *MockResolverMockRecorder) ResolveFromConfigRef(ctx, oidcConfigRef, oidcConfig, serverName, namespace, proxyPort any) *gomock.Call

ResolveFromConfigRef indicates an expected call of ResolveFromConfigRef.

Jump to

Keyboard shortcuts

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