checkrepo

package
v0.3.7-alpha6 Latest Latest
Warning

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

Go to latest
Published: Oct 29, 2022 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Repo

type Repo interface {
	GetAllByRoundID(ctx context.Context, roundID uint64) ([]*check.Check, error)
	GetAllByServiceID(ctx context.Context, serviceID uuid.UUID) ([]*check.Check, error)
	GetByRoundServiceID(ctx context.Context, roundID uint64, serviceID uuid.UUID) (*check.Check, error)
	Delete(ctx context.Context, roundID uint64, serviceID uuid.UUID) error
	GetAll(ctx context.Context) ([]*check.Check, error)
	Store(ctx context.Context, u []*check.Check) error
	Upsert(ctx context.Context, u []*check.Check) error
	TruncateTable(ctx context.Context) error
}

Jump to

Keyboard shortcuts

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