app

package
v1.8.0 Latest Latest
Warning

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

Go to latest
Published: Oct 19, 2026 License: MIT Imports: 344 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrHealthCheckFailed = errors.New("health check failed")

Functions

func Run

func Run()

Run parses CLI / environment-variable configuration and starts Gopherstack. It is called from main() and exits on error.

func RunServer

func RunServer(ctx context.Context, args []string) error

RunServer parses args (flags and env as for the CLI, without the program name) and runs the server until ctx is cancelled. Embedders such as the desktop app use it instead of Run, which owns os.Args and signal handling.

Types

type CLI

type CLI struct {
	SecretsManager struct{}            `embed:"" prefix:"secretsmanager-"`
	SQS            sqsbackend.Settings `embed:"" prefix:"sqs-"`
	SNS            struct{}            `embed:"" prefix:"sns-"`
	IAM            struct{}            `embed:"" prefix:"iam-"`

	EngineSwitch EngineSettings `embed:""`
	Region       string         `` //nolint:lll // config struct tags are intentionally verbose
	/* 205-byte string literal not displayed */
	DNSResolveIP string `` //nolint:lll // config struct tags are intentionally verbose
	/* 185-byte string literal not displayed */
	KafkaEngine string `` //nolint:lll // config struct tags are intentionally verbose
	/* 223-byte string literal not displayed */
	MQEngine string `` //nolint:lll // config struct tags are intentionally verbose
	/* 243-byte string literal not displayed */
	EKSEngine string `` //nolint:lll // config struct tags are intentionally verbose
	/* 240-byte string literal not displayed */
	RDSEngine string `` //nolint:lll // config struct tags are intentionally verbose
	/* 217-byte string literal not displayed */
	DocDBEngine string `` //nolint:lll // config struct tags are intentionally verbose
	/* 235-byte string literal not displayed */
	RedshiftEngine string `` //nolint:lll // config struct tags are intentionally verbose
	/* 264-byte string literal not displayed */
	NeptuneEngine string `` //nolint:lll // config struct tags are intentionally verbose
	/* 256-byte string literal not displayed */
	EC2Provider string `` //nolint:lll // config struct tags are intentionally verbose
	/* 231-byte string literal not displayed */
	EC2DockerImage string `` //nolint:lll // config struct tags are intentionally verbose
	/* 213-byte string literal not displayed */
	EC2DockerNetwork string `` //nolint:lll // config struct tags are intentionally verbose
	/* 231-byte string literal not displayed */
	EC2DockerSSHHostIP string `` //nolint:lll // config struct tags are intentionally verbose
	/* 227-byte string literal not displayed */
	TransferSFTPHost string `` //nolint:lll // config struct tags are intentionally verbose
	/* 191-byte string literal not displayed */
	Port string `` //nolint:lll // config struct tags are intentionally verbose
	/* 160-byte string literal not displayed */
	DataDir string `` //nolint:lll // config struct tags are intentionally verbose
	/* 235-byte string literal not displayed */
	DNSListenAddr string `` //nolint:lll // config struct tags are intentionally verbose
	/* 207-byte string literal not displayed */
	LogLevel string `` //nolint:lll // config struct tags are intentionally verbose
	/* 177-byte string literal not displayed */
	SigV4Secret string `` //nolint:lll // config struct tags are intentionally verbose
	/* 233-byte string literal not displayed */
	OpenSearchEngine string `` //nolint:lll // config struct tags are intentionally verbose
	/* 193-byte string literal not displayed */
	ElasticsearchEngine string `` //nolint:lll // config struct tags are intentionally verbose
	/* 196-byte string literal not displayed */
	MemoryDBEngine string `` //nolint:lll // config struct tags are intentionally verbose
	/* 203-byte string literal not displayed */
	AccountID string `` //nolint:lll // config struct tags are intentionally verbose
	/* 176-byte string literal not displayed */
	TLSCertFile string `` //nolint:lll // config struct tags are intentionally verbose
	/* 241-byte string literal not displayed */
	TLSKeyFile string `` //nolint:lll // config struct tags are intentionally verbose
	/* 201-byte string literal not displayed */
	Compression string `` //nolint:lll // config struct tags are intentionally verbose
	/* 345-byte string literal not displayed */
	ElastiCacheEngine string `` //nolint:lll // config struct tags are intentionally verbose
	/* 206-byte string literal not displayed */
	Pods        PodsConfig          `embed:"" prefix:"pod-"`
	Extensions  extensions.Settings `embed:""`
	InitScripts []string            `` //nolint:lll // config struct tags are intentionally verbose
	/* 209-byte string literal not displayed */
	InitDirs []string `` //nolint:lll // config struct tags are intentionally verbose
	/* 286-byte string literal not displayed */
	S3InitBuckets []string `` //nolint:lll // config struct tags are intentionally verbose
	/* 243-byte string literal not displayed */
	ExtraListen []string `` //nolint:lll // config struct tags are intentionally verbose
	/* 208-byte string literal not displayed */
	GCPCloudTasks     gcpcloudtasksbackend.Settings     `embed:"" prefix:"gcp-cloudtasks-"`
	GCPScheduler      gcpschedulerbackend.Settings      `embed:"" prefix:"gcp-scheduler-"`
	Transparent       TransparentSettings               `embed:"" prefix:"transparent-"`
	CodeBuild         codebuildbackend.Settings         `embed:"" prefix:"codebuild-"`
	AzureKeyVault     azurekeyvaultbackend.Settings     `embed:"" prefix:"azure-keyvault-"`
	S3                s3backend.Settings                `embed:"" prefix:"s3-"`
	CosmosDB          cosmosdbbackend.Settings          `embed:"" prefix:"cosmosdb-"`
	Lambda            lambdabackend.Settings            `embed:"" prefix:"lambda-"`
	SES               sesbackend.Settings               `embed:"" prefix:"ses-"`
	DynamoDB          ddbbackend.Settings               `embed:"" prefix:"dynamodb-"`
	AzureARM          azurearmbackend.Settings          `embed:"" prefix:"azure-arm-"`
	Lifecycle         cliconfig.LifecycleSettings       `embed:"" prefix:"lifecycle-"`
	Batch             batchbackend.Settings             `embed:"" prefix:"batch-"`
	EC2               ec2backend.Settings               `embed:"" prefix:"ec2-"`
	StepFunctions     sfnbackend.Settings               `embed:"" prefix:"stepfunctions-"`
	Backup            backupbackend.Settings            `embed:"" prefix:"backup-"`
	SSM               ssmbackend.Settings               `embed:"" prefix:"ssm-"`
	XRay              xraybackend.Settings              `embed:"" prefix:"xray-"`
	FIS               fisbackend.Settings               `embed:"" prefix:"fis-"`
	EMR               emrbackend.Settings               `embed:"" prefix:"emr-"`
	Athena            athenabackend.Settings            `embed:"" prefix:"athena-"`
	CloudWatchLogs    cwlogsbackend.Settings            `embed:"" prefix:"cloudwatchlogs-"`
	AzureServiceBus   azureservicebusbackend.Settings   `embed:"" prefix:"azure-servicebus-"`
	IoT               iotbackend.Settings               `embed:"" prefix:"iot-"`
	AzureBlob         azureblobbackend.Settings         `embed:"" prefix:"azure-blob-"`
	KMS               kmsbackend.Settings               `embed:"" prefix:"kms-"`
	Kinesis           kinesisbackend.Settings           `embed:"" prefix:"kinesis-"`
	STS               stsbackend.Settings               `embed:"" prefix:"sts-"`
	AzureQueue        azurequeuebackend.Settings        `embed:"" prefix:"azure-queue-"`
	AzureTable        azuretablebackend.Settings        `embed:"" prefix:"azure-table-"`
	GCPStorage        gcpstoragebackend.Settings        `embed:"" prefix:"gcp-storage-"`
	GCPPubSub         gcppubsubbackend.Settings         `embed:"" prefix:"gcp-pubsub-"`
	GCPSecretManager  gcpsecretmanagerbackend.Settings  `embed:"" prefix:"gcp-secretmanager-"`
	GCPKMS            gcpkmsbackend.Settings            `embed:"" prefix:"gcp-kms-"`
	GCPFirestore      gcpfirestorebackend.Settings      `embed:"" prefix:"gcp-firestore-"`
	AzureStorageVHost azurestoragevhostbackend.Settings `embed:"" prefix:"azure-storage-vhost-"`
	PortRangeStart    int                               `` //nolint:lll // config struct tags are intentionally verbose
	/* 190-byte string literal not displayed */
	PortRangeEnd int `` //nolint:lll // config struct tags are intentionally verbose
	/* 200-byte string literal not displayed */
	EC2DockerSSHPortMin int `` //nolint:lll // config struct tags are intentionally verbose
	/* 231-byte string literal not displayed */
	EC2DockerSSHPortMax int `` //nolint:lll // config struct tags are intentionally verbose
	/* 209-byte string literal not displayed */
	ElasticsearchProcessingDelay time.Duration `` //nolint:lll // config struct tags are intentionally verbose
	/* 203-byte string literal not displayed */
	InitScriptTimeout time.Duration `` //nolint:lll // config struct tags are intentionally verbose
	/* 177-byte string literal not displayed */
	JanitorTimeout time.Duration `` //nolint:lll // config struct tags are intentionally verbose
	/* 331-byte string literal not displayed */
	LatencyMs int `` //nolint:lll // config struct tags are intentionally verbose
	/* 265-byte string literal not displayed */
	AutoPurgeTTL time.Duration `` //nolint:lll // config struct tags are intentionally verbose
	/* 224-byte string literal not displayed */
	EnforceIAM bool `` //nolint:lll // config struct tags are intentionally verbose
	/* 250-byte string literal not displayed */
	IAMAudit bool `` //nolint:lll // config struct tags are intentionally verbose
	/* 240-byte string literal not displayed */
	LocalstackCompat bool `` //nolint:lll // config struct tags are intentionally verbose
	/* 267-byte string literal not displayed */
	Persist bool `` //nolint:lll // config struct tags are intentionally verbose
	/* 193-byte string literal not displayed */
	Demo bool `` //nolint:lll // config struct tags are intentionally verbose
	/* 169-byte string literal not displayed */
	TLS bool `` //nolint:lll // config struct tags are intentionally verbose
	/* 264-byte string literal not displayed */
	TransferSFTP bool `` //nolint:lll // config struct tags are intentionally verbose
	/* 197-byte string literal not displayed */
	ValidateSigV4 bool `` //nolint:lll // config struct tags are intentionally verbose
	/* 284-byte string literal not displayed */
	// contains filtered or unexported fields
}

