dsyncmock

package
v0.15.1 Latest Latest
Warning

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

Go to latest
Published: Aug 16, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AlwaysLockMock

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

func (*AlwaysLockMock) Key

func (l *AlwaysLockMock) Key() string

func (*AlwaysLockMock) Lock

func (l *AlwaysLockMock) Lock(_ context.Context) error

func (*AlwaysLockMock) Lost

func (l *AlwaysLockMock) Lost() <-chan struct{}

func (*AlwaysLockMock) Release

func (l *AlwaysLockMock) Release() error

func (*AlwaysLockMock) TryLock

func (l *AlwaysLockMock) TryLock(ctx context.Context) error

type NoopOut

type NoopOut struct {
	fx.Out
	TestSyncManager dsync.SyncManager `group:"dsync"`
}

func ProvideNoopSyncManager

func ProvideNoopSyncManager() NoopOut

type SimpleSyncManagerMock

type SimpleSyncManagerMock struct{}

func (SimpleSyncManagerMock) Lock

Jump to

Keyboard shortcuts

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