Skip to content
This repository has been archived by the owner on Mar 24, 2022. It is now read-only.
/ gopivnet Public archive

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

License

Notifications You must be signed in to change notification settings

vmware-archive/gopivnet

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

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

Resources

License

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages