Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ResolveSecretRef ¶
ResolveSecretRef resolves a secret reference to the actual secret value.
func ResolveTarget ¶
ResolveTarget resolves a target string to backend connection parameters. If target matches a profile name, returns that profile's parameters. If target is a URI (contains ://), returns it as-is for endpoint.
Types ¶
type Profile ¶
type Profile struct {
Endpoint string `yaml:"endpoint" json:"endpoint"`
Workspace string `yaml:"workspace" json:"workspace,omitempty"`
Device string `yaml:"device" json:"device,omitempty"`
SecretRef string `yaml:"secret_ref,omitempty" json:"secret_ref,omitempty"`
DefaultScope string `yaml:"default_scope,omitempty" json:"default_scope,omitempty"`
}
Profile represents a named backend connection configuration.
Click to show internal directories.
Click to hide internal directories.