Documentation ¶
Index ¶
Constants ¶
View Source
const ( // Reference: https://yaml.org/spec/1.2/spec.html // YAMLDelimiter string = "\n---\n" )
Variables ¶
View Source
var Version string
Functions ¶
This section is empty.
Types ¶
type Archive ¶
type Archive struct { // Reference path for the archive on disk Path string // Manifests are valid Kubernetes manifests Manifests []*Manifest // Files is every file in the directory Files map[string]*fs.FileInfo }
func NewArchive ¶
NewArchive will create a new archive from a registered path By convention the path should be the directory that may or may not exist for a specific archive.
path: directory to consider
func (*Archive) Extract ¶
Extract will restore an archive from memory
dir: the name of the directory to write
func (*Archive) LoadManifests ¶
LoadManifests will attempt to parse a Kubernetes manifest and sync it's relevant embedded images locally
func (*Archive) WriteArchive ¶
WriteArchive will write an archive to a given path
type EmbeddedImage ¶
type EmbeddedImage struct { }
Click to show internal directories.
Click to hide internal directories.