Documentation
¶
Index ¶
Constants ¶
View Source
const (
// PrefixDelimiter is used to separate prefix from value in environment variables
PrefixDelimiter = ":"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HostResolver ¶
type HostResolver struct {
// contains filtered or unexported fields
}
HostResolver handles host environment variable references
func NewHostResolver ¶
func NewHostResolver(allowList []string) *HostResolver
func (*HostResolver) Prefix ¶
func (h *HostResolver) Prefix() string
type ResolverMap ¶
type ResolverMap struct {
// contains filtered or unexported fields
}
ResolverMap handles delegation to specific environment variable resolvers
func NewResolver ¶
func NewResolver(params ResolverParams) *ResolverMap
NewResolver creates a new resolver map with configured resolvers
type ResolverParams ¶
type ResolverParams struct { // AllowList specifies which host environment variables can be forwarded to jobs. // Supports glob patterns (e.g., "AWS_*", "API_*") AllowList []string }
ResolverParams contains configuration for environment variable resolvers
Click to show internal directories.
Click to hide internal directories.