pluginbuilder

package
v0.0.0-...-0db2d21 Latest Latest
Warning

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

Go to latest
Published: Jun 12, 2018 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const TmpDir = "tmp"

TmpDir defines the path to tmp dir

Variables

This section is empty.

Functions

This section is empty.

Types

type PluginBuilder

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

PluginBuilder stores data for building the plugin

func NewPluginBuilder

func NewPluginBuilder(p plugin.Plugin) *PluginBuilder

NewPluginBuilder creats a new PluginBuilder

func (*PluginBuilder) Build

func (b *PluginBuilder) Build()

Build creates the data

func (*PluginBuilder) CleanUp

func (b *PluginBuilder) CleanUp() error

CleanUp cleans and remove all tmp files

func (*PluginBuilder) GetZipFile

func (b *PluginBuilder) GetZipFile() string

GetZipFile return the path to zip file

func (*PluginBuilder) Zip

func (b *PluginBuilder) Zip() error

Zip creates a Zip File

Jump to

Keyboard shortcuts

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