secrets

package
v0.0.140 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 23, 2023 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const SecretBaseMountPath = "/namespace/secrets"

Variables

This section is empty.

Functions

func RelPath added in v0.0.115

func RelPath(res *schema.PackageRef) string

Types

type GroundedSecrets added in v0.0.115

type GroundedSecrets interface {
	Get(ctx context.Context, secretRef *schema.PackageRef, externalRefTypeUrl ...string) (*schema.SecretResult, error)
}

type SecretLoadRequest added in v0.0.117

type SecretLoadRequest struct {
	SecretRef          *schema.PackageRef
	Server             *SecretLoadRequest_ServerRef
	ExternalRefTypeUrl []string
}

type SecretLoadRequest_ServerRef added in v0.0.117

type SecretLoadRequest_ServerRef struct {
	PackageName schema.PackageName
	ModuleName  string
	RelPath     string // Relative path within the module.
}

type SecretsSource added in v0.0.115

type Serialized added in v0.0.115

type Serialized struct {
	RelPath string
	JSON    []byte
}

func Serialize added in v0.0.115

func Serialize(res *schema.PackageRef) (*Serialized, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL