pivotal-cf/mysql-cli-plugin

Name: mysql-cli-plugin

Owner: Pivotal Cloud Foundry

Description: null

Created: 2018-02-14 15:27:00.0

Updated: 2018-05-18 22:50:09.0

Pushed: 2018-05-21 23:56:04.0

Homepage: null

Size: 54522

Language: Go

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

mysql-cli-plugin

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

Installation
Prerequisites
 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.

    cker 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

     generate .
    
  4. Compile the final binary

     build .
    
Cleaning Up
ckr clean

This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.