storageobs

package
v1.54.2 Latest Latest
Warning

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

Go to latest
Published: Nov 23, 2026 License: Apache-2.0 Imports: 1 Imported by: 3 modules, 2 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Code generated by cloud-observability; 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))
	// contains filtered or unexported methods
}

func NewNoopEventReporter

func NewNoopEventReporter() EventReporter

type EventService

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

type EventTx

type EventTx interface {
	Project() ProjectTx
	// contains filtered or unexported methods
}

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)
	// contains filtered or unexported methods
}

func NewNoopProjectReporter

func NewNoopProjectReporter() ProjectReporter

type ProjectTx

type ProjectTx interface {
	// contains filtered or unexported methods
}

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