ssminstaller

package
v0.0.0-...-0117b6e Latest Latest
Warning

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

Go to latest
Published: May 2, 2024 License: Apache-2.0 Imports: 20 Imported by: 2

Documentation

Overview

Package ssminstaller implements the installer for ssm packages that use documents or scripts to install and uninstall.

Index

Constants

View Source
const (
	ACTION_TYPE_SH   ActionType = iota
	ACTION_TYPE_PS1  ActionType = iota
	ACTION_INSTALL              = "install"
	ACTION_UPDATE               = "update"
	ACTION_VALIDATE             = "validate"
	ACTION_UNINSTALL            = "uninstall"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Action

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

type ActionType

type ActionType uint8

type Installer

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

func New

func New(packageName string,
	version string,
	additionalArguments string,
	packagePath string,
	configuration contracts.Configuration,
	envdetectCollector envdetect.Collector) *Installer

func (*Installer) Install

func (inst *Installer) Install(tracer trace.Tracer, context context.T) contracts.PluginOutputter

func (*Installer) PackageName

func (inst *Installer) PackageName() string

func (*Installer) Uninstall

func (inst *Installer) Uninstall(tracer trace.Tracer, context context.T) contracts.PluginOutputter

func (*Installer) Update

func (inst *Installer) Update(tracer trace.Tracer, context context.T) contracts.PluginOutputter

func (*Installer) Validate

func (inst *Installer) Validate(tracer trace.Tracer, context context.T) contracts.PluginOutputter

func (*Installer) Version

func (inst *Installer) Version() string

Jump to

Keyboard shortcuts

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