configurecontainers

package
v0.0.0-...-84afe80 Latest Latest
Warning

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

Go to latest
Published: Apr 17, 2017 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

View Source
const (
	//Action values
	INSTALL   = "Install"
	UNINSTALL = "Uninstall"
)

Variables

This section is empty.

Functions

func Name

func Name() string

Name returns the name of the plugin

Types

type ConfigureContainerPluginInput

type ConfigureContainerPluginInput struct {
	contracts.PluginInput
	ID     string
	Action string
}

ConfigureContainerPluginInput represents one set of commands executed by the configure container plugin.

type Plugin

type Plugin struct {
	pluginutil.DefaultPlugin
}

Plugin is the type for the plugin.

func NewPlugin

func NewPlugin(pluginConfig pluginutil.PluginConfig) (*Plugin, error)

NewPlugin returns a new instance of the plugin.

func (*Plugin) Execute

func (p *Plugin) Execute(context context.T, config contracts.Configuration, cancelFlag task.CancelFlag, pluginRunner runpluginutil.PluginRunner) (res contracts.PluginResult)

Execute runs multiple sets of commands and returns their outputs. res.Output will contain a slice of ConfigureContainerPluginOutput.

Directories

Path Synopsis
Package windowscontainerutil implements the the install and uninstall steps for windows for the configurecontainers plugin.
Package windowscontainerutil implements the the install and uninstall steps for windows for the configurecontainers plugin.

Jump to

Keyboard shortcuts

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