db

package
v1.16.6 Latest Latest
Warning

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

Go to latest
Published: Feb 11, 2020 License: BSD-4-Clause, MIT Imports: 26 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BackupsConfiguration added in v1.16.6

func BackupsConfiguration(app, addon string, params scalingo.PeriodicBackupsConfigParams) (scalingo.Database, error)

func CreateBackup added in v1.16.6

func CreateBackup(app, addon string) error

func DownloadBackup added in v1.16.6

func DownloadBackup(app, addon, backupID string, opts DownloadBackupOpts) error

func InfluxDBConsole added in v1.16.6

func InfluxDBConsole(opts InfluxDBConsoleOpts) error

func ListBackups added in v1.16.6

func ListBackups(app, addon string) error

func Logs added in v1.16.6

func Logs(app, addon string, opts LogsOpts) error

func MongoConsole

func MongoConsole(opts MongoConsoleOpts) error

func MySQLConsole

func MySQLConsole(opts MySQLConsoleOpts) error

func PgSQLConsole

func PgSQLConsole(opts PgSQLConsoleOpts) error

func RedisConsole

func RedisConsole(opts RedisConsoleOpts) error

func Show added in v1.16.6

func Show(app, addon string) (scalingo.Database, error)

func Tunnel

func Tunnel(opts TunnelOpts) error

Types

type DownloadBackupOpts added in v1.16.6

type DownloadBackupOpts struct {
	Output string
	Silent bool
}

type InfluxDBConsoleOpts added in v1.16.6

type InfluxDBConsoleOpts struct {
	App  string
	Size string
}

type LogsOpts added in v1.16.6

type LogsOpts struct {
	Follow bool
	Count  int
}

type MongoConsoleOpts added in v1.16.6

type MongoConsoleOpts struct {
	App  string
	Size string
}

type MySQLConsoleOpts added in v1.16.6

type MySQLConsoleOpts struct {
	App  string
	Size string
}

type PgSQLConsoleOpts added in v1.16.6

type PgSQLConsoleOpts struct {
	App  string
	Size string
}

type RedisConsoleOpts added in v1.16.6

type RedisConsoleOpts struct {
	App  string
	Size string
}

type TunnelOpts added in v1.16.6

type TunnelOpts struct {
	App       string
	DBEnvVar  string
	Identity  string
	Bind      string
	Port      int
	Reconnect bool
}

Jump to

Keyboard shortcuts

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