config

package
v0.0.5 Latest Latest
Warning

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

Go to latest
Published: Oct 31, 2022 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

View Source
const Filename = "ize.hcl"

Variables

This section is empty.

Functions

func CheckCommand

func CheckCommand(command string, subcommand []string) (string, error)

Types

type Config

type Config struct {
	AwsRegion  string `mapstructure:"aws_region"`
	AwsProfile string `mapstructure:"aws_profile"`
	Namespace  string `mapstructure:"namespace"`
	Env        string `mapstructure:"env"`
	Session    *session.Session
	IsGlobal   bool
}

func InitializeConfig

func InitializeConfig(options ...Option) (*Config, error)

type Option

type Option func(*requiments)

func WithConfigFile

func WithConfigFile() Option

func WithDocker

func WithDocker() Option

func WithSSMPlugin

func WithSSMPlugin() Option

Jump to

Keyboard shortcuts

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