disk

package
v1.1.5-rc1 Latest Latest
Warning

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

Go to latest
Published: Nov 15, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DiskUsageCalculator

type DiskUsageCalculator struct {
	// contains filtered or unexported fields
}

func NewDiskUsageCalculator

func NewDiskUsageCalculator(params DiskUsageCalculatorParams) *DiskUsageCalculator

func (*DiskUsageCalculator) Calculate

func (c *DiskUsageCalculator) Calculate(ctx context.Context, job models.Job, parsedUsage models.Resources) (*models.Resources, error)

type DiskUsageCalculatorParams

type DiskUsageCalculatorParams struct {
	Storages storage.StorageProvider
}

Jump to

Keyboard shortcuts

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