bank-vaults: github.com/banzaicloud/bank-vaults/internal/configuration Index | Files

package configuration

import "github.com/banzaicloud/bank-vaults/internal/configuration"

Index

Package Files

template.go vaultConfig.go

func EnvTemplate Uses

func EnvTemplate(t string) (*bytes.Buffer, error)

EnvTemplate interpolates environment variables in a configuration text

func IsGoTemplate Uses

func IsGoTemplate(s string) bool

IsGoTemplate returns true if s is probably a Go Template

func Template Uses

func Template(t string, data interface{}) (*bytes.Buffer, error)

Template interpolates a data structure in a template

type VaultConfig Uses

type VaultConfig struct {
    Addr                        string
    Role                        string
    Path                        string
    SkipVerify                  string
    TLSSecret                   string
    UseAgent                    bool
    TransitKeyID                string
    TransitPath                 string
    CtConfigMap                 string
    CtImage                     string
    CtOnce                      bool
    CtImagePullPolicy           corev1.PullPolicy
    CtShareProcess              bool
    CtShareProcessDefault       string
    CtCPU                       resource.Quantity
    CtMemory                    resource.Quantity
    PspAllowPrivilegeEscalation bool
    IgnoreMissingSecrets        string
    VaultEnvPassThrough         string
    ConfigfilePath              string
    MutateConfigMap             bool
    EnableJSONLog               string
}

VaultConfig represents vault options

Package configuration imports 8 packages (graph). Updated 2019-11-20. Refresh now. Tools for package owners.