CLI holds all command-line / environment-variable configuration for Gopherstack.

func (*CLI) GetACMHandler

func (c *CLI) GetACMHandler() service.Registerable

GetACMHandler returns the ACM handler (dashboard.AWSSDKProvider).

func (*CLI) GetACMPCAHandler

func (c *CLI) GetACMPCAHandler() service.Registerable

GetACMPCAHandler returns the ACM PCA handler (dashboard.AWSSDKProvider).

func (*CLI) GetAPIGatewayHandler

func (c *CLI) GetAPIGatewayHandler() service.Registerable

GetAPIGatewayHandler returns the API Gateway handler (dashboard.AWSSDKProvider).

func (*CLI) GetAPIGatewayManagementAPIHandler

func (c *CLI) GetAPIGatewayManagementAPIHandler() service.Registerable

GetAPIGatewayManagementAPIHandler returns the API Gateway Management API handler (dashboard.AWSSDKProvider).

func (*CLI) GetAPIGatewayV2Handler

func (c *CLI) GetAPIGatewayV2Handler() service.Registerable

GetAPIGatewayV2Handler returns the API Gateway V2 handler (dashboard.AWSSDKProvider).

func (*CLI) GetARCZonalShiftHandler

func (c *CLI) GetARCZonalShiftHandler() service.Registerable

GetARCZonalShiftHandler returns the ARC zonal shift handler.

func (*CLI) GetAWSConfigHandler

func (c *CLI) GetAWSConfigHandler() service.Registerable

GetAWSConfigHandler returns the AWS Config handler (dashboard.AWSSDKProvider).

func (*CLI) GetAccessAnalyzerHandler

func (c *CLI) GetAccessAnalyzerHandler() service.Registerable

GetAccessAnalyzerHandler returns the AccessAnalyzer handler (dashboard.AWSSDKProvider).

func (*CLI) GetAmplifyHandler

func (c *CLI) GetAmplifyHandler() service.Registerable

GetAmplifyHandler returns the Amplify handler (dashboard.AWSSDKProvider).

func (*CLI) GetAppConfigDataHandler

func (c *CLI) GetAppConfigDataHandler() service.Registerable

GetAppConfigDataHandler returns the AppConfigData handler (dashboard.AWSSDKProvider).

func (*CLI) GetAppConfigHandler

func (c *CLI) GetAppConfigHandler() service.Registerable

GetAppConfigHandler returns the AppConfig handler (dashboard.AWSSDKProvider).

func (*CLI) GetAppSyncHandler

func (c *CLI) GetAppSyncHandler() service.Registerable

GetAppSyncHandler returns the AppSync handler (dashboard.AWSSDKProvider).

func (*CLI) GetApplicationAutoscalingHandler

func (c *CLI) GetApplicationAutoscalingHandler() service.Registerable

GetApplicationAutoscalingHandler returns the Application Auto Scaling handler (dashboard.AWSSDKProvider).

func (*CLI) GetAthenaHandler

func (c *CLI) GetAthenaHandler() service.Registerable

GetAthenaHandler returns the Athena handler (dashboard.AWSSDKProvider).

func (*CLI) GetAthenaSettings

func (c *CLI) GetAthenaSettings() athenabackend.Settings

GetAthenaSettings returns Athena settings (athena.ConfigProvider).

func (*CLI) GetAutoscalingHandler

func (c *CLI) GetAutoscalingHandler() service.Registerable

GetAutoscalingHandler returns the Autoscaling handler (dashboard.AWSSDKProvider).

func (*CLI) GetAzureARMHandler

func (c *CLI) GetAzureARMHandler() service.Registerable

GetAzureARMHandler returns the Azure Resource Manager handler for the dashboard proxy.

func (*CLI) GetAzureARMSettings

func (c *CLI) GetAzureARMSettings() azurearmbackend.Settings

GetAzureARMSettings returns Azure Resource Manager settings (azurearm.ConfigProvider).

func (*CLI) GetAzureBlobHandler

func (c *CLI) GetAzureBlobHandler() service.Registerable

GetAzureBlobHandler returns the Azure Blob handler for the dashboard proxy.

func (*CLI) GetAzureBlobSettings

func (c *CLI) GetAzureBlobSettings() azureblobbackend.Settings

GetAzureBlobSettings returns Azure Blob settings (azureblob.ConfigProvider).

func (*CLI) GetAzureKeyVaultHandler

func (c *CLI) GetAzureKeyVaultHandler() service.Registerable

GetAzureKeyVaultHandler returns the Azure Key Vault handler for the dashboard proxy.

func (*CLI) GetAzureKeyVaultPort

func (c *CLI) GetAzureKeyVaultPort() int

GetAzureKeyVaultPort returns the Key Vault listener's configured port (azurearm.KeyVaultPortProvider) so ARM's advertised vaultUri cannot diverge.

func (*CLI) GetAzureKeyVaultSettings

func (c *CLI) GetAzureKeyVaultSettings() azurekeyvaultbackend.Settings

GetAzureKeyVaultSettings returns Azure Key Vault settings (azurekeyvault.ConfigProvider).

func (*CLI) GetAzureQueueHandler

func (c *CLI) GetAzureQueueHandler() service.Registerable

GetAzureQueueHandler returns the Azure Queue handler for the dashboard proxy.

func (*CLI) GetAzureQueueSettings

func (c *CLI) GetAzureQueueSettings() azurequeuebackend.Settings

GetAzureQueueSettings returns Azure Queue settings (azurequeue.ConfigProvider).

func (*CLI) GetAzureServiceBusHandler

func (c *CLI) GetAzureServiceBusHandler() service.Registerable

GetAzureServiceBusHandler returns the Azure Service Bus handler for the dashboard proxy.

