Skip to content
No description, website, or topics provided.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
vendor
Gopkg.lock
Gopkg.toml
LICENSE
README.md
main-report-disk-usage.go

README.md

cf-report-disk-usage

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

Usage

cf report-disk-usage

Development

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

Building a new release

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

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

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