config

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jun 22, 2025 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package config provides configuration loading and validation for the toolkit CLI application.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	RepoPath   string `mapstructure:"repo_path"`
	KubeConfig string `mapstructure:"kubeconfig"`
	EnvType    string `mapstructure:"env_type"`
	EnvRegion  string `mapstructure:"env_region"`
	EnvRealm   string `mapstructure:"env_realm"`
	Category   string `mapstructure:"category"`
	LogFile    string `mapstructure:"log_file"`
	Debug      bool   `mapstructure:"debug"`
	Filter     string `mapstructure:"filter"`
}

Config holds configuration for the toolkit CLI application.

func (Config) Validate

func (c Config) Validate() error

Validate checks that all required fields in the Config are set and valid.

Jump to

Keyboard shortcuts

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