print

package
v1.94.1 Latest Latest
Warning

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

Go to latest
Published: Feb 13, 2023 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Apps

func Apps(apps []App, format string)

func Backups

func Backups(backups []velerov1.Backup, format string)

func NewTabWriter

func NewTabWriter() *tabwriter.Writer

func Restores

func Restores(restores []velerov1.Restore, format string)

func VeleroInstallationInstructionsForCLI added in v1.94.0

func VeleroInstallationInstructionsForCLI(log *logger.CLILogger, plugin snapshottypes.VeleroPlugin, registryConfig *kotsadmtypes.RegistryConfig, kotsConfigureCommand string)

func Versions

func Versions(versions []AppVersionResponse, format string)

Types

type App

type App struct {
	Slug         string `json:"slug"`
	State        string `json:"state"`
	VersionLabel string `json:"versionlabel"`
}

type AppVersionResponse

type AppVersionResponse struct {
	VersionLabel string     `json:"versionLabel"`
	Sequence     int64      `json:"sequence"`
	CreatedOn    time.Time  `json:"createdOn"`
	Status       string     `json:"status"`
	DeployedAt   *time.Time `json:"deployedAt"`
	Source       string     `json:"source"`
}

type VeleroInstallationInstruction added in v1.94.0

type VeleroInstallationInstruction struct {
	Title  string                            `json:"title"`
	Action string                            `json:"action"`
	Type   VeleroInstallationInstructionType `json:"type"`
}

func VeleroInstallationInstructionsForUI added in v1.94.0

func VeleroInstallationInstructionsForUI(plugin snapshottypes.VeleroPlugin, registryConfig *kotsadmtypes.RegistryConfig, kotsConfigureCommand string) []VeleroInstallationInstruction

type VeleroInstallationInstructionType added in v1.94.0

type VeleroInstallationInstructionType string
const (
	VeleroInstallationInstructionCommand VeleroInstallationInstructionType = "command"
	VeleroInstallationInstructionLink    VeleroInstallationInstructionType = "link"
)

Jump to

Keyboard shortcuts

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