Documentation
¶
Overview ¶
Package credential handles env template parsing and credential resolution.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Entry ¶
type Entry struct {
EnvVar string // e.g., "GITHUB_TOKEN"
Provider string // e.g., "github"
Resource string // e.g., "readonly" (optional, after /)
Raw string // e.g., "{{kontext:github}}"
}
Entry represents a single credential placeholder from the env template.
func ParseTemplate ¶
ParseTemplate reads an env template file and extracts credential placeholders.
Click to show internal directories.
Click to hide internal directories.