diegosupport

package
v1.2.4 Latest Latest
Warning

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

Go to latest
Published: Jul 26, 2017 License: Apache-2.0 Imports: 8 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CliConnection

type CliConnection interface {
	CliCommandWithoutTerminalOutput(args ...string) ([]string, error)
	GetApp(string) (plugin_models.GetAppModel, error)
	GetCurrentSpace() (plugin_models.Space, error)
	GetSpace(string) (plugin_models.GetSpace_Model, error)
	Username() (string, error)
}

type DiegoSupport

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

func NewDiegoSupport

func NewDiegoSupport(cli CliConnection) *DiegoSupport

func (*DiegoSupport) HasRoutes added in v1.2.3

func (d *DiegoSupport) HasRoutes(appName string) (bool, error)

func (*DiegoSupport) SetDiegoFlag

func (d *DiegoSupport) SetDiegoFlag(appGuid string, enable bool) ([]string, error)

func (*DiegoSupport) WarnNoRoutes added in v1.2.3

func (d *DiegoSupport) WarnNoRoutes(appName string, output io.Writer) error

Directories

Path Synopsis
This file was generated by counterfeiter
This file was generated by counterfeiter

Jump to

Keyboard shortcuts

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