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

environmenthealth

package
v0.2.39 Latest Latest
Warning

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

Go to latest
Published: Oct 15, 2026 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const CurrentPredicate = `` /* 912-byte string literal not displayed */

Variables

This section is empty.

Functions

func RecordTx

func RecordTx(ctx context.Context, tx pgx.Tx, in Observation) error

func UnhealthyTx

func UnhealthyTx(ctx context.Context, tx pgx.Tx, org, kind, operation string) (bool, error)

Types

type Observation

type Observation struct {
	OrgID, RepositoryID, Environment, Kind, OperationID, SourceSHA, ArtifactDigest, ConnectionID, ActorID string
	ConfigurationVersion, ConnectionVersion                                                               int64
	ReleaseCreatedAt, ObservedAt, ExpiresAt                                                               time.Time
	Healthy                                                                                               bool
	Document                                                                                              any
}

Jump to

Keyboard shortcuts

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