Documentation
¶
Overview ¶
Package du is the link between cloud storage and du (disk usage) data
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AzureBlobInventoryReportConfig ¶
type AzureBlobInventoryReportConfig struct { AzureStorageConnectionString string `` /* 258-byte string literal not displayed */ BlobInventoryContainer string `yaml:"BlobInventoryContainer" default:"blob-inventory"` MaxMemory string `yaml:"maxMemory" default:"1GB"` Threads int `yaml:"threads" default:"4"` }
func (*AzureBlobInventoryReportConfig) UnmarshalYAML ¶
func (c *AzureBlobInventoryReportConfig) UnmarshalYAML(unmarshal func(any) error) error
type AzureBlobInventoryReportDuReader ¶
type AzureBlobInventoryReportDuReader struct {
// contains filtered or unexported fields
}
func NewAzureBlobInventoryReportDuReader ¶
func NewAzureBlobInventoryReportDuReader(config AzureBlobInventoryReportConfig) *AzureBlobInventoryReportDuReader
func (*AzureBlobInventoryReportDuReader) GetStorageAccountName ¶ added in v0.1.1
func (ar *AzureBlobInventoryReportDuReader) GetStorageAccountName() string
func (*AzureBlobInventoryReportDuReader) TestConnection ¶
func (ar *AzureBlobInventoryReportDuReader) TestConnection() error
type Reader ¶
type Reader interface { Read(previousRunDate time.Time) (runDate time.Time, rows <-chan Row, errs <-chan error, err error) TestConnection() error GetStorageAccountName() string }
Reader provides Row s from a cloud storage provider
The runDate indicates the actuality of the data. If there is no new data, the returned runDate will be the same and the channel nil.
Click to show internal directories.
Click to hide internal directories.