func (*CLI) GetAzureServiceBusPort

func (c *CLI) GetAzureServiceBusPort() int

GetAzureServiceBusPort returns the Azure Service Bus listener's actual configured port (azurearm.ServiceBusPortProvider), so azurearm.Provider.Init can fail fast if it disagrees with --azure-arm-servicebus-port instead of silently advertising a port nothing answers on.

func (*CLI) GetAzureServiceBusSettings

func (c *CLI) GetAzureServiceBusSettings() azureservicebusbackend.Settings

GetAzureServiceBusSettings returns Azure Service Bus settings (azureservicebus.ConfigProvider).

func (*CLI) GetAzureStorageVHostPort

func (c *CLI) GetAzureStorageVHostPort() int

GetAzureStorageVHostPort returns the shared Azure Storage virtual-hosted listener's actual configured port (azurearm.VHostPortProvider), so azurearm.Provider.Init can fail fast if it disagrees with --azure-arm-storage-vhost-port instead of silently advertising a port nothing answers on.

func (*CLI) GetAzureStorageVHostSettings

func (c *CLI) GetAzureStorageVHostSettings() azurestoragevhostbackend.Settings

GetAzureStorageVHostSettings returns the shared Azure Storage virtual-hosted listener's settings (azurestoragevhost.ConfigProvider).

func (*CLI) GetAzureTableHandler

func (c *CLI) GetAzureTableHandler() service.Registerable

GetAzureTableHandler returns the Azure Table handler for the dashboard proxy.

func (*CLI) GetAzureTableSettings

func (c *CLI) GetAzureTableSettings() azuretablebackend.Settings

GetAzureTableSettings returns Azure Table settings (azuretable.ConfigProvider).

func (*CLI) GetBackupHandler

func (c *CLI) GetBackupHandler() service.Registerable

GetBackupHandler returns the Backup handler (dashboard.AWSSDKProvider).

func (*CLI) GetBackupSettings

func (c *CLI) GetBackupSettings() backupbackend.Settings

GetBackupSettings returns Backup settings (backup.ConfigProvider).

func (*CLI) GetBatchHandler

func (c *CLI) GetBatchHandler() service.Registerable

GetBatchHandler returns the Batch handler.

func (*CLI) GetBatchSettings

func (c *CLI) GetBatchSettings() batchbackend.Settings

GetBatchSettings returns Batch settings (batch.ConfigProvider).

func (*CLI) GetBedrockHandler

func (c *CLI) GetBedrockHandler() service.Registerable

GetBedrockHandler returns the Bedrock handler.

func (*CLI) GetBedrockRuntimeHandler

func (c *CLI) GetBedrockRuntimeHandler() service.Registerable

GetBedrockRuntimeHandler returns the Bedrock Runtime handler.

func (*CLI) GetCeHandler

func (c *CLI) GetCeHandler() service.Registerable

GetCeHandler returns the Cost Explorer handler (dashboard.AWSSDKProvider).

func (*CLI) GetCloudControlHandler

func (c *CLI) GetCloudControlHandler() service.Registerable

GetCloudControlHandler returns the CloudControl handler (dashboard.AWSSDKProvider).

func (*CLI) GetCloudFormationHandler

func (c *CLI) GetCloudFormationHandler() service.Registerable

GetCloudFormationHandler returns the CloudFormation handler (dashboard.AWSSDKProvider).

func (*CLI) GetCloudFrontHandler

func (c *CLI) GetCloudFrontHandler() service.Registerable

GetCloudFrontHandler returns the CloudFront handler (dashboard.AWSSDKProvider).

func (*CLI) GetCloudTrailHandler

func (c *CLI) GetCloudTrailHandler() service.Registerable

GetCloudTrailHandler returns the CloudTrail handler (dashboard.AWSSDKProvider).

func (*CLI) GetCloudWatchHandler

func (c *CLI) GetCloudWatchHandler() service.Registerable

GetCloudWatchHandler returns the CloudWatch handler (dashboard.AWSSDKProvider).

func (*CLI) GetCloudWatchLogsHandler

func (c *CLI) GetCloudWatchLogsHandler() service.Registerable

GetCloudWatchLogsHandler returns the CloudWatch Logs handler (dashboard.AWSSDKProvider).

func (*CLI) GetCloudWatchLogsSettings

func (c *CLI) GetCloudWatchLogsSettings() cwlogsbackend.Settings

GetCloudWatchLogsSettings returns CloudWatch Logs settings (cloudwatchlogs.ConfigProvider).

func (*CLI) GetCodeArtifactHandler

func (c *CLI) GetCodeArtifactHandler() service.Registerable

GetCodeArtifactHandler returns the CodeArtifact handler (dashboard.AWSSDKProvider).

func (*CLI) GetCodeBuildHandler

func (c *CLI) GetCodeBuildHandler() service.Registerable

GetCodeBuildHandler returns the CodeBuild handler (dashboard.AWSSDKProvider).

func (*CLI) GetCodeBuildSettings

func (c *CLI) GetCodeBuildSettings() codebuildbackend.Settings

GetCodeBuildSettings returns CodeBuild settings (codebuild.ConfigProvider).

func (*CLI) GetCodeCommitHandler

func (c *CLI) GetCodeCommitHandler() service.Registerable

GetCodeCommitHandler returns the CodeCommit handler (dashboard.AWSSDKProvider).

func (*CLI) GetCodeConnectionsHandler

func (c *CLI) GetCodeConnectionsHandler() service.Registerable

GetCodeConnectionsHandler returns the CodeConnections handler (dashboard.AWSSDKProvider).

func (*CLI) GetCodeDeployHandler

func (c *CLI) GetCodeDeployHandler() service.Registerable

GetCodeDeployHandler returns the CodeDeploy handler (dashboard.AWSSDKProvider).

func (*CLI) GetCodePipelineHandler

func (c *CLI) GetCodePipelineHandler() service.Registerable

GetCodePipelineHandler returns the CodePipeline handler (dashboard.AWSSDKProvider).

func (*CLI) GetCodeStarConnectionsHandler

func (c *CLI) GetCodeStarConnectionsHandler() service.Registerable

GetCodeStarConnectionsHandler returns the CodeStar Connections handler (dashboard.AWSSDKProvider).

func (*CLI) GetCognitoIDPHandler

func (c *CLI) GetCognitoIDPHandler() service.Registerable

GetCognitoIDPHandler returns the Cognito IDP handler (dashboard.AWSSDKProvider).

func (*CLI) GetCognitoIdentityHandler

func (c *CLI) GetCognitoIdentityHandler() service.Registerable

GetCognitoIdentityHandler returns the Cognito Identity handler (dashboard.AWSSDKProvider).

func (*CLI) GetCosmosDBHandler

func (c *CLI) GetCosmosDBHandler() service.Registerable

GetCosmosDBHandler returns the Cosmos DB handler for the dashboard proxy.

func (*CLI) GetCosmosDBSettings

func (c *CLI) GetCosmosDBSettings() cosmosdbbackend.Settings

GetCosmosDBSettings returns Cosmos DB settings (cosmosdb.ConfigProvider).

func (*CLI) GetDMSHandler

func (c *CLI) GetDMSHandler() service.Registerable

GetDMSHandler returns the DMS handler (dashboard.AWSSDKProvider).

func (*CLI) GetDSQLHandler

func (c *CLI) GetDSQLHandler() service.Registerable

GetDSQLHandler returns the Aurora DSQL handler (dashboard.AWSSDKProvider).

func (*CLI) GetDataSyncHandler

func (c *CLI) GetDataSyncHandler() service.Registerable

GetDataSyncHandler returns the DataSync handler (dashboard.AWSSDKProvider).

func (*CLI) GetDirectConnectHandler

func (c *CLI) GetDirectConnectHandler() service.Registerable

GetDirectConnectHandler returns the AWS Direct Connect handler (dashboard.AWSSDKProvider).

func (*CLI) GetDirectoryServiceHandler

func (c *CLI) GetDirectoryServiceHandler() service.Registerable

GetDirectoryServiceHandler returns the Directory Service handler (dashboard.AWSSDKProvider).

func (*CLI) GetDocDBEngine

func (c *CLI) GetDocDBEngine() string

