gopivnet

command module
v0.0.0-...-8d1665c Latest Latest
Warning

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

Go to latest
Published: Apr 4, 2016 License: Apache-2.0 Imports: 5 Imported by: 0

README

gopivnet

A go library and cli executable to download a product from network.pivotal.io

Get It

go get github.com/cfmobile/gopivnet

Usage

gopivnet -help
Usage of gopivnet:
  -file="": filename where to save the pivotal product
  -fileType="": type of file.  Defaults to 'pivotal' tile
  -product="": product to download
  -token="": pivnet token
  -version="": version of the product. If missing download the latest version

Example: gopivnet -product p-redis -token <token> -version "1.4.7" -file p-redis.pivotal

Fetching a pivnet token

https://network.pivotal.io/docs/api

Relevant section:

Some products and releases may require authentication to access or modify. Your Pivotal Network API Token can be found on your Edit Profile page. This API token should be used in the Authorization header of the request. The Authentication API can be used to test that you are using your authorization token correctly.

Library

The api package is meant to make it simple to fetch a pivotal product of a specific version and download it.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
fakes
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