core

package
v1.38.1 Latest Latest
Warning

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

Go to latest
Published: May 15, 2025 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CoreConfig

type CoreConfig struct {
	IsProdPtr *bool
	IsShell   bool // If tool running in shell.

	// Vault Configurations...
	Insecure             bool
	CurrentTokenNamePtr  *string // Pointer to one of the tokens in the cache...  changes depending on context.
	CurrentRoleEntityPtr *string // Pointer to one of the roles in the cache...  changes depending on context.
	TokenCache           *cache.TokenCache
	EnvBasis             string // dev,QA, etc....
	Env                  string // dev-1, dev-2, etc...
	Regions              []string

	DynamicPathFilter string // Seeds from a specific path.
	WantCerts         bool
	ExitOnFailure     bool // Exit on a failure or try to continue
	Log               *log.Logger
}

This structure contains core properties central to Secrets engine access

func (*CoreConfig) GetCurrentToken added in v1.38.0

func (cc *CoreConfig) GetCurrentToken(tokenPattern string) *string

func (*CoreConfig) IsProd added in v1.38.0

func (cc *CoreConfig) IsProd() bool

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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