Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MapStore ¶ added in v0.100.0
type MapStore struct {
// contains filtered or unexported fields
}
MapStore represents the fully rendered manifests build from the holos rendering pipeline. Files are organized by keys representing paths relative to the current working directory. Values represent the file content.
type Store ¶ added in v0.100.0
type Store interface { Get(path string) (data []byte, ok bool) Set(path string, data []byte) error // Save previously set path to dir preserving directories. Save(dir, path string) error }
Store sets and gets data for file artifacts.
Concrete values must ensure Set is write once, returning an error if a given FilePath was previously Set. Concrete values must be safe for concurrent reads and writes. Use NewStore to create a new concrete value.
Click to show internal directories.
Click to hide internal directories.