config

package
v0.0.0-...-b8cb744 Latest Latest
Warning

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

Go to latest
Published: Dec 21, 2023 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var PULUMI_AWS_CREDS_ENVS = []string{
	"AWS_ACCESS_KEY_ID",
	"AWS_ACCESS_KEY",
	"AWS_SECRET_ACCESS_KEY",
	"AWS_SECRET_KEY",
	"AWS_SESSION_TOKEN",
}

Functions

This section is empty.

Types

type Config

type Config struct {
	RunImmediately             bool
	DebugMode                  bool
	MongoURI                   string
	PulumiToken                string
	PulumiUrl                  string
	FetchedResourcesBucket     string
	AwsRegion                  string
	PulumiIntegrationId        string
	AccountId                  string
	ProjectName                string
	StackName                  string
	OrganizationName           string
	StackId                    string
	ResourceCount              int
	LastUpdate                 int
	ClientAWSIntegrationId     string
	FireflyAWSRoleARN          string
	FireflyAWSWebIdentityToken string
	ElasticsearchUrl           string
	EngineAccumulatorDynamo    string
	EngineAccumulatorTTL       int
}

func LoadConfig

func LoadConfig() (*Config, error)

func (*Config) LoadAwsSession

func (cfg *Config) LoadAwsSession() *session.Session

Jump to

Keyboard shortcuts

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