Documentation
¶
Index ¶
Constants ¶
View Source
const ( APIVersion = "urn:agentapi-doctor:config:v1beta2" TargetNamePattern = `^[a-z0-9][a-z0-9._-]{0,127}$` )
View Source
const MaxConfigBytes = 1 << 20
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Auth ¶
type Auth struct {
Type string `yaml:"type" json:"type"`
Token SecretReference `yaml:"token" json:"token"`
Header string `yaml:"header,omitempty" json:"header,omitempty"`
}
type Config ¶
type ParsedSecretReference ¶
type ParsedSecretReference struct {
Scheme SecretScheme
Value string
}
func ParseSecretReference ¶
func ParseSecretReference(reference string) (ParsedSecretReference, error)
type SecretReference ¶
type SecretReference struct {
Ref string `yaml:"ref" json:"ref"`
}
type SecretScheme ¶
type SecretScheme string
const ( SecretEnv SecretScheme = "env" SecretKeyring SecretScheme = "keyring" SecretFile SecretScheme = "file" SecretExec SecretScheme = "exec" )
type Target ¶
Click to show internal directories.
Click to hide internal directories.