filemap

package
v1.5.0 Latest Latest
Warning

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

Go to latest
Published: Aug 17, 2023 License: MPL-2.0 Imports: 7 Imported by: 0

Documentation

Overview

Package filemap provides a way to create reproducible layers from a file system.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Layer

func Layer(filemap []File) (v1.Layer, error)

Layer creates a layer from a single file map.

These layers are reproducible and consistent.

A filemap is a path -> file content map representing a file system.

Types

type File

type File struct {
	ImagePath  string
	SourcePath string
}

File is a path -> file content map representing a file system.

Jump to

Keyboard shortcuts

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