mocks

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: May 8, 2026 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Store

type Store struct {
	CreateSnapshotRequestFn       func(context.Context, *snapshot.Request) error
	UpdateSnapshotRequestFn       func(context.Context, uint, *snapshot.Request) error
	GetSnapshotRequestsByStatusFn func(ctx context.Context, status snapshot.Status) ([]*snapshot.Request, error)
	GetSnapshotRequestsBySchemaFn func(ctx context.Context, s string) ([]*snapshot.Request, error)
	// contains filtered or unexported fields
}

func (*Store) Close

func (m *Store) Close() error

func (*Store) CreateSnapshotRequest

func (m *Store) CreateSnapshotRequest(ctx context.Context, s *snapshot.Request) error

func (*Store) GetSnapshotRequestsBySchema

func (m *Store) GetSnapshotRequestsBySchema(ctx context.Context, s string) ([]*snapshot.Request, error)

func (*Store) GetSnapshotRequestsByStatus

func (m *Store) GetSnapshotRequestsByStatus(ctx context.Context, status snapshot.Status) ([]*snapshot.Request, error)

func (*Store) UpdateSnapshotRequest

func (m *Store) UpdateSnapshotRequest(ctx context.Context, s *snapshot.Request) error

Jump to

Keyboard shortcuts

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