deployments

package
v1.16.6 Latest Latest
Warning

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

Go to latest
Published: Feb 11, 2020 License: BSD-4-Clause, MIT Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Deploy

func Deploy(app, archivePath, gitRef string) error

func DeployWar

func DeployWar(appName, warPath, gitRef string) error

func List

func List(app string) error

func Logs

func Logs(app, deployment string) error

func ResetCache

func ResetCache(app string) error

func Stream

func Stream(opts *StreamOpts) error

We can stream the deployment logs of an application, or we can stream the logs of a specific deployments. The StreamOpts.DeploymentID argument is optional.

Types

type DeployRes

type DeployRes struct {
	Deployment *scalingo.Deployment `json:"deployment"`
}

type DeployWarRes

type DeployWarRes struct {
	Deployment *scalingo.Deployment `json:"deployment"`
}

type StreamOpts

type StreamOpts struct {
	AppName      string
	DeploymentID string
}

Jump to

Keyboard shortcuts

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