GetDocDBEngine returns the DocumentDB engine mode (docdb.EngineModeConfig).

func (*CLI) GetDocDBHandler

func (c *CLI) GetDocDBHandler() service.Registerable

GetDocDBHandler returns the DocDB handler (dashboard.AWSSDKProvider).

func (*CLI) GetDynamoDBClient

func (c *CLI) GetDynamoDBClient() *dynamodb.Client

GetDynamoDBClient returns the SDK client for DynamoDB (dashboard.AWSSDKProvider).

func (*CLI) GetDynamoDBHandler

func (c *CLI) GetDynamoDBHandler() service.Registerable

GetDynamoDBHandler returns the DynamoDB handler (dashboard.AWSSDKProvider).

func (*CLI) GetDynamoDBSettings

func (c *CLI) GetDynamoDBSettings() ddbbackend.Settings

func (*CLI) GetDynamoDBStreamsHandler

func (c *CLI) GetDynamoDBStreamsHandler() service.Registerable

GetDynamoDBStreamsHandler returns the DynamoDB Streams handler (dashboard.AWSSDKProvider).

func (*CLI) GetEC2ComputeProvider

func (c *CLI) GetEC2ComputeProvider() string

GetEC2ComputeProvider returns the configured EC2 compute provider name ("inmemory" or "docker").

func (*CLI) GetEC2DockerComputeConfig

func (c *CLI) GetEC2DockerComputeConfig() ec2backend.DockerComputeConfig

GetEC2DockerComputeConfig returns the docker provider configuration for the EC2 service. The returned value is consumed by ec2.Provider.Init when the compute provider is "docker".

func (*CLI) GetEC2Handler

func (c *CLI) GetEC2Handler() service.Registerable

GetEC2Handler returns the EC2 handler (dashboard.AWSSDKProvider).

func (*CLI) GetEC2Settings

func (c *CLI) GetEC2Settings() ec2backend.Settings

GetEC2Settings returns EC2 settings (ec2.ConfigProvider).

func (*CLI) GetECRHandler

func (c *CLI) GetECRHandler() service.Registerable

GetECRHandler returns the ECR handler (dashboard.AWSSDKProvider).

func (*CLI) GetECRPublicHandler

func (c *CLI) GetECRPublicHandler() service.Registerable

GetECRPublicHandler returns the ECR Public handler (dashboard.AWSSDKProvider).

func (*CLI) GetECSHandler

func (c *CLI) GetECSHandler() service.Registerable

GetECSHandler returns the ECS handler (dashboard.AWSSDKProvider).

func (*CLI) GetEFSHandler

func (c *CLI) GetEFSHandler() service.Registerable

GetEFSHandler returns the EFS handler (dashboard.AWSSDKProvider).

func (*CLI) GetEKSEngine

func (c *CLI) GetEKSEngine() string

GetEKSEngine returns the EKS engine mode (eks.EngineConfig).

func (*CLI) GetEKSHandler

func (c *CLI) GetEKSHandler() service.Registerable

GetEKSHandler returns the EKS handler (dashboard.AWSSDKProvider).

func (*CLI) GetELBHandler

func (c *CLI) GetELBHandler() service.Registerable

GetELBHandler returns the ELB handler (dashboard.AWSSDKProvider).

func (*CLI) GetELBv2Handler

func (c *CLI) GetELBv2Handler() service.Registerable

GetELBv2Handler returns the ELBv2 handler (dashboard.AWSSDKProvider).

func (*CLI) GetEMRHandler

func (c *CLI) GetEMRHandler() service.Registerable

GetEMRHandler returns the EMR handler (dashboard.AWSSDKProvider).

func (*CLI) GetEMRSettings

func (c *CLI) GetEMRSettings() emrbackend.Settings

GetEMRSettings returns EMR settings (emr.ConfigProvider).

func (*CLI) GetElastiCacheEngine

func (c *CLI) GetElastiCacheEngine() string

GetElastiCacheEngine returns the ElastiCache engine mode (elasticache.EngineConfig).

func (*CLI) GetElastiCacheHandler

func (c *CLI) GetElastiCacheHandler() service.Registerable

GetElastiCacheHandler returns the ElastiCache handler (dashboard.AWSSDKProvider).

func (*CLI) GetElasticbeanstalkHandler

func (c *CLI) GetElasticbeanstalkHandler() service.Registerable

GetElasticbeanstalkHandler returns the Elastic Beanstalk handler (dashboard.AWSSDKProvider).

func (*CLI) GetElasticsearchEngine

func (c *CLI) GetElasticsearchEngine() string

GetElasticsearchEngine returns the Elasticsearch engine mode (elasticsearch.EngineConfig).

func (*CLI) GetElasticsearchHandler

func (c *CLI) GetElasticsearchHandler() service.Registerable

GetElasticsearchHandler returns the Elasticsearch handler.

func (*CLI) GetElasticsearchProcessingDelay

func (c *CLI) GetElasticsearchProcessingDelay() time.Duration

GetElasticsearchProcessingDelay returns the domain Processing window (elasticsearch.ProcessingDelayConfig).

func (*CLI) GetEmrServerlessHandler

func (c *CLI) GetEmrServerlessHandler() service.Registerable

GetEmrServerlessHandler returns the EMR Serverless handler (dashboard.AWSSDKProvider).

func (*CLI) GetEndpoint

func (c *CLI) GetEndpoint() string

GetEndpoint returns the base HTTP endpoint URL for this Gopherstack instance.

func (*CLI) GetEventBridgeHandler

func (c *CLI) GetEventBridgeHandler() service.Registerable

GetEventBridgeHandler returns the EventBridge handler (dashboard.AWSSDKProvider).

func (*CLI) GetFISHandler

func (c *CLI) GetFISHandler() service.Registerable

GetFISHandler returns the FIS handler (dashboard.AWSSDKProvider).

func (*CLI) GetFISSettings

func (c *CLI) GetFISSettings() fisbackend.Settings

GetFISSettings returns FIS settings (fis.ConfigProvider).

func (*CLI) GetFSxHandler

func (c *CLI) GetFSxHandler() service.Registerable

GetFSxHandler returns the FSx handler (dashboard.AWSSDKProvider).

func (*CLI) GetFaultStore

func (c *CLI) GetFaultStore() *chaos.FaultStore

GetFaultStore returns the chaos fault store (dashboard.AWSSDKProvider).

func (*CLI) GetFirehoseHandler

func (c *CLI) GetFirehoseHandler() service.Registerable

GetFirehoseHandler returns the Firehose handler (dashboard.AWSSDKProvider).

func (*CLI) GetGCPCloudTasksHandler

func (c *CLI) GetGCPCloudTasksHandler() service.Registerable

GetGCPCloudTasksHandler returns the Cloud Tasks handler for the dashboard proxy.

func (*CLI) GetGCPCloudTasksSettings

func (c *CLI) GetGCPCloudTasksSettings() gcpcloudtasksbackend.Settings

GetGCPCloudTasksSettings returns Google Cloud Tasks settings (gcpcloudtasks.ConfigProvider).

func (*CLI) GetGCPFirestoreHandler

func (c *CLI) GetGCPFirestoreHandler() service.Registerable

GetGCPFirestoreHandler returns the Firestore handler for the dashboard proxy.

func (*CLI) GetGCPFirestoreSettings

func (c *CLI) GetGCPFirestoreSettings() gcpfirestorebackend.Settings

GetGCPFirestoreSettings returns Google Cloud Firestore settings (gcpfirestore.ConfigProvider).

func (*CLI) GetGCPKMSHandler

func (c *CLI) GetGCPKMSHandler() service.Registerable

GetGCPKMSHandler returns the Cloud KMS handler for the dashboard proxy.

func (*CLI) GetGCPKMSSettings

func (c *CLI) GetGCPKMSSettings() gcpkmsbackend.Settings

GetGCPKMSSettings returns Google Cloud KMS settings (gcpkms.ConfigProvider).

func (*CLI) GetGCPPubSubHandler

func (c *CLI) GetGCPPubSubHandler() service.Registerable

GetGCPPubSubHandler returns the Pub/Sub handler for the dashboard proxy.

func (*CLI) GetGCPPubSubSettings

