updater

package
v1.43.0 Latest Latest
Warning

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

Go to latest
Published: Jan 23, 2024 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Overview

Package updater handles all aspects of updating the collector from a provided archive

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Updater

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

Updater is a struct that can be used to perform a collector update

func NewUpdater

func NewUpdater(logger *zap.Logger, installDir string) (*Updater, error)

NewUpdater creates a new updater which can be used to update the installation based at installDir

func (*Updater) Update

func (u *Updater) Update() error

Update performs the update of the collector binary

Jump to

Keyboard shortcuts

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