Documentation ¶
Index ¶
- Constants
- func GetAWSConfig(profile string, region string) (aws.Config, error)
- func GetAWSConfigKey(stack Stack) string
- func InitialModel(stacks []Stack, awsCfgs map[string]AwsConfig) model
- func RenderUI(stacks []Stack, awsCfgs map[string]AwsConfig)
- func RightPadTrim(s string, length int) string
- func ShowResults(stacks []Stack, awsCfgs map[string]AwsConfig)
- func StackChosen(index int, stack Stack) tea.Cmd
- func Trim(s string, length int) string
- type AwsCFClient
- type AwsConfig
- type CheckStackStatus
- type CredentialsRefreshedMsg
- type DiffFinishedMsg
- type ShowDiffFinished
- type ShowErrorFinishedMsg
- type ShowFileFinished
- type Stack
- type StackSyncResult
- type TemplateFetchedMsg
Constants ¶
View Source
const ( DefaultBackgroundColor = "#282828" StackListColor = "#fe8019" )
View Source
const ( StatusUnfetched fetchStatus = iota StatusFetching StatusFetched StatusFailure )
Variables ¶
This section is empty.
Functions ¶
func GetAWSConfig ¶ added in v0.3.0
func GetAWSConfigKey ¶ added in v0.3.0
func InitialModel ¶ added in v0.3.0
func RightPadTrim ¶ added in v0.3.0
func ShowResults ¶ added in v0.3.0
Types ¶
type AwsCFClient ¶ added in v0.3.0
type AwsCFClient struct { Client *cloudformation.Client Err error }
type CheckStackStatus ¶ added in v0.3.0
type CheckStackStatus struct {
// contains filtered or unexported fields
}
type CredentialsRefreshedMsg ¶ added in v0.3.0
type CredentialsRefreshedMsg struct {
// contains filtered or unexported fields
}
type DiffFinishedMsg ¶ added in v0.3.0
type DiffFinishedMsg struct {
// contains filtered or unexported fields
}
type ShowDiffFinished ¶ added in v0.3.0
type ShowDiffFinished struct {
// contains filtered or unexported fields
}
type ShowErrorFinishedMsg ¶ added in v0.3.0
type ShowErrorFinishedMsg struct {
// contains filtered or unexported fields
}
type ShowFileFinished ¶ added in v0.3.0
type ShowFileFinished struct {
// contains filtered or unexported fields
}
type Stack ¶ added in v0.3.0
type Stack struct { Name string AwsProfile string AwsRegion string Template string Local string Tag *string RefreshCommand string FetchStatus fetchStatus OuttaSync bool Err error }
func (Stack) Description ¶ added in v0.3.0
func (Stack) FilterValue ¶ added in v0.3.0
type StackSyncResult ¶ added in v0.3.0
func CheckStackSyncStatus ¶ added in v0.3.0
func CheckStackSyncStatus(awsConfig AwsConfig, stack Stack) StackSyncResult
type TemplateFetchedMsg ¶ added in v0.3.0
type TemplateFetchedMsg struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.