Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsComponentNotFound ¶
IsComponentNotFound asserts componentNotFoundError.
func IsInternalServerError ¶
IsInternalServerError asserts internalServerError.
func IsInvalidConfig ¶
IsInvalidConfig asserts invalidConfigError.
func IsNotAuthorized ¶
IsNotAuthorized asserts notAuthorizedError.
func IsVersionNotFound ¶
IsVersionNotFound asserts versionNotFoundError.
Types ¶
type ReleaseData ¶
type ReleaseInfo ¶
type ReleaseInfo struct {
// contains filtered or unexported fields
}
ReleaseInfo is an utility data structure for collecting common information about a GS release version.
func New ¶
func New(c Config) (*ReleaseInfo, error)
func (*ReleaseInfo) GetReleaseData ¶
func (ri *ReleaseInfo) GetReleaseData(version string) (ReleaseData, error)
GetReleaseData fetches release information such as Kubernetes version status, based on a given GS release version.
Click to show internal directories.
Click to hide internal directories.