Documentation
¶
Index ¶
- func Apps(apps []App, format string)
- func Backups(backups []velerov1.Backup, format string)
- func ConfigValidationErrors(log *logger.CLILogger, ...)
- func LintResult(result *types.LintResult, format string, verbose bool) error
- func NewTabWriter() *tabwriter.Writer
- func PreflightResults(results preflighttypes.PreflightResults)
- func Restores(restores []velerov1.Restore, format string)
- func VeleroInstallationInstructionsForCLI(log *logger.CLILogger, plugin snapshottypes.VeleroPlugin, ...)
- func Versions(versions []AppVersionResponse, format string)
- type App
- type AppVersionResponse
- type VeleroInstallationInstruction
- type VeleroInstallationInstructionType
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConfigValidationErrors ¶ added in v1.98.0
func ConfigValidationErrors(log *logger.CLILogger, groupValidationErrors []configtypes.ConfigGroupValidationError)
func LintResult ¶ added in v1.129.0
func LintResult(result *types.LintResult, format string, verbose bool) error
LintResult prints the lint result in the specified format
func NewTabWriter ¶
func PreflightResults ¶ added in v1.104.1
func PreflightResults(results preflighttypes.PreflightResults)
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 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"`
ChannelID string `json:"channelId"`
ChannelSequence int64 `json:"channelSequence"`
}
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" )
Click to show internal directories.
Click to hide internal directories.