func (c *CLI) GetGCPPubSubSettings() gcppubsubbackend.Settings

GetGCPPubSubSettings returns Google Cloud Pub/Sub settings (gcppubsub.ConfigProvider).

func (*CLI) GetGCPSchedulerSettings

func (c *CLI) GetGCPSchedulerSettings() gcpschedulerbackend.Settings

GetGCPSchedulerSettings returns Google Cloud Scheduler settings (gcpscheduler.ConfigProvider).

func (*CLI) GetGCPSecretManagerHandler

func (c *CLI) GetGCPSecretManagerHandler() service.Registerable

GetGCPSecretManagerHandler returns the Secret Manager handler for the dashboard proxy.

func (*CLI) GetGCPSecretManagerSettings

func (c *CLI) GetGCPSecretManagerSettings() gcpsecretmanagerbackend.Settings

GetGCPSecretManagerSettings returns Google Secret Manager settings (gcpsecretmanager.ConfigProvider).

func (*CLI) GetGCPStorageHandler

func (c *CLI) GetGCPStorageHandler() service.Registerable

GetGCPStorageHandler returns the GCS handler for the dashboard proxy.

func (*CLI) GetGCPStorageSettings

func (c *CLI) GetGCPStorageSettings() gcpstoragebackend.Settings

GetGCPStorageSettings returns Google Cloud Storage settings (gcpstorage.ConfigProvider).

func (*CLI) GetGlacierHandler

func (c *CLI) GetGlacierHandler() service.Registerable

GetGlacierHandler returns the Glacier handler (dashboard.AWSSDKProvider).

func (*CLI) GetGlobalConfig

func (c *CLI) GetGlobalConfig() *config.GlobalConfig

GetGlobalConfig returns the centralised account ID and region (config.Provider).

func (*CLI) GetGlueHandler

func (c *CLI) GetGlueHandler() service.Registerable

GetGlueHandler returns the Glue handler (dashboard.AWSSDKProvider).

func (*CLI) GetGrafanaHandler

func (c *CLI) GetGrafanaHandler() service.Registerable

GetGrafanaHandler returns the Amazon Managed Grafana handler (dashboard.AWSSDKProvider).

func (*CLI) GetGuardDutyHandler

func (c *CLI) GetGuardDutyHandler() service.Registerable

GetGuardDutyHandler returns the GuardDuty handler (dashboard.AWSSDKProvider).

func (*CLI) GetIAMHandler

func (c *CLI) GetIAMHandler() service.Registerable

GetIAMHandler returns the IAM handler (dashboard.AWSSDKProvider).

func (*CLI) GetIdentityStoreHandler

func (c *CLI) GetIdentityStoreHandler() service.Registerable

GetIdentityStoreHandler returns the Identity Store handler (dashboard.AWSSDKProvider).

func (*CLI) GetInspector2Handler

func (c *CLI) GetInspector2Handler() service.Registerable

GetInspector2Handler returns the Inspector2 handler (dashboard.AWSSDKProvider).

func (*CLI) GetIoTAnalyticsHandler

func (c *CLI) GetIoTAnalyticsHandler() service.Registerable

GetIoTAnalyticsHandler returns the IoT Analytics handler (dashboard.AWSSDKProvider).

func (*CLI) GetIoTDataPlaneHandler

func (c *CLI) GetIoTDataPlaneHandler() service.Registerable

GetIoTDataPlaneHandler returns the IoT Data Plane handler (dashboard.AWSSDKProvider).

func (*CLI) GetIoTHandler

func (c *CLI) GetIoTHandler() service.Registerable

GetIoTHandler returns the IoT handler (dashboard.AWSSDKProvider).

func (*CLI) GetIoTSettings

func (c *CLI) GetIoTSettings() iotbackend.Settings

GetIoTSettings returns IoT settings (iot.ConfigProvider).

func (*CLI) GetIoTWirelessHandler

func (c *CLI) GetIoTWirelessHandler() service.Registerable

GetIoTWirelessHandler returns the IoT Wireless handler (dashboard.AWSSDKProvider).

func (*CLI) GetKMSHandler

func (c *CLI) GetKMSHandler() service.Registerable

GetKMSHandler returns the KMS handler (dashboard.AWSSDKProvider).

func (*CLI) GetKMSSettings

func (c *CLI) GetKMSSettings() kmsbackend.Settings

GetKMSSettings returns KMS settings (kms.ConfigProvider).

func (*CLI) GetKafkaCADir

func (c *CLI) GetKafkaCADir() string

GetKafkaCADir persists the MSK broker CA under the data dir when --persist is on (kafka.EngineCADirConfig).

func (*CLI) GetKafkaConnectHandler

func (c *CLI) GetKafkaConnectHandler() service.Registerable

GetKafkaConnectHandler returns the MSK Connect handler (dashboard.AWSSDKProvider).

func (*CLI) GetKafkaEngine

func (c *CLI) GetKafkaEngine() string

GetKafkaEngine returns the MSK engine mode (kafka.EngineConfig).

func (*CLI) GetKafkaHandler

func (c *CLI) GetKafkaHandler() service.Registerable

GetKafkaHandler returns the Kafka handler (dashboard.AWSSDKProvider).

func (*CLI) GetKinesisAnalyticsHandler

func (c *CLI) GetKinesisAnalyticsHandler() service.Registerable

GetKinesisAnalyticsHandler returns the Kinesis Analytics handler (dashboard.AWSSDKProvider).

func (*CLI) GetKinesisAnalyticsV2Handler

func (c *CLI) GetKinesisAnalyticsV2Handler() service.Registerable

GetKinesisAnalyticsV2Handler returns the Kinesis Data Analytics v2 handler (dashboard.AWSSDKProvider).

func (*CLI) GetKinesisHandler

func (c *CLI) GetKinesisHandler() service.Registerable

GetKinesisHandler returns the Kinesis handler (dashboard.AWSSDKProvider).

func (*CLI) GetKinesisSettings

func (c *CLI) GetKinesisSettings() kinesisbackend.Settings

GetKinesisSettings returns Kinesis settings (kinesis.ConfigProvider).

func (*CLI) GetKinesisVideoHandler

func (c *CLI) GetKinesisVideoHandler() service.Registerable

GetKinesisVideoHandler returns the Kinesis Video Streams handler (dashboard.AWSSDKProvider).

func (*CLI) GetLakeFormationHandler

func (c *CLI) GetLakeFormationHandler() service.Registerable

GetLakeFormationHandler returns the Lake Formation handler (dashboard.AWSSDKProvider).

func (*CLI) GetLambdaHandler

func (c *CLI) GetLambdaHandler() service.Registerable

GetLambdaHandler returns the Lambda handler (dashboard.AWSSDKProvider).

func (*CLI) GetLambdaSettings

func (c *CLI) GetLambdaSettings() lambdabackend.Settings

GetLambdaSettings returns Lambda settings (lambda.SettingsProvider).

func (*CLI) GetLightsailHandler

func (c *CLI) GetLightsailHandler() service.Registerable

GetLightsailHandler returns the Amazon Lightsail handler (dashboard.AWSSDKProvider).

func (*CLI) GetMGNHandler

func (c *CLI) GetMGNHandler() service.Registerable

GetMGNHandler returns the AWS Application Migration Service handler (dashboard.AWSSDKProvider).

func (*CLI) GetMQEngine

func (c *CLI) GetMQEngine() string

GetMQEngine returns the Amazon MQ engine mode (mq.EngineConfig).

func (*CLI) GetMQHandler

func (c *CLI) GetMQHandler() service.Registerable

GetMQHandler returns the Amazon MQ handler (dashboard.AWSSDKProvider).

func (*CLI) GetMWAAHandler

func (c *CLI) GetMWAAHandler() service.Registerable

GetMWAAHandler returns the MWAA handler (dashboard.AWSSDKProvider).

func (*CLI) GetMacie2Handler

func (c *CLI) GetMacie2Handler() service.Registerable

GetMacie2Handler returns the Macie2 handler (dashboard.AWSSDKProvider).

func (*CLI) GetManagedBlockchainHandler

func (c *CLI) GetManagedBlockchainHandler() service.Registerable

