support

package
v0.15.1 Latest Latest
Warning

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

Go to latest
Published: Feb 27, 2026 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuildSupportStats

func BuildSupportStats(logger *logging.Logger, hostname string, proxmoxType types.ProxmoxType, proxmoxVersion, toolVersion string, startTime, endTime time.Time, exitCode int, mode string) *orchestrator.BackupStats

BuildSupportStats builds a minimal BackupStats suitable for support email/log attachment.

func SendEmail

func SendEmail(ctx context.Context, cfg *config.Config, logger *logging.Logger, proxmoxType types.ProxmoxType, stats *orchestrator.BackupStats, meta Meta, buildSignature string)

Types

type Meta

type Meta struct {
	GitHubUser string
	IssueID    string
}

func RunIntro

func RunIntro(ctx context.Context, bootstrap *logging.BootstrapLogger) (meta Meta, ok bool, interrupted bool)

RunIntro prompts for consent and GitHub metadata. ok=false means the user declined or aborted; interrupted=true means context cancel / Ctrl+C.

Jump to

Keyboard shortcuts

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