datastore

package
v0.0.0-...-badfa59 Latest Latest
Warning

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

Go to latest
Published: Feb 27, 2020 License: MPL-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 NoRowErr

type NoRowErr struct{}

func (NoRowErr) Error

func (err NoRowErr) Error() string

type RegistryStore

type RegistryStore struct {
	DB *sqlx.DB
}

func NewRegistryStore

func NewRegistryStore(db *sqlx.DB) *RegistryStore

func (*RegistryStore) GetJobRegistration

func (rs *RegistryStore) GetJobRegistration(jobID uint64) (registration.Registration, error)

type Storage

type Storage interface {
	GetJobRegistration(jobID uint64) (registration.Registration, error)
}

Jump to

Keyboard shortcuts

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