remote

package
v0.17.0 Latest Latest
Warning

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

Go to latest
Published: Oct 4, 2017 License: Apache-2.0 Imports: 15 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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 service.Services) (service.Services, *service.ForwardConfig, error)

func (*App) Restart

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

func (*App) Services

func (a *App) Services(name string) (service.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