executor

package
v0.455.1 Latest Latest
Warning

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

Go to latest
Published: Feb 24, 2025 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ARNSecretMySQLSetup

type ARNSecretMySQLSetup struct {
	// contains filtered or unexported fields
}

ARNSecretMySQLSetup is an executor that sets up a mysql database on an RDS instance. It uses the secret ARN to get the admin username and password for the database.

func NewARNSecretMySQLSetup

func NewARNSecretMySQLSetup(secrets *secretsmanager.Client, username string) *ARNSecretMySQLSetup

func (*ARNSecretMySQLSetup) Execute

func (e *ARNSecretMySQLSetup) Execute(ctx context.Context) ([]state.State, error)

func (*ARNSecretMySQLSetup) Prepare

func (e *ARNSecretMySQLSetup) Prepare(_ context.Context, input state.State) error

type ARNSecretPostgresSetup

type ARNSecretPostgresSetup struct {
	// contains filtered or unexported fields
}

ARNSecretPostgresSetup is an executor that sets up a postgres database on an RDS instance. It uses the secret ARN to get the admin username and password for the database.

func NewPostgresSetup

func NewPostgresSetup(secrets *secretsmanager.Client) *ARNSecretPostgresSetup

func (*ARNSecretPostgresSetup) Execute

func (e *ARNSecretPostgresSetup) Execute(ctx context.Context) ([]state.State, error)

func (*ARNSecretPostgresSetup) Prepare

func (e *ARNSecretPostgresSetup) Prepare(_ context.Context, input state.State) error

Jump to

Keyboard shortcuts

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