configurepackage

package
v0.0.0-...-a9ed6da Latest Latest
Warning

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

Go to latest
Published: May 7, 2018 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Overview

Package configurepackage implements the ConfigurePackage plugin.

Package configurepackage implements the ConfigurePackage plugin. configurepackage_deps contains platform dependencies that should be able to be stubbed out in tests

Package configurepackage implements the ConfigurePackage plugin.

Index

Constants

View Source
const (
	// InstallAction represents the json command to install package
	InstallAction = "Install"
	// UninstallAction represents the json command to uninstall package
	UninstallAction = "Uninstall"
)

Variables

This section is empty.

Functions

func Name

func Name() string

Name returns the name of the plugin.

Types

type ConfigurePackagePluginInput

type ConfigurePackagePluginInput struct {
	contracts.PluginInput
	Name       string `json:"name"`
	Version    string `json:"version"`
	Action     string `json:"action"`
	Source     string `json:"source"`
	Repository string `json:"repository"`
}

ConfigurePackagePluginInput represents one set of commands executed by the ConfigurePackage plugin.

type Plugin

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

Plugin is the type for the configurepackage plugin.

func NewPlugin

func NewPlugin() (*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, output iohandler.IOHandler)

Execute runs the plugin operation and returns output

Directories

Path Synopsis
facade
This interface is created manally based on the ssmiface.SSMAPI.
This interface is created manally based on the ssmiface.SSMAPI.
Package installer implements interfaces for installing and uninstalling packages
Package installer implements interfaces for installing and uninstalling packages
mock
Package installer_mock implements the mock for the installer package
Package installer_mock implements the mock for the installer package
Package localpackages implements the local storage for packages managed by the ConfigurePackage plugin.
Package localpackages implements the local storage for packages managed by the ConfigurePackage plugin.
mock
Package repository_mock implements the mock for Repository.
Package repository_mock implements the mock for Repository.
Package ssminstaller implements the installer for ssm packages that use documents or scripts to install and uninstall.
Package ssminstaller implements the installer for ssm packages that use documents or scripts to install and uninstall.

Jump to

Keyboard shortcuts

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