mocks

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Nov 27, 2026 License: MIT Imports: 6 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package mocks is a generated GoMock package.

Package mocks holds the generated doubles of the pki group's dependencies, for the methods' tests.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockAgents

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

MockAgents is a mock of Agents interface.

func NewMockAgents

func NewMockAgents(ctrl *gomock.Controller) *MockAgents

NewMockAgents creates a new mock instance.

func (*MockAgents) EXPECT

func (m *MockAgents) EXPECT() *MockAgentsMockRecorder

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

func (*MockAgents) ListAgents

func (m *MockAgents) ListAgents(ctx context.Context) ([]job.AgentInfo, error)

ListAgents mocks base method.

type MockAgentsMockRecorder

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

MockAgentsMockRecorder is the mock recorder for MockAgents.

func (*MockAgentsMockRecorder) ListAgents

func (mr *MockAgentsMockRecorder) ListAgents(ctx any) *gomock.Call

ListAgents indicates an expected call of ListAgents.

type MockCertRotator

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

MockCertRotator is a mock of CertRotator interface.

func NewMockCertRotator

func NewMockCertRotator(ctrl *gomock.Controller) *MockCertRotator

NewMockCertRotator creates a new mock instance.

func (*MockCertRotator) EXPECT

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

func (*MockCertRotator) Start

Start mocks base method.

func (*MockCertRotator) Status

Status mocks base method.

type MockCertRotatorMockRecorder

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

MockCertRotatorMockRecorder is the mock recorder for MockCertRotator.

func (*MockCertRotatorMockRecorder) Start

func (mr *MockCertRotatorMockRecorder) Start(ctx any) *gomock.Call

Start indicates an expected call of Start.

func (*MockCertRotatorMockRecorder) Status

func (mr *MockCertRotatorMockRecorder) Status(ctx any) *gomock.Call

Status indicates an expected call of Status.

type MockRotator

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

MockRotator is a mock of Rotator interface.

func NewMockRotator

func NewMockRotator(ctrl *gomock.Controller) *MockRotator

NewMockRotator creates a new mock instance.

func (*MockRotator) EXPECT

func (m *MockRotator) EXPECT() *MockRotatorMockRecorder

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

func (*MockRotator) Start

Start mocks base method.

func (*MockRotator) Status

func (m *MockRotator) Status(ctx context.Context) (keyrotation.Status, error)

Status mocks base method.

type MockRotatorMockRecorder

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

MockRotatorMockRecorder is the mock recorder for MockRotator.

func (*MockRotatorMockRecorder) Start

func (mr *MockRotatorMockRecorder) Start(ctx any) *gomock.Call

Start indicates an expected call of Start.

func (*MockRotatorMockRecorder) Status

func (mr *MockRotatorMockRecorder) Status(ctx any) *gomock.Call

Status indicates an expected call of Status.

Jump to

Keyboard shortcuts

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