install

package module
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: May 10, 2022 License: MPL-2.0 Imports: 7 Imported by: 0

README

hc-install

NOTE (!) This is a fork of HashiCorp's hc-install, modified for specific use in CI.

This repository will become defunct when upstream supports using hc-install as a command.

Getting Started

The hc-install command can be installed by running

go install gophers.dev/cmds/hc-install/cmd/hc-install@latest

Usage

hc-install [product] [version]

Currently only supports installing consul and vault.

License

The upstream github.com/hashicorp/hc-install repository is open source under the MPL

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Installer

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

func NewInstaller

func NewInstaller() *Installer

func (*Installer) Ensure

func (i *Installer) Ensure(ctx context.Context, sources []src.Source) (string, error)

func (*Installer) Install

func (i *Installer) Install(ctx context.Context, sources []src.Installable) (string, error)

func (*Installer) Remove

func (i *Installer) Remove(ctx context.Context) error

func (*Installer) SetLogger

func (i *Installer) SetLogger(logger *log.Logger)

type RemoveFunc

type RemoveFunc func(ctx context.Context) error

Directories

Path Synopsis
cmd
internal
src

Jump to

Keyboard shortcuts

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