starter

package
v0.1.4 Latest Latest
Warning

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

Go to latest
Published: Mar 4, 2019 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CloudFoundry

type CloudFoundry struct {
}

func (CloudFoundry) AppPort

func (CloudFoundry) AppPort() int

func (CloudFoundry) CloudEnvName

func (s CloudFoundry) CloudEnvName() string

func (CloudFoundry) ProxyEnv

func (s CloudFoundry) ProxyEnv(appPort int) map[string]string

func (CloudFoundry) ProxyProfile added in v0.1.4

func (s CloudFoundry) ProxyProfile(appPort int) string

func (CloudFoundry) StartCmd

func (s CloudFoundry) StartCmd(env []string, _ string, stdOut, stdErr io.Writer) (*exec.Cmd, error)

type Local

type Local struct {
}

func (Local) AppPort

func (Local) AppPort() int

func (Local) CloudEnvName

func (Local) CloudEnvName() string

func (Local) ProxyEnv

func (s Local) ProxyEnv(appPort int) map[string]string

func (Local) ProxyProfile added in v0.1.4

func (s Local) ProxyProfile(appPort int) string

func (Local) StartCmd

func (s Local) StartCmd(env []string, profileDir string, stdOut, stdErr io.Writer) (*exec.Cmd, error)

type Starter

type Starter interface {
	StartCmd(env []string, profileDir string, stdOut, stdErr io.Writer) (*exec.Cmd, error)
	CloudEnvName() string
	ProxyEnv(appPort int) map[string]string
	ProxyProfile(appPort int) string
	AppPort() int
}

func Retrieve

func Retrieve() []Starter

Jump to

Keyboard shortcuts

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