Help us shape the future of Go! Take the 2026 Go Developer Survey

storageobs

package
v1.50.0 Latest Latest
Warning

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

Go to latest
Published: Jul 16, 2026 License: Apache-2.0 Imports: 1 Imported by: 2

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