file

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Sep 24, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	MountPathEnv = "FILE_MOUNT_PATH"
)
View Source
const (
	ProviderType = "file"
)

Variables

This section is empty.

Functions

func NewProvider

func NewProvider(_ context.Context, _ *common.Config) (provider.Provider, error)

func Valid added in v0.2.1

func Valid(envValue string) bool

Types

type Config

type Config struct {
	MountPath string `json:"mount_path"`
}

func LoadConfig

func LoadConfig() *Config

type Provider

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

func (*Provider) LoadSecrets

func (p *Provider) LoadSecrets(_ context.Context, paths []string) ([]provider.Secret, error)

Jump to

Keyboard shortcuts

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