upgradelog

package
v1.4.0-rc5 Latest Latest
Warning

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

Go to latest
Published: Nov 6, 2024 License: Apache-2.0 Imports: 33 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetUpgradeLogPvcName

func GetUpgradeLogPvcName(upgradeLog *harvesterv1.UpgradeLog) string

Returns the name of the log-archive PVC. If an alternative name is set in the annotation, return it instead. For backward compatibility, the returned name is constructed by concatenating the upgrade log name and "log-archive".

func Register

func Register(ctx context.Context, management *config.Management, options config.Options) error

func SetUpgradeLogArchive

func SetUpgradeLogArchive(upgradeLog *harvesterv1.UpgradeLog, archiveName string, archiveSize int64, generatedTime string)

Types

type Image added in v1.2.0

type Image struct {
	Repository string `mapstructure:"repository"`
	Tag        string `mapstructure:"tag"`
}

type Values added in v1.2.0

type Values struct {
	Images map[string]Image `mapstructure:"images"`
}

Jump to

Keyboard shortcuts

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