implement /in

fetches a given list of globs from the assets.

also be durable to 'v' prefixing version tags

Signed-off-by: Alex Suraci <asuraci@pivotal.io>
This commit is contained in:
Chris Brown
2015-02-17 18:03:42 -08:00
committed by Alex Suraci
parent 7e47c2696e
commit efbfb91683
10 changed files with 466 additions and 14 deletions

View File

@@ -12,6 +12,21 @@ type CheckRequest struct {
Version Version `json:"version"`
}
type InRequest struct {
Source Source `json:"source"`
Version *Version `json:"version"`
Params InParams `json:"params"`
}
type InParams struct {
Globs []string `json:"globs"`
}
type InResponse struct {
Version Version `json:"version"`
Metadata []MetadataPair `json:"metadata"`
}
type OutRequest struct {
Source Source `json:"source"`
Params OutParams `json:"params"`