datastore

package
v0.40.0 Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2022 License: MIT Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NeedToShrink added in v0.36.0

func NeedToShrink(u string) bool

Types

type Datastore

type Datastore interface {
	Put(ctx context.Context, path string, content []byte) error
	StoreReport(ctx context.Context, r *report.Report) error
	FS() (fs.FS, error)
}

func New added in v0.14.0

func New(ctx context.Context, u string, hints ...HintFunc) (Datastore, error)

type DatastoreType added in v0.14.0

type DatastoreType int

type HintFunc added in v0.40.0

type HintFunc func(*hint) error

func Report added in v0.40.0

func Report(r *report.Report) HintFunc

Report hint for artifact datastore

func Root added in v0.40.0

func Root(p string) HintFunc

Root hint for local datastore

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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