cmd

package
v1.13.3 Latest Latest
Warning

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

Go to latest
Published: Aug 22, 2016 License: Apache-2.0, Apache-2.0 Imports: 33 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AppCreate

func AppCreate(id string, buildpack string, remote string, noRemote bool) error

AppCreate creates an app.

func AppDestroy

func AppDestroy(appID, confirm string) error

AppDestroy destroys an app.

func AppInfo

func AppInfo(appID string) error

AppInfo prints info about app.

func AppLogs

func AppLogs(appID string, lines int) error

AppLogs returns the logs from an app.

func AppOpen

func AppOpen(appID string) error

AppOpen opens an app in the default webbrowser.

func AppRun

func AppRun(appID, command string) error

AppRun runs a one time command in the app.

func AppTransfer added in v1.11.0

func AppTransfer(appID, username string) error

AppTransfer transfers app ownership to another user.

func AppsList

func AppsList(results int) error

AppsList lists apps on the Deis controller.

func BuildsCreate

func BuildsCreate(appID, image, procfile string) error

BuildsCreate creates a build for an app.

func BuildsList

func BuildsList(appID string, results int) error

BuildsList lists an app's builds.

func Cancel

func Cancel(username string, password string, yes bool) error

Cancel deletes a user's account.

func CertAdd

func CertAdd(cert, key, commonName, sans string) error

CertAdd adds a cert to the controller.

func CertRemove

func CertRemove(commonName string) error

CertRemove deletes a cert from the controller.

func CertsList

func CertsList(results int) error

CertsList lists certs registered with the controller.

func ConfigList

func ConfigList(appID string, oneLine bool) error

ConfigList lists an app's config.

func ConfigPull

func ConfigPull(appID string, interactive bool, overwrite bool) error

ConfigPull pulls an app's config to a file.

func ConfigPush

func ConfigPush(appID string, fileName string) error

ConfigPush pushes an app's config from a file.

func ConfigSet

func ConfigSet(appID string, configVars []string) error

ConfigSet sets an app's config variables.

func ConfigUnset

func ConfigUnset(appID string, configVars []string) error

ConfigUnset removes a config variable from an app.

func DomainsAdd

func DomainsAdd(appID, domain string) error

DomainsAdd adds a domain to an app.

func DomainsList

func DomainsList(appID string, results int) error

DomainsList lists domains registered with an app.

func DomainsRemove

func DomainsRemove(appID, domain string) error

DomainsRemove removes a domain registered with an app.

func GitRemote

func GitRemote(appID, remote string) error

GitRemote creates a git remote for a deis app.

func KeyAdd

func KeyAdd(keyLocation string) error

KeyAdd adds keys.

func KeyRemove

func KeyRemove(keyID string) error

KeyRemove removes keys.

func KeysList

func KeysList(results int) error

KeysList lists a user's keys.

func LimitsList

func LimitsList(appID string) error

LimitsList lists an app's limits.

func LimitsSet

func LimitsSet(appID string, limits []string, limitType string) error

LimitsSet sets an app's limits.

func LimitsUnset

func LimitsUnset(appID string, limits []string, limitType string) error

LimitsUnset removes an app's limits.

func Login

func Login(controller string, username string, password string, sslVerify bool) error

Login to a Deis controller.

func Logout

func Logout() error

Logout from a Deis controller.

func Passwd

func Passwd(username string, password string, newPassword string) error

Passwd changes a user's password.

func PermCreate

func PermCreate(appID string, username string, admin bool) error

PermCreate adds a user to an app or makes them an administrator.

func PermDelete

func PermDelete(appID string, username string, admin bool) error

PermDelete removes a user from an app or revokes admin privilages.

func PermsList

func PermsList(appID string, admin bool, results int) error

PermsList prints which users have permissions.

func PsList

func PsList(appID string, results int) error

PsList lists an app's processes.

func PsRestart

func PsRestart(appID, target string) error

PsRestart restarts an app's processes.

func PsScale

func PsScale(appID string, targets []string) error

PsScale scales an app's processes.

func Regenerate

func Regenerate(username string, all bool) error

Regenerate regenenerates a user's token.

func Register

func Register(controller string, username string, password string, email string,
	sslVerify bool) error

Register creates a account on a Deis controller.

func ReleasesInfo

func ReleasesInfo(appID string, version int) error

ReleasesInfo prints info about a specific release.

func ReleasesList

func ReleasesList(appID string, results int) error

ReleasesList lists an app's releases.

func ReleasesRollback

func ReleasesRollback(appID string, version int) error

ReleasesRollback rolls an app back to a previous release.

func TagsList

func TagsList(appID string) error

TagsList lists an app's tags.

func TagsSet

func TagsSet(appID string, tags []string) error

TagsSet sets an app's tags.

func TagsUnset

func TagsUnset(appID string, tags []string) error

TagsUnset removes an app's tags.

func UsersList

func UsersList(results int) error

UsersList lists users registered with the controller.

func Whoami

func Whoami() error

Whoami prints the logged in user.

Types

This section is empty.

Jump to

Keyboard shortcuts

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