remote

package
v0.19.0 Latest Latest
Warning

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

Go to latest
Published: Mar 17, 2018 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type App

type App struct {
	CLI  cfplugin.CliConnection
	UI   UI
	HTTP *http.Client
}

func (*App) Command

func (a *App) Command(name string) (string, error)

func (*App) Droplet

func (a *App) Droplet(name string) (droplet io.ReadCloser, size int64, err error)

func (*App) Env

func (a *App) Env(name string) (*AppEnv, error)

func (*App) Forward

func (a *App) Forward(name string, svcs forge.Services) (forge.Services, *forge.ForwardDetails, error)

func (*App) Restart

func (a *App) Restart(name string) error

func (*App) Services

func (a *App) Services(name string) (forge.Services, error)

func (*App) SetDroplet

func (a *App) SetDroplet(name string, droplet io.Reader, size int64) error

func (*App) SetEnv

func (a *App) SetEnv(name string, env map[string]string) error

type AppEnv

type AppEnv struct {
	Staging map[string]string `json:"staging_env_json"`
	Running map[string]string `json:"running_env_json"`
	App     map[string]string `json:"environment_json"`
}

type UI

type UI interface {
	Warn(format string, a ...interface{})
}

Jump to

Keyboard shortcuts

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