Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Graph ¶
Graph is the interface for fetching info from api.openshift.com/api/upgrades_info/graph
func NewGraph ¶
func NewGraph(config GraphConfig) Graph
type GraphConfig ¶
type GraphConfig struct { HTTPClient HTTPClient Arch string Version string CincinnatiAddress *string Channel *ReleaseChannel }
type OcpRelease ¶
type OcpRelease struct { // Version is the minor version to search for Version string `json:"version"` // Channel is the release channel to search in Channel ReleaseChannel `json:"channel"` // Architecture is the architecture for the release. // Defaults to amd64. Architecture string `json:"architecture,omitempty"` }
OcpRelease describes a generally available release payload
type ReleaseChannel ¶
type ReleaseChannel string
const ( ReleaseChannelStable ReleaseChannel = "stable" ReleaseChannelFast ReleaseChannel = "fast" ReleaseChannelCandidate ReleaseChannel = "candidate" ReleaseChannelEUS ReleaseChannel = "eus" )
Click to show internal directories.
Click to hide internal directories.