Documentation
¶
Index ¶
- Variables
- func App() *buffalo.App
- func ErrCode(msg string, err error) error
- func PingPong(c buffalo.Context) error
- func VersionHandler(c buffalo.Context) error
- type CreateDBClusterInput
- type CreateDBInstanceInput
- type DatabaseCreateRequest
- type DatabaseModifyInput
- type DatabaseResponse
- type DatabaseStateInput
- type ScalingConfiguration
- type ServerlessV2ScalingConfiguration
- type SnapshotCreateRequest
- type SnapshotModifyRequest
- type Tag
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 VersionHandler ¶ added in v0.5.0
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
ServerlessV2ScalingConfiguration *ServerlessV2ScalingConfiguration
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
type DatabaseModifyInput struct {
// https://docs.aws.amazon.com/sdk-for-go/api/service/rds/#ModifyDBClusterInput
Cluster *rds.ModifyDBClusterInput
// https://docs.aws.amazon.com/sdk-for-go/api/service/rds/#ModifyDBInstanceInput
Instance *rds.ModifyDBInstanceInput
Tags []*rds.Tag
}
DatabaseModifyInput is the input for modifying an existing database
type DatabaseResponse ¶ added in v0.13.0
type DatabaseResponse struct {
// https://docs.aws.amazon.com/sdk-for-go/api/service/rds/#DBCluster
Cluster *rds.DBCluster
// https://docs.aws.amazon.com/sdk-for-go/api/service/rds/#DBInstance
Instance *rds.DBInstance
}
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 ServerlessV2ScalingConfiguration ¶ added in v0.19.0
type SnapshotCreateRequest ¶ added in v0.14.0
type SnapshotCreateRequest struct {
SnapshotIdentifier string
}
type SnapshotModifyRequest ¶ added in v0.16.3
type SnapshotModifyRequest struct {
EngineVersion string
}
Click to show internal directories.
Click to hide internal directories.