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 SecretIdentifier ¶ added in v0.0.357
func (SecretIdentifier) String ¶ added in v0.0.357
func (s SecretIdentifier) String() string
type SecretLoadRequest ¶
type SecretLoadRequest struct { SecretRef *schema.PackageRef Server *ServerRef }
func (SecretLoadRequest) GetSecretIdentifier ¶ added in v0.0.357
func (s SecretLoadRequest) GetSecretIdentifier() SecretIdentifier
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.