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 ¶
type Store ¶
type Store struct {
// contains filtered or unexported fields
}
func (*Store) Upload ¶
func (s *Store) Upload(ctx context.Context, stream *connect.BidiStream[debuginfov1alpha1.UploadRequest, debuginfov1alpha1.UploadResponse]) error
type ValidGnuBuildID ¶
type ValidGnuBuildID struct {
// contains filtered or unexported fields
}
func ValidateGnuBuildID ¶
func ValidateGnuBuildID(gnuBuildID string) (*ValidGnuBuildID, error)
Click to show internal directories.
Click to hide internal directories.