runner

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: May 6, 2026 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DefaultEnv added in v0.3.0

func DefaultEnv() *env.Env

func InitConfig added in v0.1.1

func InitConfig() *env.Env

InitConfig parses config.yaml (CWD or XDG) and returns the resulting *env.Env. As a side effect it pins the same env via env.SetActive so capability methods without ctx (EventDump, parseRDSAccount) can fall back to env.Active().

cmd/main.go calls this once when entering the interactive console.

func ShowBanner

func ShowBanner()

showBanner is used to show the banner to the user

func Version

func Version() string

Types

type Config added in v0.1.7

type Config struct {
	Common struct {
		LogEnable      bool   `yaml:"log_enable"`
		ListPolicies   bool   `yaml:"list_policies"`
		LogDir         string `yaml:"log_dir"`
		TimeoutMinutes int    `yaml:"timeout_minutes"`
		LogFormat      string `yaml:"log_format"`
	} `yaml:"common"`
	Cloudlist       []string              `yaml:"cloudlist"`
	IAMUserCheck    userValidationConfig  `yaml:"iam-user-check"`
	RDSAccountCheck databaseAccountConfig `yaml:"rds-account-check"`
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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