config

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: May 19, 2026 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 Auth

type Auth struct {
	ServiceAccountKeyPath string `yaml:"service-account-key-path"`
	PrivateKeyPath        string `yaml:"private-key-path"`
	Token                 string `yaml:"token"`
}

Auth carries STACKIT-specific credential locations from the config file. Any of these can also be supplied via CLI flag or environment variable; the CLI takes precedence over the config file.

type Config

type Config struct {
	libconfig.Config `yaml:",inline"`

	OrganizationID string   `yaml:"organization-id"`
	ProjectIDs     []string `yaml:"project-ids"`
	Auth           Auth     `yaml:"auth"`
}

Config extends the libnuke configuration with STACKIT project + auth fields. Filtering, presets, blocklists, includes/excludes are all inherited from libnuke and behave identically to aws-nuke / azure-nuke.

func New

func New(opts libconfig.Options) (*Config, error)

New loads the libnuke base config plus the STACKIT extension fields from the same file.

Jump to

Keyboard shortcuts

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