checkpoint

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Nov 30, 2021 License: MPL-2.0 Imports: 15 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LatestVersion

type LatestVersion struct {
	Product                  product.Product
	Timeout                  time.Duration
	SkipChecksumVerification bool
	InstallDir               string

	// ArmoredPublicKey is a public PGP key in ASCII/armor format to use
	// instead of built-in pubkey to verify signature of downloaded checksums
	ArmoredPublicKey string
	// contains filtered or unexported fields
}

LatestVersion installs the latest version known to Checkpoint to OS temp directory, or to InstallDir (if not empty)

func (*LatestVersion) Install

func (lv *LatestVersion) Install(ctx context.Context) (string, error)

func (*LatestVersion) IsSourceImpl

func (*LatestVersion) IsSourceImpl() isrc.InstallSrcSigil

func (*LatestVersion) Remove

func (lv *LatestVersion) Remove(ctx context.Context) error

func (*LatestVersion) SetLogger

func (lv *LatestVersion) SetLogger(logger *log.Logger)

func (*LatestVersion) Validate

func (lv *LatestVersion) Validate() error

Jump to

Keyboard shortcuts

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