GetManagedBlockchainHandler returns the Managed Blockchain handler (dashboard.AWSSDKProvider).

func (*CLI) GetMediaConvertHandler

func (c *CLI) GetMediaConvertHandler() service.Registerable

GetMediaConvertHandler returns the MediaConvert handler (dashboard.AWSSDKProvider).

func (*CLI) GetMediaStoreDataHandler

func (c *CLI) GetMediaStoreDataHandler() service.Registerable

GetMediaStoreDataHandler returns the MediaStore Data handler (dashboard.AWSSDKProvider).

func (*CLI) GetMediaStoreHandler

func (c *CLI) GetMediaStoreHandler() service.Registerable

GetMediaStoreHandler returns the MediaStore handler (dashboard.AWSSDKProvider).

func (*CLI) GetMemoryDBEngine

func (c *CLI) GetMemoryDBEngine() string

GetMemoryDBEngine returns the MemoryDB engine mode (memorydb.EngineConfig).

func (*CLI) GetMemoryDBHandler

func (c *CLI) GetMemoryDBHandler() service.Registerable

GetMemoryDBHandler returns the MemoryDB handler (dashboard.AWSSDKProvider).

func (*CLI) GetNeptuneEngine

func (c *CLI) GetNeptuneEngine() string

GetNeptuneEngine returns the Neptune engine mode (neptune.EngineModeConfig).

func (*CLI) GetNeptuneHandler

func (c *CLI) GetNeptuneHandler() service.Registerable

GetNeptuneHandler returns the Neptune handler (dashboard.AWSSDKProvider).

func (*CLI) GetNetworkManagerHandler

func (c *CLI) GetNetworkManagerHandler() service.Registerable

GetNetworkManagerHandler returns the AWS Network Manager handler (dashboard.AWSSDKProvider).

func (*CLI) GetNetworkMonitorHandler

func (c *CLI) GetNetworkMonitorHandler() service.Registerable

GetNetworkMonitorHandler returns the NetworkMonitor handler.

func (*CLI) GetOpenSearchEngine

func (c *CLI) GetOpenSearchEngine() string

GetOpenSearchEngine returns the OpenSearch engine mode (opensearch.EngineConfig).

func (*CLI) GetOpenSearchHandler

func (c *CLI) GetOpenSearchHandler() service.Registerable

GetOpenSearchHandler returns the OpenSearch handler.

func (*CLI) GetOrganizationsHandler

func (c *CLI) GetOrganizationsHandler() service.Registerable

GetOrganizationsHandler returns the Organizations handler (dashboard.AWSSDKProvider).

func (*CLI) GetOutpostsHandler

func (c *CLI) GetOutpostsHandler() service.Registerable

GetOutpostsHandler returns the AWS Outposts handler (dashboard.AWSSDKProvider).

func (*CLI) GetPinpointHandler

func (c *CLI) GetPinpointHandler() service.Registerable

GetPinpointHandler returns the Pinpoint handler (dashboard.AWSSDKProvider).

func (*CLI) GetPipesHandler

func (c *CLI) GetPipesHandler() service.Registerable

GetPipesHandler returns the Pipes handler (dashboard.AWSSDKProvider).

func (*CLI) GetPortAllocator

func (c *CLI) GetPortAllocator() *portalloc.Allocator

GetPortAllocator returns the shared runtime port allocator.

func (*CLI) GetRAMHandler

func (c *CLI) GetRAMHandler() service.Registerable

GetRAMHandler returns the RAM handler (dashboard.AWSSDKProvider).

func (*CLI) GetRDSCADir

func (c *CLI) GetRDSCADir() string

GetRDSCADir persists the docker-mode RDS CA under the data dir when --persist is on (rds.EngineCADirConfig).

func (*CLI) GetRDSDataHandler

func (c *CLI) GetRDSDataHandler() service.Registerable

GetRDSDataHandler returns the RDS Data handler (dashboard.AWSSDKProvider).

func (*CLI) GetRDSEngine

func (c *CLI) GetRDSEngine() string

GetRDSEngine returns the RDS engine mode (rds.EngineModeConfig).

func (*CLI) GetRDSHandler

func (c *CLI) GetRDSHandler() service.Registerable

GetRDSHandler returns the RDS handler (dashboard.AWSSDKProvider).

func (*CLI) GetRedshiftDataHandler

func (c *CLI) GetRedshiftDataHandler() service.Registerable

GetRedshiftDataHandler returns the Redshift Data handler (dashboard.AWSSDKProvider).

func (*CLI) GetRedshiftEngine

func (c *CLI) GetRedshiftEngine() string

GetRedshiftEngine returns the Redshift engine mode (redshift.EngineModeConfig).

func (*CLI) GetRedshiftHandler

func (c *CLI) GetRedshiftHandler() service.Registerable

GetRedshiftHandler returns the Redshift handler (dashboard.AWSSDKProvider).

func (*CLI) GetRedshiftServerlessHandler

func (c *CLI) GetRedshiftServerlessHandler() service.Registerable

GetRedshiftServerlessHandler returns the Redshift Serverless handler.

func (*CLI) GetResilienceHubHandler

func (c *CLI) GetResilienceHubHandler() service.Registerable

GetResilienceHubHandler returns the AWS Resilience Hub handler (dashboard.AWSSDKProvider).

func (*CLI) GetResourceGroupsHandler

func (c *CLI) GetResourceGroupsHandler() service.Registerable

GetResourceGroupsHandler returns the Resource Groups handler (dashboard.AWSSDKProvider).

func (*CLI) GetResourceGroupsTaggingHandler

func (c *CLI) GetResourceGroupsTaggingHandler() service.Registerable

GetResourceGroupsTaggingHandler returns the Resource Groups Tagging API handler.

func (*CLI) GetRoute53Handler

func (c *CLI) GetRoute53Handler() service.Registerable

GetRoute53Handler returns the Route 53 handler (dashboard.AWSSDKProvider).

func (*CLI) GetRoute53RecoveryClusterHandler

func (c *CLI) GetRoute53RecoveryClusterHandler() service.Registerable

GetRoute53RecoveryClusterHandler returns the Route 53 Recovery Cluster handler.

func (*CLI) GetRoute53RecoveryControlConfigHandler

func (c *CLI) GetRoute53RecoveryControlConfigHandler() service.Registerable

GetRoute53RecoveryControlConfigHandler returns the Route 53 Recovery Control Config handler.

func (*CLI) GetRoute53RecoveryReadinessHandler

func (c *CLI) GetRoute53RecoveryReadinessHandler() service.Registerable

GetRoute53RecoveryReadinessHandler returns the Route 53 Recovery Readiness handler.

func (*CLI) GetRoute53ResolverHandler

func (c *CLI) GetRoute53ResolverHandler() service.Registerable

GetRoute53ResolverHandler returns the Route53Resolver handler (dashboard.AWSSDKProvider).

func (*CLI) GetS3Client

func (c *CLI) GetS3Client() *s3.Client

GetS3Client returns the SDK client for S3 (dashboard.AWSSDKProvider).

func (*CLI) GetS3ControlHandler

func (c *CLI) GetS3ControlHandler() service.Registerable

GetS3ControlHandler returns the S3 Control handler (dashboard.AWSSDKProvider).

func (*CLI) GetS3Endpoint

func (c *CLI) GetS3Endpoint() string

GetS3Endpoint returns the configured S3 endpoint (s3.ConfigProvider).

func (*CLI) GetS3Handler

func (c *CLI) GetS3Handler() service.Registerable

GetS3Handler returns the S3 handler (dashboard.AWSSDKProvider).

func (*CLI) GetS3Settings

func (c *CLI) GetS3Settings() s3backend.Settings

GetS3Settings returns S3 settings (s3.ConfigProvider).

func (*CLI) GetS3TablesHandler

func (c *CLI) GetS3TablesHandler() service.Registerable

GetS3TablesHandler returns the S3 Tables handler (dashboard.AWSSDKProvider).

func (*CLI) GetSESHandler

func (c *CLI) GetSESHandler() service.Registerable

GetSESHandler returns the SES handler (dashboard.AWSSDKProvider).

func (*CLI) GetSESSettings

func (c *CLI) GetSESSettings() sesbackend.Settings

