debuginfo

package
v1.19.0 Latest Latest
Warning

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

Go to latest
Published: Mar 13, 2026 License: AGPL-3.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ReasonFirstTimeSeen          = "First time we see this Build ID, therefore please upload!"
	ReasonUploadStale            = "A previous upload was started but not finished and is now stale, so it can be retried."
	ReasonUploadInProgress       = "A previous upload is still in-progress and not stale yet (only stale uploads can be retried)."
	ReasonDebuginfoAlreadyExists = "Debuginfo already exists and is not marked as invalid, therefore no new upload is needed."
	ReasonDisabled               = "DebugInfo upload disabled"
)

Variables

This section is empty.

Functions

func MetadataObjectPath

func MetadataObjectPath(tenantID string, id *ValidGnuBuildID) string

func ObjectPath

func ObjectPath(tenantID string, id *ValidGnuBuildID) string

Types

type Config

type Config struct {
	Enabled           bool          `yaml:"-"`
	MaxUploadSize     int64         `yaml:"-"`
	MaxUploadDuration time.Duration `yaml:"-"`
}

func (*Config) RegisterFlags

func (cfg *Config) RegisterFlags(f *flag.FlagSet)

type Store

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

func NewStore

func NewStore(
	logger log.Logger,
	bucket objstore.Bucket,
	cfg Config,
) (*Store, error)

NewStore returns a new debug info store.

type ValidGnuBuildID

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

func ValidateGnuBuildID

func ValidateGnuBuildID(gnuBuildID string) (*ValidGnuBuildID, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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