Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Load ¶ added in v0.0.323
func Load(ctx context.Context, src SecretsSource, mods pkggraph.ModuleResolver, owner schema.PackageNameLike, ref string) (*schema.SecretResult, error)
Types ¶
type GroundedSecrets ¶
type GroundedSecrets interface {
Get(ctx context.Context, secretRef *schema.PackageRef) (*schema.SecretResult, error)
}
type SecretLoadRequest ¶
type SecretLoadRequest struct { SecretRef *schema.PackageRef Server *SecretLoadRequest_ServerRef }
type SecretLoadRequest_ServerRef ¶
type SecretLoadRequest_ServerRef struct { PackageName schema.PackageName ModuleName string RelPath string // Relative path within the module. }
type SecretsSource ¶
type SecretsSource interface { Load(context.Context, pkggraph.ModuleResolver, *SecretLoadRequest) (*schema.SecretResult, error) MissingError(*schema.PackageRef, *schema.SecretSpec, schema.PackageName) error }
Click to show internal directories.
Click to hide internal directories.