archive

package
v0.9.4 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2017 License: MPL-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Provider

func Provider() terraform.ResourceProvider

Types

type Archiver

type Archiver interface {
	ArchiveContent(content []byte, infilename string) error
	ArchiveFile(infilename string) error
	ArchiveDir(indirname string) error
	ArchiveMultiple(content map[string][]byte) error
}

func NewZipArchiver

func NewZipArchiver(filepath string) Archiver

type ArchiverBuilder

type ArchiverBuilder func(filepath string) Archiver

type ZipArchiver

type ZipArchiver struct {
	// contains filtered or unexported fields
}

func (*ZipArchiver) ArchiveContent

func (a *ZipArchiver) ArchiveContent(content []byte, infilename string) error

func (*ZipArchiver) ArchiveDir

func (a *ZipArchiver) ArchiveDir(indirname string) error

func (*ZipArchiver) ArchiveFile

func (a *ZipArchiver) ArchiveFile(infilename string) error

func (*ZipArchiver) ArchiveMultiple added in v0.8.5

func (a *ZipArchiver) ArchiveMultiple(content map[string][]byte) error

Jump to

Keyboard shortcuts

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