vault

package
v1.4.15 Latest Latest
Warning

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

Go to latest
Published: Oct 21, 2021 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ClusterSecret

type ClusterSecret struct {
	Endpoint   string
	CaCert     string
	ClientCert string
	ClientKey  string
}

type Config

type Config struct {
	Address string
	Token   string
}

type VaultClient

type VaultClient interface {
	GetClusterSecret(clusterName string) (*ClusterSecret, error)
}

func NewVaultClient

func NewVaultClient(cfg *Config) (VaultClient, error)

Jump to

Keyboard shortcuts

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