backup

package
v0.0.0-...-28791c3 Latest Latest
Warning

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

Go to latest
Published: Aug 27, 2020 License: Apache-2.0, MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddColor

func AddColor(text string, textColor color.Attribute) string

func GetBrokerName

func GetBrokerName() string

func GetExtUrl

func GetExtUrl() string

func GetHttpClient

func GetHttpClient() *http.Client

func GetResponse

func GetResponse(client *http.Client, req *http.Request) *http.Response

func GetskipSslFlag

func GetskipSslFlag() bool

Types

type BackupCommand

type BackupCommand struct {
	// contains filtered or unexported fields
}

func NewBackupCommand

func NewBackupCommand(cliConnection plugin.CliConnection) *BackupCommand

func (*BackupCommand) AbortBackup

func (c *BackupCommand) AbortBackup(cliConnection plugin.CliConnection, serviceInstanceName string)

func (*BackupCommand) BackupInfo

func (c *BackupCommand) BackupInfo(cliConnection plugin.CliConnection, backupId string)

func (*BackupCommand) DeleteBackup

func (c *BackupCommand) DeleteBackup(cliConnection plugin.CliConnection, backupId string)

func (*BackupCommand) ListBackups

func (c *BackupCommand) ListBackups(cliConnection plugin.CliConnection, noInstanceNames bool)

func (*BackupCommand) ListBackupsByDeletedInstanceName

func (c *BackupCommand) ListBackupsByDeletedInstanceName(cliConnection plugin.CliConnection, serviceInstanceName string)

func (*BackupCommand) ListBackupsByInstance

func (c *BackupCommand) ListBackupsByInstance(cliConnection plugin.CliConnection, serviceInstanceName string, instanceGuid string, inputGuidBool bool)

func (*BackupCommand) StartBackup

func (c *BackupCommand) StartBackup(cliConnection plugin.CliConnection, serviceInstanceName string)

type Configuration

type Configuration struct {
	ServiceBroker       string
	ServiceBrokerExtUrl string
	SkipSslFlag         bool
}

Jump to

Keyboard shortcuts

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