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 ¶
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 ¶
func (m *MockCertRotator) EXPECT() *MockCertRotatorMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockCertRotator) Start ¶
func (m *MockCertRotator) Start(ctx context.Context) (certrotation.Status, error)
Start mocks base method.
func (*MockCertRotator) Status ¶
func (m *MockCertRotator) Status(ctx context.Context) (certrotation.Status, error)
Status mocks base method.
type MockCertRotatorMockRecorder ¶
type MockCertRotatorMockRecorder struct {
// contains filtered or unexported fields
}
MockCertRotatorMockRecorder is the mock recorder for MockCertRotator.
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 ¶
func (m *MockRotator) Start(ctx context.Context) (keyrotation.Status, error)
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.