kontext

package
v0.16.1 Latest Latest
Warning

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

Go to latest
Published: Jul 15, 2020 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Overview

Package kontext is a set of utilities for bundling up a local directory context within CLIs into a self-extracting container image that when run will expand its payload into the working directory. It is based on github.com/mattmoor/kontext.

Index

Constants

View Source
const (
	// StoragePath is where in the container image the files are placed.
	StoragePath = "/var/run/kontext"
)

Variables

View Source
var (
	BaseImageString = "docker.io/mattmoor/kontext-expander:latest"
	// BaseImage is where we publish ./cmd/kontext-expander
	BaseImage, _ = name.NewTag(BaseImageString)
)

Functions

func Bundle

func Bundle(ctx context.Context, directory string, tag name.Tag) (name.Digest, error)

func Expand

func Expand(ctx context.Context) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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