config

package
v0.0.0-...-a6cbac7 Latest Latest
Warning

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

Go to latest
Published: Feb 23, 2023 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AWSConfig

type AWSConfig struct {
	AccountAlias string
	AccountID    string
	Config       aws.Config
	ProfileName  string
	Region       string
	UserID       string
}

AWSConfig is a holder for AWS Config type information

func DefaultAwsConfig

func DefaultAwsConfig(config Config) AWSConfig

DefaultAwsConfig loads default AWS Config

func (*AWSConfig) AppmeshClient

func (config *AWSConfig) AppmeshClient() *appmesh.Client

AppmeshClient returns an AppMesh Client

func (*AWSConfig) CloudformationClient

func (config *AWSConfig) CloudformationClient() *cloudformation.Client

CloudformationClient returns an cloudformation Client

func (*AWSConfig) Ec2Client

func (config *AWSConfig) Ec2Client() *ec2.Client

Ec2Client returns an ec2 Client

func (*AWSConfig) IAMClient

func (config *AWSConfig) IAMClient() *iam.Client

StsClient returns an STS Client

func (*AWSConfig) IamClient

func (config *AWSConfig) IamClient() *iam.Client

IamClient returns an IAM Client

func (*AWSConfig) OrganizationsClient

func (config *AWSConfig) OrganizationsClient() *organizations.Client

OrganizationsClient returns an organizations Client

func (*AWSConfig) RdsClient

func (config *AWSConfig) RdsClient() *rds.Client

RdsClient returns an rds Client

func (*AWSConfig) S3Client

func (config *AWSConfig) S3Client() *s3.Client

S3Client returns an S3 Client

func (*AWSConfig) SsoClient

func (config *AWSConfig) SsoClient() *ssoadmin.Client

SsoClient returns an SSO Client

func (*AWSConfig) StsClient

func (config *AWSConfig) StsClient() *sts.Client

StsClient returns an STS Client

type Config

type Config struct {
}

Config holds the global configuration settings

func (*Config) GetBool

func (config *Config) GetBool(setting string) bool

func (*Config) GetInt

func (config *Config) GetInt(setting string) int

func (*Config) GetLCString

func (config *Config) GetLCString(setting string) string

func (*Config) GetOutputFormat

func (config *Config) GetOutputFormat() string

func (*Config) GetSeparator

func (config *Config) GetSeparator() string

func (*Config) GetString

func (config *Config) GetString(setting string) string

func (*Config) IsDrawIO

func (config *Config) IsDrawIO() bool

IsDrawIO returns if output is set to Draw.IO

func (*Config) IsVerbose

func (config *Config) IsVerbose() bool

func (*Config) NewOutputSettings

func (config *Config) NewOutputSettings() *format.OutputSettings

func (*Config) ShouldAppend

func (config *Config) ShouldAppend() bool

ShouldAppend returns if the output should append

func (*Config) ShouldCombineAndAppend

func (config *Config) ShouldCombineAndAppend() bool

ShouldCombineAndAppend returns if the output should be combined

Jump to

Keyboard shortcuts

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