hooks

package
v0.7.2 Latest Latest
Warning

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

Go to latest
Published: Mar 15, 2016 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

Package hooks implements hook script support.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HookError

type HookError struct {
	Hook    string
	Command string
	Output  string
}

HookError represents a failed hook command.

func (*HookError) Error

func (e *HookError) Error() string

Error string.

type Plugin

type Plugin struct{}

Plugin implementation.

func (*Plugin) Build added in v0.6.0

func (p *Plugin) Build(fn *function.Function, zip *archive.Archive) error

Build runs the "build" hook commands.

func (*Plugin) Clean added in v0.6.0

func (p *Plugin) Clean(fn *function.Function) error

Clean runs the "clean" hook commands.

func (*Plugin) Deploy added in v0.6.0

func (p *Plugin) Deploy(fn *function.Function) error

Deploy runs the "deploy" hook commands.

Jump to

Keyboard shortcuts

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