Documentation
¶
Index ¶
Constants ¶
View Source
const ( BillingContract = "codefly.dev/configuration/billing@1" EmailContract = "codefly.dev/configuration/email@1" ErrorTrackingContract = "codefly.dev/configuration/error-tracking@1" ErrorTrackingBuildContract = "codefly.dev/configuration/error-tracking-build@1" )
Variables ¶
This section is empty.
Functions ¶
func LooksSecret ¶
func ValidateOpaqueReference ¶
Types ¶
type BrowserExposure ¶
type BrowserExposure string
const ( BrowserDenied BrowserExposure = "denied" BrowserAllowed BrowserExposure = "allowed" )
type Classification ¶
type Classification string
const ( ClassificationPublic Classification = "public" ClassificationSensitive Classification = "sensitive" ClassificationSecret Classification = "secret" )
type ConsumerClass ¶
type ConsumerClass string
const ( ConsumerRuntime ConsumerClass = "runtime" ConsumerBrowser ConsumerClass = "browser" ConsumerBuild ConsumerClass = "build" )
type CredentialPurpose ¶
type CredentialPurpose string
const ( PurposeNone CredentialPurpose = "none" PurposeManagement CredentialPurpose = "management" PurposeRuntime CredentialPurpose = "runtime" PurposeBuild CredentialPurpose = "build" PurposeWebhookVerification CredentialPurpose = "webhook-verification" )
type Key ¶
type Key struct {
Type ValueType
Required bool
ClassificationFloor Classification
ClassificationCeiling Classification
CredentialPurpose CredentialPurpose
BrowserExposure BrowserExposure
Consumer ConsumerClass
ProviderMutable bool
HostMutable bool
RequiredProvenance []Provenance
}
type Provenance ¶
type Provenance string
const ( ProvenanceProvider Provenance = "provider" ProvenanceBinding Provenance = "binding" ProvenanceArtifact Provenance = "artifact" ProvenanceHost Provenance = "host" )
type Registry ¶
type Registry struct {
// contains filtered or unexported fields
}
func NewRegistry ¶
func NewRegistry() *Registry
type Value ¶
type Value struct {
Type ValueType
String string
Boolean bool
Integer int64
OpaqueReference string
Classification Classification
CredentialPurpose CredentialPurpose
BrowserExposure BrowserExposure
Consumer ConsumerClass
MutatedBy Mutator
Provenance map[Provenance]string
}
Click to show internal directories.
Click to hide internal directories.