Documentation ¶
Index ¶
- func DefaultFields(candidate api.Candidate) api.Candidate
- func Endpoint(d api.ReleaseDescriptor, version, stream, suffix string) string
- func ResolvePullSpec(client release.HTTPClient, candidate api.Candidate) (string, error)
- func ResolvePullSpecCommon(client release.HTTPClient, endpoint string, bounds *api.VersionBounds, ...) (string, error)
- func ServiceHost(d api.ReleaseDescriptor) string
- type Release
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DefaultFields ¶
DefaultFields add default values to the fields of candidate
func ResolvePullSpec ¶
ResolvePullSpec determines the pull spec for the candidate release
func ResolvePullSpecCommon ¶
func ResolvePullSpecCommon(client release.HTTPClient, endpoint string, bounds *api.VersionBounds, relative int) (string, error)
func ServiceHost ¶
func ServiceHost(d api.ReleaseDescriptor) string
Types ¶
type Release ¶
type Release struct { Name string `json:"name"` Phase string `json:"phase"` PullSpec string `json:"pullSpec"` DownloadURL string `json:"downloadURL"` }
Release contains metadata for a release payload
func ResolveReleaseCommon ¶
func ResolveReleaseCommon(client release.HTTPClient, endpoint string, bounds *api.VersionBounds, relative int, silent bool) (Release, error)
Click to show internal directories.
Click to hide internal directories.