Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BlueGreener ¶
type BlueGreener interface {
Push(
environment config.Environment,
appPath string,
deploymentInfo S.DeploymentInfo,
response io.ReadWriter,
) error
}
BlueGreener interface.
type Courier ¶
type Courier interface {
Login(foundationURL, username, password, org, space string, skipSSL bool) ([]byte, error)
Delete(appName string) ([]byte, error)
Push(appName, appLocation, hostname string, instances uint16) ([]byte, error)
Rename(oldName, newName string) ([]byte, error)
MapRoute(appName, domain, hostname string) ([]byte, error)
MapRouteWithPath(appName, domain, hostname, path string) ([]byte, error)
UnmapRoute(appName, domain, hostname string) ([]byte, error)
DeleteRoute(domain, hostname string) ([]byte, error)
Logs(appName string) ([]byte, error)
Exists(appName string) bool
Cups(appName string, body string) ([]byte, error)
Uups(appName string, body string) ([]byte, error)
Domains() ([]string, error)
CleanUp() error
}
Courier interface.
type Deployer ¶
type Deployer interface {
Deploy(
req *http.Request,
environment,
org,
space,
appName,
contentType string,
response io.ReadWriter,
) (int, error)
}
Deployer interface.
type ErrorFinder ¶
type EventManager ¶
type EventManager interface {
AddHandler(handler Handler, eventType string) error
Emit(event S.Event) error
}
EventManager interface.
type Executor ¶
type Executor interface {
Execute(args ...string) ([]byte, error)
ExecuteInDirectory(directory string, args ...string) ([]byte, error)
CleanUp() error
}
Executor interface.
type Fetcher ¶
type Fetcher interface {
Fetch(url, manifest string) (string, error)
FetchZipFromRequest(*http.Request) (string, error)
}
Fetcher interface.
type HealthChecker ¶ added in v0.7.0
HealthChecker interface.
type Prechecker ¶
type Prechecker interface {
AssertAllFoundationsUp(environment config.Environment) error
}
Prechecker interface.
type Pusher ¶
type Pusher interface {
Login(foundationURL string) error
Push(appPath, foundationURL string) error
FinishPush() error
UndoPush() error
CleanUp() error
}
Pusher interface.
type PusherCreator ¶ added in v0.7.0
type PusherCreator interface {
CreatePusher(deploymentInfo S.DeploymentInfo, response io.ReadWriter) (Pusher, error)
}
PusherCreator interface.
type Randomizer ¶
Randomizer interface.
Click to show internal directories.
Click to hide internal directories.