Documentation ¶
Index ¶
Constants ¶
View Source
const ( Endpoint = "/v1/releases/" Name = "release/lister" )
Variables ¶
This section is empty.
Functions ¶
func IsInvalidConfig ¶
IsInvalidConfig asserts invalidConfigError.
Types ¶
type Config ¶
func DefaultConfig ¶
func DefaultConfig() Config
type Response ¶
type Response struct { Active bool `json:"active"` Apps []versionbundle.App `json:"apps"` Changelogs []Changelog `json:"changelogs"` Components []Component `json:"components"` Timestamp time.Time `json:"timestamp"` Version string `json:"version"` }
Response is the return value of the service action.
func DefaultResponse ¶
func DefaultResponse() []Response
DefaultResponse provides a default response by best effort.
Click to show internal directories.
Click to hide internal directories.