autoupdate

package
v1.0.100 Latest Latest
Warning

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

Go to latest
Published: Nov 29, 2023 License: BSD-3-Clause Imports: 15 Imported by: 0

Documentation

Overview

Package autoupdate implements Thelma's self-install and self-update features

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AutoUpdate

type AutoUpdate interface {
	// Update performs a foreground update of Thelma to the current version of its configured tag
	Update() error
	// UpdateTo performs a foreground update of Thelma to a specific version
	UpdateTo(version string) error
	// StartBackgroundUpdateIfEnabled start a new process that will update Thelma in the background
	StartBackgroundUpdateIfEnabled() error
	// Bootstrap set up a new Thelma installation, including generating shell scripts
	Bootstrap() error
}

func New

func New(thelmaConfig config.Config, bucketFactory api.BucketFactory, root root.Root, runner shell.Runner, scratch scratch.Scratch) (AutoUpdate, error)

Directories

Path Synopsis
Package bootstrap handles initial installation for Thelma.
Package bootstrap handles initial installation for Thelma.
Package manifest contains logic for parsing Thelma build manifests
Package manifest contains logic for parsing Thelma build manifests

Jump to

Keyboard shortcuts

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