actions

package
v0.0.7 Latest Latest
Warning

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

Go to latest
Published: Oct 31, 2018 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var AppConfig common.Config

AppConfig holds the configuration information for the app

View Source
var ENV = envy.Get("GO_ENV", "development")

ENV is used to help switch settings based on where the application is being run. Default is "development".

View Source
var RDS = make(map[string]rds.Client)

RDS is a global map of RDS clients

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 It will delete the database instance with the given {db} name and will also delete the associated cluster if the instance belongs to a cluster and is the last remaining member. If the snapshot=true parameter is given, it will create a final snapshot of the instance/cluster.

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 It will create a database instance as specified by the `Instance` hash parameters. If a `Cluster` hash is also given, it will first create an RDS cluster and the instance next.

func PingPong

func PingPong(c buffalo.Context) error

PingPong responds to a ping

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

Jump to

Keyboard shortcuts

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