Versions in this module Expand all Collapse all v0 v0.6.10 Jul 8, 2024 Changes in this version + type CliConfig struct + ConnectConfig *ConnectConfig + DestroyConfig *DestroyConfig + Environment string + InitConfig *InitConfig + Region string + func NewCliConfig(version string) *CliConfig + func (c *CliConfig) Version() string + type ConfigStore interface + GetConfigValue func(ctx context.Context, key string) (string, error) + func NewConfigStore(config *CliConfig, ssmClient funcAws.SsmClient) ConfigStore + type ConnectCommand struct + func NewConnectCommand(cliConfig *CliConfig, configStore ConfigStore, connectClient aws2.SsmClient, ...) *ConnectCommand + func (c *ConnectCommand) Run(ctx context.Context) error + type ConnectConfig struct + LocalPort int + RemoteHost string + RemotePort int + type ConnectivityService interface + WaitForConnectivity func(ctx context.Context, endpoint string) error + func NewHttpConnectivityService(opts ...HttpConnectivityServiceOptionSetter) ConnectivityService + type DestroyCommand struct + func NewDestroyCommand(cliConfig *CliConfig, terraformClient tools.TerraformClient) *DestroyCommand + func (c *DestroyCommand) Run(ctx context.Context) error + type DestroyConfig struct + type HttpConnectivityServiceOptionSetter func(*HttpConnectivityServiceOptions) + func WithRetryInterval(interval time.Duration) HttpConnectivityServiceOptionSetter + type HttpConnectivityServiceOptions struct + RetryInterval time.Duration + type InitCommand struct + func NewInitCommand(cliConfig *CliConfig, resourceList aws.ResourceLister, ...) *InitCommand + func (c *InitCommand) Run(ctx context.Context) error + type InitConfig struct + type SsmTunnellerOptions struct + InstanceID string + Output *ssm.StartSessionOutput + type TerraformVars struct + PrivateSubnets []string + PublicSubnets []string + RedisHost string + Region string + VpcId string + type Tunneller interface + OpenTunnel func(ctx context.Context, opts interface{}) error + func NewSsmTunneller(conf *CliConfig) Tunneller