vault

package
v0.2.5 Latest Latest
Warning

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

Go to latest
Published: Jan 10, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Source

func Source(ctx context.Context, config interface{}, data map[string]interface{}) (map[string]interface{}, error)

Types

type ClientConfig

type ClientConfig struct {
	Address string
	Auth    struct {
		Type     string
		Username string
		Password string
	}
	HttpClientConfig HttpClientConfig
}

type HttpClientConfig

type HttpClientConfig struct {
	InsecureSkipVerify bool `mapstructure:"insecure_skip_verify" default:"false"`
}

type SourceConfig

type SourceConfig struct {
	Address string
	Auth    struct {
		Type     string
		Username string
		Password string
	}
	Path             string
	Filters          []string
	HttpClientConfig HttpClientConfig `mapstructure:"http_client_config"`
}

Jump to

Keyboard shortcuts

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