reports

package
v6.0.0-...-559dce7 Latest Latest
Warning

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

Go to latest
Published: Mar 1, 2026 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PruneReportsErrs

func PruneReportsErrs(r []*PruneReport) []error

func PruneReportsIds

func PruneReportsIds(r []*PruneReport) []string

func PruneReportsSize

func PruneReportsSize(r []*PruneReport) uint64

func RmReportsErrs

func RmReportsErrs(r []*RmReport) []error

func RmReportsIds

func RmReportsIds(r []*RmReport) []string

Types

type PruneReport

type PruneReport struct {
	Id   string `json:"Id"`
	Err  error  `json:"Err,omitempty"`
	Size uint64 `json:"Size"`
}

func (*PruneReport) MarshalJSON

func (pr *PruneReport) MarshalJSON() ([]byte, error)

func (*PruneReport) UnmarshalJSON

func (pr *PruneReport) UnmarshalJSON(data []byte) error

type RmReport

type RmReport struct {
	Id       string `json:"Id"`
	Err      error  `json:"Err,omitempty"`
	RawInput string `json:"-"`
}

type ScpReport

type ScpReport struct {
	Id string `json:"Id"`
}

Jump to

Keyboard shortcuts

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