cli

package
v0.1.1-beta Latest Latest
Warning

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

Go to latest
Published: Oct 25, 2026 License: MIT Imports: 18 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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