app

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: May 4, 2024 License: MIT Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Debug

func Debug(ctx contexts.Context, network string, addr string)

func DeleteBackup

func DeleteBackup(ctx contexts.Context, input *types.DeleteBackupRequest) error

func ListBackups

func ListBackups(ctx contexts.Context) error

func Rotate added in v0.0.9

func Rotate(ctx contexts.Context, input *types.RotateBackupsRequest) error

func Version

func Version(ctx contexts.Context)

Types

type Period added in v0.0.9

type Period struct {
	From string `json:"from"`
	To   string `json:"to"`
}

type RotatePolicies added in v0.0.9

type RotatePolicies struct {
	Policies []RotatePolicy `json:"policies"`
}

type RotatePolicy added in v0.0.9

type RotatePolicy struct {
	Period Period `json:"period"`
	Keep   int    `json:"keep"`
}

Jump to

Keyboard shortcuts

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