Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultAccountName = "dev"
Functions ¶
This section is empty.
Types ¶
type AwsConfig ¶
type AwsConfig struct { //Name string Profile string AccountId string Region string Endpoint string }
func (AwsConfig) GenerateConfig ¶
GenerateConfig generates an AWS specific config
type AwsConfigManage ¶
type AwsConfigManage struct {
// contains filtered or unexported fields
}
func (AwsConfigManage) GetAllOrgAccounts ¶
func (c AwsConfigManage) GetAllOrgAccounts() ([]AwsConfig, error)
func (AwsConfigManage) GetDefaultConfig ¶
func (c AwsConfigManage) GetDefaultConfig() (*AwsConfig, error)
type AwsConfigManager ¶
type AwsConfigManager interface { GetDefaultConfig() (*AwsConfig, error) GetAllOrgAccounts() ([]AwsConfig, error) }
func NewAwsConfigManage ¶
func NewAwsConfigManage() (AwsConfigManager, error)
type AwsConfiger ¶
func NewAwsConfig ¶
func NewAwsConfig(name, accountId, region string) AwsConfiger
type CfDescribeStacksPaginator ¶
type CfDescribeStacksPaginator interface { HasMorePages() bool NextPage(ctx context.Context, optFns ...func(*cloudformation.Options)) (*cloudformation.DescribeStacksOutput, error) }
type CfDescribeStacksPaginatorNewer ¶
type CfDescribeStacksPaginatorNewer func(client cloudformation.DescribeStacksAPIClient, params *cloudformation.DescribeStacksInput, optFns ...func(*cloudformation.DescribeStacksPaginatorOptions)) *cloudformation.DescribeStacksPaginator
type Cloudformationer ¶
type Cloudformationer interface { GetTemplateSummary(ctx context.Context, params *cloudformation.GetTemplateSummaryInput, optFns ...func(*cloudformation.Options)) (*cloudformation.GetTemplateSummaryOutput, error) CreateStack(ctx context.Context, params *cloudformation.CreateStackInput, optFns ...func(*cloudformation.Options)) (*cloudformation.CreateStackOutput, error) DeleteStack(ctx context.Context, params *cloudformation.DeleteStackInput, optFns ...func(*cloudformation.Options)) (*cloudformation.DeleteStackOutput, error) CreateChangeSet(ctx context.Context, params *cloudformation.CreateChangeSetInput, optFns ...func(*cloudformation.Options)) (*cloudformation.CreateChangeSetOutput, error) DeleteChangeSet(ctx context.Context, params *cloudformation.DeleteChangeSetInput, optFns ...func(*cloudformation.Options)) (*cloudformation.DeleteChangeSetOutput, error) ExecuteChangeSet(ctx context.Context, params *cloudformation.ExecuteChangeSetInput, optFns ...func(*cloudformation.Options)) (*cloudformation.ExecuteChangeSetOutput, error) DescribeStackResources(ctx context.Context, params *cloudformation.DescribeStackResourcesInput, optFns ...func(*cloudformation.Options)) (*cloudformation.DescribeStackResourcesOutput, error) cloudformation.DescribeChangeSetAPIClient cloudformation.DescribeStacksAPIClient }
type Iamer ¶
type Iamer interface { iam.ListAccountAliasesAPIClient }
type Orger ¶
type Orger interface { organizations.ListAccountsAPIClient }
Click to show internal directories.
Click to hide internal directories.