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 RmReportsIds ¶
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
Click to show internal directories.
Click to hide internal directories.