installer

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: 3 Imported by: 6

Documentation

Overview

Package installer implements interfaces for installing and uninstalling packages

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Installer

type Installer interface {
	Install(tracer trace.Tracer, context context.T) contracts.PluginOutputter
	Uninstall(tracer trace.Tracer, context context.T) contracts.PluginOutputter
	Update(tracer trace.Tracer, context context.T) contracts.PluginOutputter
	Validate(tracer trace.Tracer, context context.T) contracts.PluginOutputter // TODO:MF consider whether we can remove validate in V1 - I think it depends on having truly idempotent installers for anything that reboots
	PackageName() string
	Version() string
}

Installer is used to install, uninstall, or update a package that exists in the local repository.

Directories

Path Synopsis
Package installer_mock implements the mock for the installer package
Package installer_mock implements the mock for the installer package

Jump to

Keyboard shortcuts

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