bundler

package
v0.0.0-...-edca319 Latest Latest
Warning

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

Go to latest
Published: Jan 11, 2021 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func StaticBundler

func StaticBundler(
	fs afero.Fs, root, containerName string, typ BundleType,
) (io.Reader, error)

StaticBundler creates a file bundle specified by the bundle type.

Types

type BundleType

type BundleType string

BundleType specifies the type of bundling for the trails-config

var (
	// Gzip content type for application/gzip
	Gzip BundleType = "gzip"

	// Tar content type for application/tar
	Tar BundleType = "tar"

	// Zip content type for application/zip
	Zip BundleType = "zip"
)

Jump to

Keyboard shortcuts

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