archive

package
v0.2.11 Latest Latest
Warning

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

Go to latest
Published: Nov 10, 2020 License: MPL-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const MaxConfigSize = 1024 * 1024

ConfigMap/etcd only supports data payload of up to 1MB, which limits the size of the config that can be can be uploaded (after compression). https://github.com/kubernetes/kubernetes/issues/19781

Variables

This section is empty.

Functions

func Create

func Create(root string) ([]byte, error)

Create gzipped tarball of *.tf files in root directory

func CreateTar

func CreateTar(w io.Writer, paths []string) error

func CreateTarGz

func CreateTarGz(w io.Writer, paths []string) error

func Extract

func Extract(src, dest string) (files int, err error)

Untar gzipped tarball src to dest directory

Types

This section is empty.

Jump to

Keyboard shortcuts

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