Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Graph ¶
type Graph interface {
GetReleaseImage(version string, channel, arch *string) (string, string, error)
}
Graph is the interface for fetching info from api.openshift.com/api/upgrades_info/graph
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 ReleaseArchitecture `json:"architecture,omitempty"` }
Release describes a generally available release payload
type ReleaseArchitecture ¶
type ReleaseArchitecture string
const ( ReleaseArchitectureAMD64 ReleaseArchitecture = "amd64" ReleaseArchitecturePPC64le ReleaseArchitecture = "ppc64le" ReleaseArchitectureS390x ReleaseArchitecture = "s390x" ReleaseArchitectureARM64 ReleaseArchitecture = "arm64" )
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.