vault

package
v1.277.0 Latest Latest
Warning

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

Go to latest
Published: Sep 20, 2024 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewClient

func NewClient(cfg *api.Config) (*api.Client, error)

NewClient for vault.

func NewConfig

func NewConfig(params ConfigParams) *api.Config

NewConfig for vault.

Types

type ConfigParams

type ConfigParams struct {
	fx.In

	Config    *http.Config
	Logger    *zap.Logger
	Tracer    trace.Tracer
	Meter     metric.Meter
	UserAgent env.UserAgent
}

ConfigParams for vault.

type Transformer

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

Transformer for vault.

func NewTransformer

func NewTransformer(client *api.Client, t trace.Tracer) *Transformer

NewTransformer for vault.

func (*Transformer) IsMissing added in v1.79.8

func (t *Transformer) IsMissing(err error) bool

IsMissing value for vault.

func (*Transformer) Transform

func (t *Transformer) Transform(ctx context.Context, value string) (any, error)

Transform for vault.

Jump to

Keyboard shortcuts

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