secret

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Nov 13, 2025 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type File

type File struct {
	// contains filtered or unexported fields
}

func NewSecretFile

func NewSecretFile(fileName string) *File

func (*File) GetSecret

func (f *File) GetSecret(ctx context.Context, target interface{}) error

type GSM

type GSM struct {
	// contains filtered or unexported fields
}

func NewSecretGSM

func NewSecretGSM(projectID string) *GSM

func (*GSM) GetSecret

func (v *GSM) GetSecret(ctx context.Context, target interface{}) error

type Vault

type Vault interface {
	GetSecret(ctx context.Context, target interface{}) error
}

Jump to

Keyboard shortcuts

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