mysql-v2-cli-plugin

command module
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2018 License: Apache-2.0 Imports: 3 Imported by: 0

README

mysql-cli-plugin

A Cloud Foundry CLI plugin intended for interaction with p.mysql service instances.

Installation

Prerequisites
$ go get github.com/pivotal-cf/mysql-cli-plugin

Building

  1. cd into the root directory of the project.

  2. Execute the ./scripts/build-assets script in the corresponding docker image to compile utilites (mysqldump, mysql) to be bundled with the plugin.

    $ docker run -v $PWD:$PWD -w $PWD -t cloudfoundry/cflinuxfs2 ./scripts/build-assets
    
  3. Run go generate to create golang compatible static assets out of the utilities

    $ go generate .
    
  4. Compile the final binary

    $ go build .
    
Cleaning Up
$ packr clean

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
cf
cffakes
Code generated by counterfeiter.
Code generated by counterfeiter.
migratefakes
Code generated by counterfeiter.
Code generated by counterfeiter.
pluginfakes
Code generated by counterfeiter.
Code generated by counterfeiter.
unpackfakes
Code generated by counterfeiter.
Code generated by counterfeiter.

Jump to

Keyboard shortcuts

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