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

mocks

package
v0.6.17 Latest Latest
Warning

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

Go to latest
Published: Jan 8, 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 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, strategy *types.BackendAuthStrategy) 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(strategy *types.BackendAuthStrategy) 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, strategy 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(strategy 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