Versions in this module Expand all Collapse all v1 v1.2.0 Sep 26, 2018 Changes in this version + func MigrateSpaceDrain(cli plugin.CliConnection, args []string, d Downloader, f RefreshTokenFetcher, ...) + func PushServiceDrain(cli plugin.CliConnection, args []string, f RefreshTokenFetcher, log Logger, ...) + func PushSpaceServiceDrain(cli plugin.CliConnection, args []string, d Downloader, f RefreshTokenFetcher, ...) + type GUIDProvider func() string + type GroupNameProvider func() string v1.0.0 Jun 11, 2018 Changes in this version + func BindDrain(cli plugin.CliConnection, df DrainFetcher, args []string, log Logger) + func CreateDrain(cli plugin.CliConnection, args []string, d Downloader, log Logger) + func DeleteDrain(cli plugin.CliConnection, args []string, log Logger, in io.Reader, ...) + func DeleteSpaceDrain(cli plugin.CliConnection, args []string, log Logger, in io.Reader, ...) + func Drains(cli plugin.CliConnection, args []string, log Logger, tableWriter io.Writer, ...) + func PushSpaceDrain(cli plugin.CliConnection, reader io.Reader, args []string, d Downloader, ...) + type DeleteDrainFunc func(plugin.CliConnection, []string, Logger, io.Reader, DrainFetcher) + type Downloader interface + Download func(assetName string) string + type DrainFetcher interface + Drains func(spaceGUID string) ([]drain.Drain, error) + type GithubReleaseDownloader struct + func NewGithubReleaseDownloader(c HTTPClient, log Logger) GithubReleaseDownloader + func (d GithubReleaseDownloader) Download(assetName string) string + type HTTPClient interface + Do func(r *http.Request) (*http.Response, error) + type Logger interface + Fatalf func(format string, args ...interface{}) + Print func(...interface{}) + Printf func(format string, args ...interface{}) + type RefreshTokenFetcher interface + RefreshToken func() (string, error) + type TokenFetcher struct + func NewTokenFetcher(configPath string) *TokenFetcher + func (tf *TokenFetcher) RefreshToken() (string, error) Incompatible versions in this module v2.0.0+incompatible Oct 3, 2019