mocks

package
v0.6.4 Latest Latest
Warning

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

Go to latest
Published: Nov 13, 2025 License: Apache-2.0 Imports: 4 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 MockStrategy

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

MockStrategy is a mock of Strategy interface.

func NewMockStrategy

func NewMockStrategy(ctrl *gomock.Controller) *MockStrategy

NewMockStrategy creates a new mock instance.

func (*MockStrategy) Authenticate

func (m *MockStrategy) Authenticate(ctx context.Context, req *http.Request, metadata map[string]any) error

Authenticate mocks base method.

func (*MockStrategy) EXPECT

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

func (*MockStrategy) Name

func (m *MockStrategy) Name() string

Name mocks base method.

func (*MockStrategy) Validate

func (m *MockStrategy) Validate(metadata map[string]any) error

Validate mocks base method.

type MockStrategyMockRecorder

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

MockStrategyMockRecorder is the mock recorder for MockStrategy.

func (*MockStrategyMockRecorder) Authenticate

func (mr *MockStrategyMockRecorder) Authenticate(ctx, req, metadata any) *gomock.Call

Authenticate indicates an expected call of Authenticate.

func (*MockStrategyMockRecorder) Name

func (mr *MockStrategyMockRecorder) Name() *gomock.Call

Name indicates an expected call of Name.

func (*MockStrategyMockRecorder) Validate

func (mr *MockStrategyMockRecorder) Validate(metadata any) *gomock.Call

Validate indicates an expected call of Validate.

Jump to

Keyboard shortcuts

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