actions

package
v0.11.0-pre2 Latest Latest
Warning

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

Go to latest
Published: Mar 17, 2021 License: AGPL-3.0 Imports: 21 Imported by: 2

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")

	// AppConfig holds the configuration information for the app
	AppConfig common.Config

	// RDS is a global map of RDS clients
	RDS = make(map[string]rds.Client)

	// 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 DatabasesDelete

func DatabasesDelete(c buffalo.Context) error

DatabasesDelete deletes a database in a given account

func DatabasesGet

func DatabasesGet(c buffalo.Context) error

DatabasesGet gets details about a specific database If the `all=true` parameter is passed it will return a list of clusters in addition to instances.

func DatabasesList added in v0.0.7

func DatabasesList(c buffalo.Context) error

DatabasesList gets a list of databases for a given account If the `all=true` parameter is passed it will return a list of clusters in addition to instances.

func DatabasesPost

func DatabasesPost(c buffalo.Context) error

DatabasesPost creates a database in a given account

func DatabasesPut added in v0.2.0

func DatabasesPut(c buffalo.Context) error

DatabasesPut modifies a database in a given account

func DatabasesPutState added in v0.8.0

func DatabasesPutState(c buffalo.Context) error

DatabasesPutState stops or starts a database in a given account

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 DatabaseCreateInput added in v0.0.7

DatabaseCreateInput is the input for creating a new database The Instance part is required and defines the database instance properties The Cluster is optional if the created database instance belongs to a new cluster

type DatabaseCreateOutput added in v0.9.0

DatabaseCreateOutput is the output from creating a new database

type DatabaseDeleteOutput added in v0.9.0

DatabaseDeleteOutput is the output from deleting a database

type DatabaseModifyInput added in v0.2.0

DatabaseModifyInput is the input for modifying an existing database

type DatabaseModifyOutput added in v0.9.0

DatabaseModifyOutput is the output from modifying an existing database

type DatabaseStateInput added in v0.8.0

type DatabaseStateInput struct {
	State string
}

DatabaseStateInput is the input for changing the database state

Jump to

Keyboard shortcuts

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