Documentation ¶
Index ¶
- Variables
- func LoadSecretSpecs(ctx context.Context, pl pkggraph.PackageLoader, secrets ...*schema.PackageRef) ([]*schema.SecretSpec, error)
- func ScopeSecretsTo(source secrets.SecretsSource, sealedCtx pkggraph.SealedPackageLoader, ...) secrets.GroundedSecrets
- func ScopeSecretsToServer(source secrets.SecretsSource, server Server) secrets.GroundedSecrets
- type Server
Constants ¶
This section is empty.
Variables ¶
View Source
var NoSecrets noSecrets
Functions ¶
func LoadSecretSpecs ¶
func LoadSecretSpecs(ctx context.Context, pl pkggraph.PackageLoader, secrets ...*schema.PackageRef) ([]*schema.SecretSpec, error)
func ScopeSecretsTo ¶
func ScopeSecretsTo(source secrets.SecretsSource, sealedCtx pkggraph.SealedPackageLoader, server *secrets.SecretLoadRequest_ServerRef) secrets.GroundedSecrets
func ScopeSecretsToServer ¶
func ScopeSecretsToServer(source secrets.SecretsSource, server Server) secrets.GroundedSecrets
Types ¶
type Server ¶
type Server interface { SealedContext() pkggraph.SealedContext PackageName() schema.PackageName Module() *pkggraph.Module RelPath() string }
Click to show internal directories.
Click to hide internal directories.