Versions in this module Expand all Collapse all v0 v0.2.61 Jul 30, 2026 Changes in this version + const BillingContract + const EmailContract + const ErrorTrackingBuildContract + const ErrorTrackingContract + func LooksSecret(value string) bool + func ValidateOpaqueReference(reference string) error + type BrowserExposure string + const BrowserAllowed + const BrowserDenied + type Classification string + const ClassificationPublic + const ClassificationSecret + const ClassificationSensitive + type ConsumerClass string + const ConsumerBrowser + const ConsumerBuild + const ConsumerRuntime + type Contract struct + ID string + Keys map[string]Key + type CredentialPurpose string + const PurposeBuild + const PurposeManagement + const PurposeNone + const PurposeRuntime + const PurposeWebhookVerification + type Key struct + BrowserExposure BrowserExposure + ClassificationCeiling Classification + ClassificationFloor Classification + Consumer ConsumerClass + CredentialPurpose CredentialPurpose + HostMutable bool + ProviderMutable bool + Required bool + RequiredProvenance []Provenance + Type ValueType + type Mutator string + const MutatorHost + const MutatorProvider + type Provenance string + const ProvenanceArtifact + const ProvenanceBinding + const ProvenanceHost + const ProvenanceProvider + type Registry struct + func NewRegistry() *Registry + func (r *Registry) Contracts() []string + func (r *Registry) Lookup(id string) (Contract, error) + func (r *Registry) Validate(id string, values map[string]Value) error + type Value struct + Boolean bool + BrowserExposure BrowserExposure + Classification Classification + Consumer ConsumerClass + CredentialPurpose CredentialPurpose + Integer int64 + MutatedBy Mutator + OpaqueReference string + Provenance map[Provenance]string + String string + Type ValueType + type ValueType string + const ValueBoolean + const ValueInteger + const ValueOpaqueReference + const ValueString