archive

package
v0.8.0-rc3 Latest Latest
Warning

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

Go to latest
Published: Dec 9, 2016 License: MPL-2.0 Imports: 12 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
}

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

Jump to

Keyboard shortcuts

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