actions

package
v0.17.2 Latest Latest
Warning

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

Go to latest
Published: Nov 13, 2023 License: AGPL-3.0 Imports: 31 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (

	// ENV is used to help switch settings based on where the
	// application is being run. Default is "development".
	ENV = envy.Get("GO_ENV", "development")

	// ConfigFile is the name of the json config file
	ConfigFile = "config/config.json"

	// The org for this instance of the app
	Org string

	// Version is the main version number
	Version = rdsapi.Version

	// VersionPrerelease is a prerelease marker
	VersionPrerelease = rdsapi.VersionPrerelease

	// BuildStamp is the timestamp the binary was built, it should be set at buildtime with ldflags
	BuildStamp = rdsapi.BuildStamp

	// GitHash is the git sha of the built binary, it should be set at buildtime with ldflags
	GitHash = rdsapi.GitHash
)

Functions

func App

func App() *buffalo.App

App is where all routes and middleware for buffalo should be defined

func ErrCode added in v0.10.0

func ErrCode(msg string, err error) error

func PingPong

func PingPong(c buffalo.Context) error

PingPong responds to a ping

func VersionHandler added in v0.5.0

func VersionHandler(c buffalo.Context) error

VersionHandler returns the app version.

Types

type CreateDBClusterInput added in v0.13.0

type CreateDBClusterInput struct {
	BackupRetentionPeriod       *int64
	DBClusterIdentifier         *string
	DBClusterParameterGroupName *string
	DBSubnetGroupName           *string
	EnableCloudwatchLogsExports []*string
	Engine                      *string
	EngineMode                  *string
	EngineVersion               *string
	MasterUserPassword          *string
	MasterUsername              *string
	Port                        *int64
	ScalingConfiguration        *ScalingConfiguration
	SnapshotIdentifier          *string
	StorageEncrypted            *bool
	Tags                        []*Tag
	VpcSecurityGroupIds         []*string
}

CreateDBClusterInput is the input for creating a new database cluster based on https://docs.aws.amazon.com/sdk-for-go/api/service/rds/#CreateDBClusterInput

type CreateDBInstanceInput added in v0.13.0

type CreateDBInstanceInput struct {
	AllocatedStorage            *int64
	BackupRetentionPeriod       *int64
	DBClusterIdentifier         *string
	DBInstanceClass             *string
	DBInstanceIdentifier        *string
	DBParameterGroupName        *string
	DBSubnetGroupName           *string
	EnableCloudwatchLogsExports []*string
	Engine                      *string
	EngineVersion               *string
	LicenseModel                *string
	MasterUserPassword          *string
	MasterUsername              *string
	MultiAZ                     *bool
	Port                        *int64
	SnapshotIdentifier          *string
	StorageEncrypted            *bool
	Tags                        []*Tag
	VpcSecurityGroupIds         []*string
}

CreateDBInstanceInput is the input for creating a new database instance based on https://docs.aws.amazon.com/sdk-for-go/api/service/rds/#CreateDBInstanceInput

type DatabaseCreateRequest added in v0.13.0

type DatabaseCreateRequest struct {
	Cluster  *CreateDBClusterInput
	Instance *CreateDBInstanceInput
}

func (DatabaseCreateRequest) String added in v0.13.0

func (dcr DatabaseCreateRequest) String() string

type DatabaseModifyInput added in v0.2.0

DatabaseModifyInput is the input for modifying an existing database

type DatabaseResponse added in v0.13.0

DatabaseResponse is the output from database operations

type DatabaseStateInput added in v0.8.0

type DatabaseStateInput struct {
	State string
}

DatabaseStateInput is the input for changing the database state

type ScalingConfiguration added in v0.13.0

type ScalingConfiguration struct {
	AutoPause             *bool
	MaxCapacity           *int64
	MinCapacity           *int64
	SecondsUntilAutoPause *int64
	TimeoutAction         *string
}

type SnapshotCreateRequest added in v0.14.0

type SnapshotCreateRequest struct {
	SnapshotIdentifier string
}

type SnapshotModifyRequest added in v0.16.3

type SnapshotModifyRequest struct {
	EngineVersion string
}

type Tag added in v0.13.0

type Tag struct {
	Key   *string
	Value *string
}

Jump to

Keyboard shortcuts

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