config

package
v0.0.0-...-2152d60 Latest Latest
Warning

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

Go to latest
Published: Apr 20, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SyncEnvToFlags

func SyncEnvToFlags(cmd *cobra.Command)

SyncEnvToFlags - We should be able to do this better!

Types

type GlobalConfig

type GlobalConfig struct {
	Append        bool   `required:"false"`
	AuthName      string `required:"false"`
	FileName      string `required:"false"`
	Format        string `required:"false"`
	LogLevel      string `required:"false"`
	Output        string `required:"false"`
	Owner         int    `required:"false"`
	Prefix        string `required:"false"`
	RoleName      string `required:"false"`
	TokenPath     string `required:"false"`
	UpperCase     bool   `required:"false"`
	Validate      bool   `required:"false"`
	VaultAddress  string `required:"false"`
	VaultToken    string `required:"false"`
	GcpWorkloadID bool   `required:"false"`
}

GlobalConfig defines the structure of the global configuration parameters

var Config GlobalConfig

Config stores the Global Configuration.

Jump to

Keyboard shortcuts

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