vault

package
v1.26.33 Latest Latest
Warning

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

Go to latest
Published: Sep 9, 2022 License: Unlicense Imports: 8 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 added in v1.12.12

type ConfigParams struct {
	fx.In

	Config  *http.Config
	Logger  *zap.Logger
	Tracer  opentracing.Tracer
	Metrics *prometheus.ClientMetrics
}

ConfigParams for vault.

type Transformer

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

Transformer for vault.

func NewTransformer

func NewTransformer(client *api.Client, tracer opentracing.Tracer) *Transformer

NewTransformer for vault.

func (*Transformer) Transform

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

Transform for vault.

Directories

Path Synopsis
trace

Jump to

Keyboard shortcuts

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