mock_dcron

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Nov 10, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Code generated by MockGen. DO NOT EDIT. Source: atomic.go

Generated by this command:

mockgen -source=atomic.go -destination mock_dcron/atomic.go

Package mock_dcron is a generated GoMock package.

Code generated by MockGen. DO NOT EDIT. Source: entry_getter.go

Generated by this command:

mockgen -source=entry_getter.go -destination mock_dcron/entry_getter.go

Package mock_dcron is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockAtomic added in v0.3.0

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

MockAtomic is a mock of Atomic interface.

func NewMockAtomic added in v0.3.0

func NewMockAtomic(ctrl *gomock.Controller) *MockAtomic

NewMockAtomic creates a new mock instance.

func (*MockAtomic) EXPECT added in v0.3.0

func (m *MockAtomic) EXPECT() *MockAtomicMockRecorder

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

func (*MockAtomic) SetIfNotExists added in v0.3.0

func (m *MockAtomic) SetIfNotExists(ctx context.Context, key, value string) bool

SetIfNotExists mocks base method.

type MockAtomicMockRecorder added in v0.3.0

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

MockAtomicMockRecorder is the mock recorder for MockAtomic.

func (*MockAtomicMockRecorder) SetIfNotExists added in v0.3.0

func (mr *MockAtomicMockRecorder) SetIfNotExists(ctx, key, value any) *gomock.Call

SetIfNotExists indicates an expected call of SetIfNotExists.

type MockentryGetter

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

MockentryGetter is a mock of entryGetter interface.

func NewMockentryGetter

func NewMockentryGetter(ctrl *gomock.Controller) *MockentryGetter

NewMockentryGetter creates a new mock instance.

func (*MockentryGetter) EXPECT

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

func (*MockentryGetter) Entry

func (m *MockentryGetter) Entry(id cron.EntryID) cron.Entry

Entry mocks base method.

type MockentryGetterMockRecorder

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

MockentryGetterMockRecorder is the mock recorder for MockentryGetter.

func (*MockentryGetterMockRecorder) Entry

func (mr *MockentryGetterMockRecorder) Entry(id any) *gomock.Call

Entry indicates an expected call of Entry.

Jump to

Keyboard shortcuts

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