example

package
v0.2.11 Latest Latest
Warning

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

Go to latest
Published: Jul 17, 2015 License: Apache-2.0 Imports: 5 Imported by: 0

README

Example

This is an example plugin for Interlock. It gives a base working plugin to use as a reference.

It simply echoes that an event has been received.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewPlugin

func NewPlugin(interlockConfig *interlock.Config, client *dockerclient.DockerClient) (interlock.Plugin, error)

Types

type ExamplePlugin

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

func (ExamplePlugin) HandleEvent

func (p ExamplePlugin) HandleEvent(event *dockerclient.Event) error

func (ExamplePlugin) Info

func (ExamplePlugin) Init

func (p ExamplePlugin) Init() error

Jump to

Keyboard shortcuts

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