diego-enabler

command module
v1.2.1 Latest Latest
Warning

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

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

README

Diego-Enabler: CLI Plugin

This plugin is for CLI v6.13.0+. For CLI v6.12.4 and older, use the Diego-Beta plugin instead.

This plugin enables Diego support for an app running on Cloud Foundry. For more information about running apps on Diego, see the Migrating to Diego guide.

Full Command List

Command Usage Description
enable-diego cf enable-diego App_Name Migrate app to the Diego runtime
disable-diego cf disable-diego App_Name Migrate app to the DEA runtime
has-diego-enabled cf has-diego-enabled App_Name Report whether an app is configured to run on the Diego runtime
diego-apps cf diego-apps [-o ORG] Lists all apps running on the Diego runtime that are visible to the user
dea-apps cf dea-apps [-o ORG] Lists all apps running on the DEA runtime that are visible to the user
migrate-apps cf migrate-apps (diego | dea) [-o ORG] [-p MAX_IN_FLIGHT] Migrate all apps to Diego/DEA

Installation

To install the plugin from the CF Community repository:

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

To install the plugin from GitHub:

First, copy the URL or download the binary for your platform from the latest release page.

Then call cf install-plugin with either the URL you copied or the binary you downloaded:

  cf install-plugin [URL|binary]

Release

To create release.

  1. Gox must be installed
  2. Github release must be installed
  3. Export Github personal access token with public_repo permission to $GITHUB_TOKEN
  4. Make sure the release version is updated in the PluginMetadata in main.go
  5. Make sure the release version is updated in the file VERSION
  6. Add and commit the files.
  7. Run bin/build
  8. Run git tag vX.X.X and git push --tags
  9. Run bin/release
  10. Update release in cli-plugin-repo, generate checksum with openssl sha1 binary

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
api
apifakes
This file was generated by counterfeiter This file was generated by counterfeiter This file was generated by counterfeiter This file was generated by counterfeiter This file was generated by counterfeiter
This file was generated by counterfeiter This file was generated by counterfeiter This file was generated by counterfeiter This file was generated by counterfeiter This file was generated by counterfeiter
migratehelpers/migratehelpersfakes
This file was generated by counterfeiter
This file was generated by counterfeiter
diegosupportfakes
This file was generated by counterfeiter
This file was generated by counterfeiter
thingdoerfakes
This file was generated by counterfeiter This file was generated by counterfeiter This file was generated by counterfeiter
This file was generated by counterfeiter This file was generated by counterfeiter This file was generated by counterfeiter

Jump to

Keyboard shortcuts

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