package
Version:
v0.20.0
Opens a new window with list of versions in this module.
Published: Aug 3, 2016
License: Apache-2.0
Opens a new window with license information.
Imports: 0
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type CheckRequest struct {
Source Source `json:"source"`
Version Version `json:"version"`
}
type InParams struct {
Globs []string `json:"globs"`
}
type InRequest struct {
Source Source `json:"source"`
Version Version `json:"version"`
Params InParams `json:"params"`
}
type InResponse struct {
Version Version `json:"version"`
Metadata []Metadata `json:"metadata,omitempty"`
}
type Metadata struct {
Name string `json:"name,omitempty"`
Value string `json:"value,omitempty"`
}
type OutParams struct {
FileGlob string `json:"file_glob"`
FilepathPrefix string `json:"s3_filepath_prefix"`
MetadataFile string `json:"metadata_file"`
}
type OutRequest struct {
Params OutParams `json:"params"`
Source Source `json:"source"`
}
type OutResponse struct {
Version Version `json:"version"`
Metadata []Metadata `json:"metadata,omitempty"`
}
const (
SortByNone SortBy = "none"
SortBySemver SortBy = "semver"
)
type Source struct {
APIToken string `json:"api_token"`
ProductSlug string `json:"product_slug"`
AccessKeyID string `json:"access_key_id"`
ProductVersion string `json:"product_version"`
SecretAccessKey string `json:"secret_access_key"`
Bucket string `json:"bucket"`
Endpoint string `json:"endpoint"`
Region string `json:"region"`
ReleaseType string `json:"release_type"`
SortBy SortBy `json:"sort_by"`
}
type Version struct {
ProductVersion string `json:"product_version"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.