cli

package
v0.1.0-beta Latest Latest
Warning

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

Go to latest
Published: Aug 30, 2026 License: MIT Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	SnapsentryVersion string
	SnapsentryCommit  string
	SnapsentryDate    string
)

Functions

func Execute

func Execute() error

Types

type AdminOptions

type AdminOptions struct {
	Kubeconfig                string
	Incluster                 bool
	ControllerRequestCpu      string
	ControllerRequestMem      string
	ControllerLimitCpu        string
	ControllerLimitMem        string
	ControllerNamespace       string
	ControllerSnapsentryImage string
}

type DaemonOptions

type DaemonOptions struct {
	CreateSchedule string
	ExpireSchedule string
	BindAddress    string
	BindPort       int
	WebUI          bool
}

type RootOptions

type RootOptions struct {
	CloudProfile        string
	LogLevel            string
	Timeout             int
	WebhookURL          string   // Deprecated, use --all-notifier or --failure-notifier instead.
	AllNotifiers        []string // Notified for both success and failure events
	FailureNotifiers    []string // Notified only for failure events.
	NotificationTargets []notifications.NotificationTarget
}

type SubscribeOptions

type SubscribeOptions struct {
	VolumeID      string
	EnablePolicy  bool
	RetentionDays int
	StartTime     string
	TimeZone      string
	WeekDay       string // Weekly only
	DayOfMonth    int    // Monthly only
	IntervalHours int    // Express only
}

Flags for subscribe sub-commands

Jump to

Keyboard shortcuts

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