Documentation
¶
Overview ¶
Package mocks holds the generated doubles of the dependencies of the rotation of the controller's key, for its tests.
Package mocks is a generated GoMock package.
Index ¶
- type MockAdmitted
- type MockAdmittedMockRecorder
- type MockKV
- func (m *MockKV) EXPECT() *MockKVMockRecorder
- func (m *MockKV) KVCreate(ctx context.Context, bucket, key string, value []byte) (uint64, error)
- func (m *MockKV) KVGet(ctx context.Context, bucket, key string) (jetstream.KeyValueEntry, error)
- func (m *MockKV) KVUpdate(ctx context.Context, bucket, key string, value []byte, revision uint64) (uint64, error)
- type MockKVMockRecorder
- type MockSeen
- type MockSeenMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockAdmitted ¶
type MockAdmitted struct {
// contains filtered or unexported fields
}
MockAdmitted is a mock of Admitted interface.
func NewMockAdmitted ¶
func NewMockAdmitted(ctrl *gomock.Controller) *MockAdmitted
NewMockAdmitted creates a new mock instance.
func (*MockAdmitted) EXPECT ¶
func (m *MockAdmitted) EXPECT() *MockAdmittedMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockAdmittedMockRecorder ¶
type MockAdmittedMockRecorder struct {
// contains filtered or unexported fields
}
MockAdmittedMockRecorder is the mock recorder for MockAdmitted.
type MockKV ¶
type MockKV struct {
// contains filtered or unexported fields
}
MockKV is a mock of KV interface.
func NewMockKV ¶
func NewMockKV(ctrl *gomock.Controller) *MockKV
NewMockKV creates a new mock instance.
func (*MockKV) EXPECT ¶
func (m *MockKV) EXPECT() *MockKVMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockKVMockRecorder ¶
type MockKVMockRecorder struct {
// contains filtered or unexported fields
}
MockKVMockRecorder is the mock recorder for MockKV.
func (*MockKVMockRecorder) KVCreate ¶
func (mr *MockKVMockRecorder) KVCreate(ctx, bucket, key, value any) *gomock.Call
KVCreate indicates an expected call of KVCreate.
type MockSeen ¶
type MockSeen struct {
// contains filtered or unexported fields
}
MockSeen is a mock of Seen interface.
func NewMockSeen ¶
func NewMockSeen(ctrl *gomock.Controller) *MockSeen
NewMockSeen creates a new mock instance.
func (*MockSeen) AgentsLastSeen ¶
AgentsLastSeen mocks base method.
func (*MockSeen) EXPECT ¶
func (m *MockSeen) EXPECT() *MockSeenMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockSeenMockRecorder ¶
type MockSeenMockRecorder struct {
// contains filtered or unexported fields
}
MockSeenMockRecorder is the mock recorder for MockSeen.
func (*MockSeenMockRecorder) AgentsLastSeen ¶
func (mr *MockSeenMockRecorder) AgentsLastSeen(ctx any) *gomock.Call
AgentsLastSeen indicates an expected call of AgentsLastSeen.
func (*MockSeenMockRecorder) ListAgents ¶
func (mr *MockSeenMockRecorder) ListAgents(ctx any) *gomock.Call
ListAgents indicates an expected call of ListAgents.