Skip to content
No description, website, or topics provided.
Branch: master
Clone or download
Latest commit a6aa17a Jan 29, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
vendor
Gopkg.lock Initial commit Jan 30, 2019
Gopkg.toml
LICENSE Initial commit Jan 30, 2019
README.md
main-report-memory-usage.go

README.md

cf-report-memory-usage

CloudFoundry CLI plugin report on disk usage vs requested in a CloudFoundry installation

Usage

cf report-memory-usage

Development

go install . && \
    cf install-plugin ${GOPATH:-$HOME/go}/bin/cf-report-memory-usage -f && \
    cf report-memory-usage

Building a new release

PLUGIN_PATH=${GOPATH:-$HOME/go}/src/github.com/govau/cf-report-memory-usage
PLUGIN_NAME=$(basename $PLUGIN_PATH)

GOOS=linux GOARCH=amd64 go build -o ${PLUGIN_NAME}.linux64 main-report-memory-usage.go
GOOS=linux GOARCH=386 go build -o ${PLUGIN_NAME}.linux32 main-report-memory-usage.go
GOOS=windows GOARCH=amd64 go build -o ${PLUGIN_NAME}.win64 main-report-memory-usage.go
GOOS=windows GOARCH=386 go build -o ${PLUGIN_NAME}.win32 main-report-memory-usage.go
GOOS=darwin GOARCH=amd64 go build -o ${PLUGIN_NAME}.osx main-report-memory-usage.go

shasum -a 1 ${PLUGIN_NAME}.*
You can’t perform that action at this time.