restore

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: 17 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 Configuration

type Configuration struct {
	ServiceBroker       string
	ServiceBrokerExtUrl string
	SkipSslFlag         bool
}

type RestoreCommand

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

func NewRestoreCommand

func NewRestoreCommand(cliConnection plugin.CliConnection) *RestoreCommand

func (*RestoreCommand) AbortRestore

func (c *RestoreCommand) AbortRestore(cliConnection plugin.CliConnection, serviceInstanceName string)

func (*RestoreCommand) RestoreInfo

func (c *RestoreCommand) RestoreInfo(cliConnection plugin.CliConnection, serviceInstanceName string)

func (*RestoreCommand) StartRestore

func (c *RestoreCommand) StartRestore(cliConnection plugin.CliConnection, serviceInstanceName string, backupId string, timeStamp string, isGuidOperation bool)

Jump to

Keyboard shortcuts

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