autoupdate

package
v0.6.1 Latest Latest
Warning

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

Go to latest
Published: Jun 23, 2021 License: BSD-3-Clause Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func StartAutoupdateLoop

func StartAutoupdateLoop(ctx context.Context, c *Config)

StartAutoupdateLoop is the background process which updates agent periodically

Types

type Config

type Config struct {
	BinaryPath    string
	BinaryVersion string
	UpdatePolicy  string // controls auto-update source
}

Config define configuration for pgSCV auto-update procedure.

Jump to

Keyboard shortcuts

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