GetSESSettings returns SES settings (ses.ConfigProvider).

func (*CLI) GetSESv2Handler

func (c *CLI) GetSESv2Handler() service.Registerable

GetSESv2Handler returns the SES v2 handler (dashboard.AWSSDKProvider).

func (*CLI) GetSNSHandler

func (c *CLI) GetSNSHandler() service.Registerable

GetSNSHandler returns the SNS handler (dashboard.AWSSDKProvider).

func (*CLI) GetSQSClient

func (c *CLI) GetSQSClient() *sqssdk.Client

GetSQSClient returns the SDK client for SQS (dashboard.AWSSDKProvider).

func (*CLI) GetSQSHandler

func (c *CLI) GetSQSHandler() service.Registerable

GetSQSHandler returns the SQS handler (dashboard.AWSSDKProvider).

func (*CLI) GetSSMClient

func (c *CLI) GetSSMClient() *ssmsdk.Client

GetSSMClient returns the SDK client for SSM (dashboard.AWSSDKProvider).

func (*CLI) GetSSMHandler

func (c *CLI) GetSSMHandler() service.Registerable

GetSSMHandler returns the SSM handler (dashboard.AWSSDKProvider).

func (*CLI) GetSSMSettings

func (c *CLI) GetSSMSettings() ssmbackend.Settings

GetSSMSettings returns SSM settings (ssm.ConfigProvider).

func (*CLI) GetSTSClient

func (c *CLI) GetSTSClient() *stssdk.Client

GetSTSClient returns the SDK client for STS (dashboard.AWSSDKProvider).

func (*CLI) GetSTSHandler

func (c *CLI) GetSTSHandler() service.Registerable

GetSTSHandler returns the STS handler (dashboard.AWSSDKProvider).

func (*CLI) GetSTSSettings

func (c *CLI) GetSTSSettings() stsbackend.Settings

GetSTSSettings returns STS settings (sts.ConfigProvider).

func (*CLI) GetSWFHandler

func (c *CLI) GetSWFHandler() service.Registerable

GetSWFHandler returns the SWF handler (dashboard.AWSSDKProvider).

func (*CLI) GetSageMakerHandler

func (c *CLI) GetSageMakerHandler() service.Registerable

GetSageMakerHandler returns the SageMaker handler (dashboard.AWSSDKProvider).

func (*CLI) GetSageMakerRuntimeHandler

func (c *CLI) GetSageMakerRuntimeHandler() service.Registerable

GetSageMakerRuntimeHandler returns the SageMaker Runtime handler (dashboard.AWSSDKProvider).

func (*CLI) GetSchedulerHandler

func (c *CLI) GetSchedulerHandler() service.Registerable

GetSchedulerHandler returns the Scheduler handler (dashboard.AWSSDKProvider).

func (*CLI) GetSecretsManagerHandler

func (c *CLI) GetSecretsManagerHandler() service.Registerable

GetSecretsManagerHandler returns the Secrets Manager handler (dashboard.AWSSDKProvider).

func (*CLI) GetServerlessRepoHandler

func (c *CLI) GetServerlessRepoHandler() service.Registerable

GetServerlessRepoHandler returns the Serverless Application Repository handler (dashboard.AWSSDKProvider).

func (*CLI) GetServiceDiscoveryHandler

func (c *CLI) GetServiceDiscoveryHandler() service.Registerable

GetServiceDiscoveryHandler returns the Service Discovery handler (dashboard.AWSSDKProvider).

func (*CLI) GetSettings

func (c *CLI) GetSettings() dashboard.Settings

GetSettings returns the dashboard configuration settings.

func (*CLI) GetShieldHandler

func (c *CLI) GetShieldHandler() service.Registerable

GetShieldHandler returns the Shield handler (dashboard.AWSSDKProvider).

func (*CLI) GetSsoAdminHandler

func (c *CLI) GetSsoAdminHandler() service.Registerable

GetSsoAdminHandler returns the SSO Admin handler (dashboard.AWSSDKProvider).

func (*CLI) GetStepFunctionsHandler

func (c *CLI) GetStepFunctionsHandler() service.Registerable

GetStepFunctionsHandler returns the Step Functions handler (dashboard.AWSSDKProvider).

func (*CLI) GetStepFunctionsSettings

func (c *CLI) GetStepFunctionsSettings() sfnbackend.Settings

GetStepFunctionsSettings returns Step Functions settings (stepfunctions.SettingsProvider).

func (*CLI) GetSupportHandler

func (c *CLI) GetSupportHandler() service.Registerable

GetSupportHandler returns the Support handler (dashboard.AWSSDKProvider).

func (*CLI) GetTextractHandler

func (c *CLI) GetTextractHandler() service.Registerable

GetTextractHandler returns the Textract handler (dashboard.AWSSDKProvider).

func (*CLI) GetTimestreamQueryHandler

func (c *CLI) GetTimestreamQueryHandler() service.Registerable

GetTimestreamQueryHandler returns the Timestream Query handler (dashboard.AWSSDKProvider).

func (*CLI) GetTimestreamWriteHandler

func (c *CLI) GetTimestreamWriteHandler() service.Registerable

GetTimestreamWriteHandler returns the Timestream Write handler (dashboard.AWSSDKProvider).

func (*CLI) GetTranscribeHandler

func (c *CLI) GetTranscribeHandler() service.Registerable

GetTranscribeHandler returns the Transcribe handler (dashboard.AWSSDKProvider).

func (*CLI) GetTransferHandler

func (c *CLI) GetTransferHandler() service.Registerable

GetTransferHandler returns the Transfer handler (dashboard.AWSSDKProvider).

func (*CLI) GetVerifiedPermissionsHandler

func (c *CLI) GetVerifiedPermissionsHandler() service.Registerable

GetVerifiedPermissionsHandler returns the Verified Permissions handler (dashboard.AWSSDKProvider).

func (*CLI) GetWAFHandler

func (c *CLI) GetWAFHandler() service.Registerable

GetWAFHandler returns the WAF Classic handler (dashboard.AWSSDKProvider).

func (*CLI) GetWafv2Handler

func (c *CLI) GetWafv2Handler() service.Registerable

GetWafv2Handler returns the WAFv2 handler (dashboard.AWSSDKProvider).

func (*CLI) GetXRaySettings

func (c *CLI) GetXRaySettings() xraybackend.Settings

GetXRaySettings returns X-Ray settings (xray.ConfigProvider).

func (*CLI) GetXrayHandler

func (c *CLI) GetXrayHandler() service.Registerable

GetXrayHandler returns the X-Ray handler (dashboard.AWSSDKProvider).

func (*CLI) IAMPolicyStream

func (c *CLI) IAMPolicyStream() *iampolicystream.Recorder

IAMPolicyStream returns the process-wide IAM evaluation recorder.

func (*CLI) LoadConfig

func (c *CLI) LoadConfig() error

LoadConfig loads the configuration from disk if it exists.

func (*CLI) SaveConfig

func (c *CLI) SaveConfig() error

func (*CLI) UpdateSettings

func (c *CLI) UpdateSettings(s dashboard.Settings)

UpdateSettings updates both the CLI state and the shared GlobalConfig pointer.

type EngineSettings

type EngineSettings struct {
	Engines string `` //nolint:lll,golines // config struct tags are intentionally verbose
	/* 200-byte string literal not displayed */
	ECSRuntime string `` //nolint:lll,golines // config struct tags are intentionally verbose
	/* 129-byte string literal not displayed */
}

EngineSettings holds the global engine switch and the ECS task runtime.

type HealthCmd

type HealthCmd struct {
	Port string `name:"port" env:"PORT" default:"8000" help:"Port of the running server to check."` //nolint:lll // config struct tags are intentionally verbose
}

HealthCmd checks a running Gopherstack instance's health endpoint.

func (*HealthCmd) Run

func (h *HealthCmd) Run() error

Run executes the health check. Returns nil on success.

type PodCmd

type PodCmd struct {
	Save     PodSaveCmd     `cmd:"" help:"Save current state as a new pod version."`
	List     PodListCmd     `cmd:"" help:"List pods."`
	Versions PodVersionsCmd `cmd:"" help:"List versions of a pod."`
	Delete   PodDeleteCmd   `cmd:"" help:"Delete a pod, or one version of it."`
	Inspect  PodInspectCmd  `cmd:"" help:"Show the manifest of a pod version."`
	Load     PodLoadCmd     `cmd:"" help:"Load a pod version into the running instance."`
}

