buildinfostore

package
v0.0.0-...-b7a57f2 Latest Latest
Warning

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

Go to latest
Published: Mar 14, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrBuildInfoDoesNotExist = fmt.Errorf("build info does not exist")
View Source
var ErrBuildInfoInvalid = fmt.Errorf("build info is invalid")

Functions

This section is empty.

Types

type Store

type Store interface {
	NewBuildInfo(id string, _ *buildinfo.I) error

	GetBuildInfo(id string) (*buildinfo.I, error)
	GetBuildInfos() ([]*buildinfo.I, error)

	BuildInfoExists(id string) bool

	Clean() error
}

func New

func New(dir string) Store

New creates a filestore. The caller is responsible to pass a existing directory.

func NewProtoStore

func NewProtoStore(dir string) Store

NewProtoStore creates a proto store. The caller is responsible to pass an existing directory

Jump to

Keyboard shortcuts

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