store

package
v0.0.0-...-bee9f94 Latest Latest
Warning

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

Go to latest
Published: Sep 6, 2022 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Implementation

type Implementation interface {
	Snap() (*snapshot.Snapshot, error)
}

type Store

type Store struct {
	SpecURL string
	Driver  Implementation
}

func New

func New(specURL string) (s Store, err error)

func (*Store) ReadArtifacts

func (s *Store) ReadArtifacts() ([]run.Artifact, error)

ReadArtifacts returns the combined list of artifacts from every store attached to the watcher

func (*Store) Snap

func (s *Store) Snap() (*snapshot.Snapshot, error)

Snap calls the underlying driver's Snap method to capture the current store's state into a snapshot

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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