PodCmd groups the `gopherstack pod` subcommands, which call a running instance.

type PodDeleteCmd

type PodDeleteCmd struct {
	PodTarget `       embed:""`
	Name      string `         arg:"" help:"Pod name."`
	Version   string `                help:"Delete only this version (default: whole pod)." name:"version"`
}

PodDeleteCmd is `gopherstack pod delete NAME`.

func (*PodDeleteCmd) Run

func (c *PodDeleteCmd) Run() error

Run executes `pod delete`.

type PodInspectCmd

type PodInspectCmd struct {
	PodTarget `       embed:""`
	Name      string `         arg:"" help:"Pod name."`
	Version   string `                help:"Version number or 'latest'." name:"version" default:"latest"`
}

PodInspectCmd is `gopherstack pod inspect NAME`.

func (*PodInspectCmd) Run

func (c *PodInspectCmd) Run() error

Run executes `pod inspect`.

type PodListCmd

type PodListCmd struct {
	PodTarget `embed:""`
}

PodListCmd is `gopherstack pod list`.

func (*PodListCmd) Run

func (c *PodListCmd) Run() error

Run executes `pod list`.

type PodLoadCmd

type PodLoadCmd struct {
	PodTarget `         embed:""`
	Name      string `         arg:"" help:"Pod name."`
	Version   string `` //nolint:lll // config struct tags are intentionally verbose
	/* 138-byte string literal not displayed */
	Strategy string `` //nolint:lll // config struct tags are intentionally verbose
	/* 172-byte string literal not displayed */
	Services []string `                help:"Only load these services."                                                          name:"services"` //nolint:lll // config struct tags are intentionally verbose
}

PodLoadCmd is `gopherstack pod load NAME`.

func (*PodLoadCmd) Run

func (c *PodLoadCmd) Run() error

Run executes `pod load`.

type PodSaveCmd

type PodSaveCmd struct {
	PodTarget `         embed:""`
	Name      string   `         arg:"" help:"Pod name."`
	Message   string   `                help:"Version message."          name:"message"  short:"m"`
	Services  []string `                help:"Only save these services." name:"services"`
}

PodSaveCmd is `gopherstack pod save NAME`.

func (*PodSaveCmd) Run

func (c *PodSaveCmd) Run() error

Run executes `pod save`.

type PodTarget

type PodTarget struct {
	Endpoint string `name:"endpoint" env:"GOPHERSTACK_ENDPOINT" default:"http://localhost:8000" help:"Base URL of the running Gopherstack."` //nolint:lll // config struct tags are intentionally verbose
}

PodTarget locates the running instance.

type PodVersionsCmd

type PodVersionsCmd struct {
	PodTarget `       embed:""`
	Name      string `         arg:"" help:"Pod name."`
}

PodVersionsCmd is `gopherstack pod versions NAME`.

func (*PodVersionsCmd) Run

func (c *PodVersionsCmd) Run() error

Run executes `pod versions`.

type PodsConfig

type PodsConfig struct {
	Dir        string `name:"dir"           env:"GOPHERSTACK_POD_DIR"           help:"Local pod directory (default: <data-dir>/pods)."`              //nolint:lll // config struct tags are intentionally verbose
	S3Bucket   string `name:"s3-bucket"     env:"GOPHERSTACK_POD_S3_BUCKET"     help:"Store pods in this S3 bucket instead of the local directory."` //nolint:lll // config struct tags are intentionally verbose
	S3Prefix   string `name:"s3-prefix"     env:"GOPHERSTACK_POD_S3_PREFIX"     help:"Key prefix for pods in the S3 bucket."`                        //nolint:lll // config struct tags are intentionally verbose
	S3Endpoint string `name:"s3-endpoint"   env:"GOPHERSTACK_POD_S3_ENDPOINT"   help:"S3-compatible endpoint URL (empty means real AWS S3)."`        //nolint:lll // config struct tags are intentionally verbose
	S3Region   string ``                                                                                                                             //nolint:lll // config struct tags are intentionally verbose
	/* 153-byte string literal not displayed */
	S3AccessKey string `` //nolint:lll // config struct tags are intentionally verbose
	/* 133-byte string literal not displayed */
	S3SecretKey string `name:"s3-secret-key" env:"GOPHERSTACK_POD_S3_SECRET_KEY" help:"Secret key for the pod S3 bucket."`               //nolint:lll // config struct tags are intentionally verbose
	Autoload    string `name:"autoload"      env:"GOPHERSTACK_POD_AUTOLOAD"      help:"Load pod NAME[:VERSION] (overwrite) at startup."` //nolint:lll // config struct tags are intentionally verbose
	S3PathStyle bool   `name:"s3-path-style" env:"GOPHERSTACK_POD_S3_PATH_STYLE" help:"Use path-style S3 addressing."`                   //nolint:lll // config struct tags are intentionally verbose
}

PodsConfig configures named, versioned state snapshots (pods).

type ReplicateCmd

type ReplicateCmd struct {
	SourceProfile  string `name:"source-profile"   help:"AWS shared-config profile for the source account."`
	SourceEndpoint string `name:"source-endpoint"  help:"Source endpoint URL (empty means real AWS)."`
	Region         string `` //nolint:lll // config struct tags are intentionally verbose
	/* 140-byte string literal not displayed */
	Target string `` //nolint:lll // config struct tags are intentionally verbose
	/* 152-byte string literal not displayed */
	TargetRegion   string   `name:"target-region"    help:"Target region (default: the source region)."`
	Identifier     string   `name:"identifier"       help:"Only replicate the resource with this name."`
	ResourceType   []string `name:"resource-type"    help:"Resource type to replicate; repeatable (default: all)."`
	MaxObjectBytes int64    `` //nolint:lll // config struct tags are intentionally verbose
	/* 139-byte string literal not displayed */
	DryRun         bool `name:"dry-run"          help:"Show the plan without writing to the target."`
	IncludeData    bool `name:"include-data"     help:"Also copy S3 objects and DynamoDB items."`
	WithDecryption bool `name:"with-decryption"  help:"Decrypt SecureString parameters so their values can be copied."`
	JSON           bool `name:"json"             help:"Print the report as JSON."`
}

ReplicateCmd is `gopherstack replicate`: copy resources from a real AWS account or AWS-compatible endpoint into a running Gopherstack.

func (*ReplicateCmd) Run

func (c *ReplicateCmd) Run() error

Run executes `replicate`.

type TransparentSettings

type TransparentSettings struct {
	HTTPSAddr    string `name:"https-addr"        env:"TRANSPARENT_HTTPS_ADDR"        default:":443" help:"HTTPS listen addr."`             //nolint:lll // config struct tags are intentionally verbose
	ContainerDNS string `name:"container-dns"     env:"TRANSPARENT_CONTAINER_DNS"                    help:"DNS IP for spawned containers."` //nolint:lll // config struct tags are intentionally verbose
	CADir        string ``                                                                                                                  //nolint:lll // config struct tags are intentionally verbose
	/* 132-byte string literal not displayed */
	CAHostPath string `` //nolint:lll // config struct tags are intentionally verbose
	/* 167-byte string literal not displayed */
	DNSSkip     []string `name:"dns-skip"          env:"TRANSPARENT_DNS_SKIP"                         help:"Names/zones that keep resolving upstream."` //nolint:lll // config struct tags are intentionally verbose
	DNSUpstream []string `name:"dns-upstream"      env:"TRANSPARENT_DNS_UPSTREAM"                     help:"Upstream resolvers host:port."`             //nolint:lll // config struct tags are intentionally verbose
	Enabled     bool     ``                                                                                                                             //nolint:lll // config struct tags are intentionally verbose
	/* 131-byte string literal not displayed */
}

TransparentSettings configures transparent endpoint injection: unmodified SDKs targeting real *.amazonaws.com names reach gopherstack via the embedded DNS and an HTTPS listener.

Source Files

Jump to

Keyboard shortcuts

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