Help us shape the future of Go! Take the 2026 Go Developer Survey

interfaces

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Aug 2, 2016 License: MIT Imports: 4 Imported by: 0

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, out io.Writer) error
}

type Courier

type Courier interface {
	Login(api, username, password, org, space string, skipSSL bool) ([]byte, error)
	Delete(appName string) ([]byte, error)
	Push(appName, appLocation string) ([]byte, error)
	Rename(oldName, newName string) ([]byte, error)
	MapRoute(appName, domain string) ([]byte, error)
	Exists(appName string) bool
	CleanUp() error
}

type Deployer

type Deployer interface {
	Deploy(deploymentInfo S.DeploymentInfo, out io.Writer) error
}

type Endpoints

type Endpoints interface {
	Deploy(c *gin.Context)
}

type EventManager

type EventManager interface {
	AddHandler(handler Handler, eventType string) error
	Emit(event S.Event) error
}

type Executor

type Executor interface {
	Execute(args ...string) ([]byte, error)
	ExecuteInDirectory(directory string, args ...string) ([]byte, error)
	CleanUp() error
}

type Extractor

type Extractor interface {
	Unzip(source, destination, manifest string) error
}

type Fetcher

type Fetcher interface {
	Fetch(url, manifest string) (string, error)
}

type Handler

type Handler interface {
	OnEvent(event S.Event) error
}

type Prechecker

type Prechecker interface {
	AssertAllFoundationsUp(environment config.Environment) error
}

type Pusher

type Pusher interface {
	Login(foundationURL string, deploymentInfo S.DeploymentInfo, out io.Writer) error
	Push(appPath, domain string, deploymentInfo S.DeploymentInfo, out io.Writer) error
	Rollback(deploymentInfo S.DeploymentInfo) error
	FinishPush(deploymentInfo S.DeploymentInfo) error
	CleanUp() error
	Exists(appName string) bool
}

type PusherFactory

type PusherFactory interface {
	CreatePusher() (Pusher, error)
}

type Randomizer

type Randomizer interface {
	StringRunes(length int) string
}

Jump to

Keyboard shortcuts

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