storageobs

package
v1.45.1 Latest Latest
Warning

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

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

Documentation

Overview

Code generated; DO NOT EDIT.

Index

Constants

View Source
const Version_AP8D1RO = true

Variables

This section is empty.

Functions

This section is empty.

Types

type EventOperation

type EventOperation string
const (
	EventOperationUndefined EventOperation = ""
	EventOperationUpload    EventOperation = "upload"
	EventOperationDownload  EventOperation = "download"
)

type EventReporter

type EventReporter interface {
	RegisterFunc(func(ts time.Time, tx EventTx) bool)
	Tx(func(tx EventTx))
	TxAt(time.Time, func(tx EventTx))
	EventTx
}

func NewNoopEventReporter

func NewNoopEventReporter() EventReporter

type EventService

type EventService string
const (
	EventServiceUndefined EventService = ""
	EventServiceEgress    EventService = "egress"
	EventServiceReplay    EventService = "replay"
)

type EventTx

type EventTx interface {
	ReportService(v EventService)
	ReportServiceID(v string)
	ReportOperation(v EventOperation)
	ReportPath(v string)
	ReportSize(v uint64)
	ReportLifetime(v uint64)
}

type KeyResolver

type KeyResolver interface {
	Resolve(string)
	Reset()
}

type ProjectReporter

type ProjectReporter interface {
	RegisterFunc(func(ts time.Time, tx ProjectTx) bool)
	Tx(func(tx ProjectTx))
	TxAt(time.Time, func(tx ProjectTx))
	WithEvent(id string) EventReporter
	WithDeferredEvent() (EventReporter, KeyResolver)
	ProjectTx
}

func NewNoopProjectReporter

func NewNoopProjectReporter() ProjectReporter

type ProjectTx

type ProjectTx interface{}

type Reporter

type Reporter interface {
	WithProject(id string) ProjectReporter
	WithDeferredProject() (ProjectReporter, KeyResolver)
}

func NewNoopReporter

func NewNoopReporter() Reporter

type Rollup

type Rollup string
const (
	RollupUndefined Rollup = ""
	RollupProject   Rollup = "project"
)

Jump to

Keyboard shortcuts

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