output

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2022 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Output

type Output struct {
	// Number of the snapshot provided by snapper.
	Number int `json:"num"`

	// Type of the snapshot from snapper.
	Type string `json:"type"`

	// Date is when the snapshot was taken.
	Date string `json:"timestamp"`

	// Descr is a description of a snapshot.
	Descr string `json:"descr"`

	// UserData additional metadata provided by backup.
	UserData string `json:"userData"`
}

Output presents information about a snapshot

type Outputs

type Outputs struct {
	Snapshots []Output
}

func New

func New(outs []Output) Outputs

func (Outputs) Table

func (outs Outputs) Table()

Jump to

Keyboard shortcuts

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