mocks

package
v0.2.5 Latest Latest
Warning

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

Go to latest
Published: Oct 3, 2026 License: Apache-2.0 Imports: 6 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 MockIStore

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

MockIStore is a mock of IStore interface.

func NewMockIStore

func NewMockIStore(ctrl *gomock.Controller) *MockIStore

NewMockIStore creates a new mock instance.

func (*MockIStore) Claim

func (m *MockIStore) Claim(ctx context.Context, request cron0.ClaimRequest) (cron0.ClaimResult, error)

Claim mocks base method.

func (*MockIStore) Complete

func (m *MockIStore) Complete(ctx context.Context, completion cron0.Completion) error

Complete mocks base method.

func (*MockIStore) EXPECT

func (m *MockIStore) EXPECT() *MockIStoreMockRecorder

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

func (*MockIStore) Expired

func (m *MockIStore) Expired(ctx context.Context, now time.Time, limit int) ([]cron.OccurrenceRecord, error)

Expired mocks base method.

func (*MockIStore) Reconcile

func (m *MockIStore) Reconcile(ctx context.Context, definitions []cron.TriggerDefinition, now time.Time) ([]cron.TriggerState, error)

Reconcile mocks base method.

func (*MockIStore) Renew

func (m *MockIStore) Renew(ctx context.Context, renewal cron0.LeaseRenewal) error

Renew mocks base method.

func (*MockIStore) Skip

func (m *MockIStore) Skip(ctx context.Context, request cron0.SkipRequest) error

Skip mocks base method.

func (*MockIStore) Snapshot

func (m *MockIStore) Snapshot(ctx context.Context) (cron.StoreSnapshot, error)

Snapshot mocks base method.

type MockIStoreMockRecorder

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

MockIStoreMockRecorder is the mock recorder for MockIStore.

func (*MockIStoreMockRecorder) Claim

func (mr *MockIStoreMockRecorder) Claim(ctx, request any) *gomock.Call

Claim indicates an expected call of Claim.

func (*MockIStoreMockRecorder) Complete

func (mr *MockIStoreMockRecorder) Complete(ctx, completion any) *gomock.Call

Complete indicates an expected call of Complete.

func (*MockIStoreMockRecorder) Expired

func (mr *MockIStoreMockRecorder) Expired(ctx, now, limit any) *gomock.Call

Expired indicates an expected call of Expired.

func (*MockIStoreMockRecorder) Reconcile

func (mr *MockIStoreMockRecorder) Reconcile(ctx, definitions, now any) *gomock.Call

Reconcile indicates an expected call of Reconcile.

func (*MockIStoreMockRecorder) Renew

func (mr *MockIStoreMockRecorder) Renew(ctx, renewal any) *gomock.Call

Renew indicates an expected call of Renew.

func (*MockIStoreMockRecorder) Skip

func (mr *MockIStoreMockRecorder) Skip(ctx, request any) *gomock.Call

Skip indicates an expected call of Skip.

func (*MockIStoreMockRecorder) Snapshot

func (mr *MockIStoreMockRecorder) Snapshot(ctx any) *gomock.Call

Snapshot indicates an expected call of Snapshot.

Jump to

Keyboard shortcuts

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