Skip to content

HuaweiTech/diego-cli-plugin

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Diego-Beta CLI Plugin

This plugin enable Diego-specific features, and also allows pushing docker image. For more detail information of running apps on Diego, see here

##Installation

#####Install from Repo (v.6.10.0+)

$ cf add-plugin-repo CF-Community http://plugins.cloudfoundry.org/
$ cf install-plugin Diego-Beta -r CF-Community

#####Install from Url (v.6.8.0+) OSX

cf install-plugin https://github.com/cloudfoundry-incubator/diego-cli-plugin/raw/master/bin/osx/diego-beta.osx

linux64:

cf install-plugin https://github.com/cloudfoundry-incubator/diego-cli-plugin/raw/master/bin/linux64/diego-beta.linux64

windows64:

cf install-plugin https://github.com/cloudfoundry-incubator/diego-cli-plugin/raw/master/bin/win64/diego-beta.win64

#####Install from Binary file (v.6.7.0)

  • Download the binary win64 linux64 osx
  • Install plugin $ cf install-plugin <binary_name>

##Full Command List

command usage description
enable-diego cf enable-diego App_Name enable diego for an app
disable-diego cf disable-diego App_Name disable diego for an app
has-diego-enabled cf has-diego-enabled App_Name check if diego is enabled for an app
set-health-check cf set-health-check App_Name port set health_check_type flag to either port or none
get-health-check cf get-health-check get value of health_check_type flag
docker-push cf docker-push APP_NAME DOCKER_IMAGE [Options]

Usage:
cf docker-push test-app user/docker_path -c run.sh
push a docker image as an app

Options:
-c: set start command
--no-start: Do not start app after push
--no-route: Do not create route for app

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 100.0%