Documentation ¶
Index ¶
- func CompareOCPVersionWithCurrent(apiClient *clients.Settings, referenceOCPVersion string, ...) (bool, error)
- func GetLocalMirrorRegistryURL(apiClient *clients.Settings) (string, error)
- func GetOCPClusterName(apiClient *clients.Settings) (string, error)
- func GetOCPIngressDomain(apiClient *clients.Settings) (string, error)
- func GetOCPNetworkType(apiClient *clients.Settings) (string, error)
- func GetOCPPlatformType(apiClient *clients.Settings) (configv1.PlatformType, error)
- func GetOCPVersion(apiClient *clients.Settings) (string, error)
- func IsDisconnectedDeployment(apiClient *clients.Settings) (bool, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CompareOCPVersionWithCurrent ¶
func CompareOCPVersionWithCurrent(apiClient *clients.Settings, referenceOCPVersion string, isGreater, orEqual bool) (bool, error)
CompareOCPVersionWithCurrent compares current OCP versions with the provided value.
func GetLocalMirrorRegistryURL ¶
GetLocalMirrorRegistryURL retrieves the OCP local mirror registry url from an arbitrary cluster.
func GetOCPClusterName ¶
GetOCPClusterName retrieves the OCP cluster name from an arbitrary cluster.
func GetOCPIngressDomain ¶
GetOCPIngressDomain retrieves the OCP cluster ingress domain from an arbitrary cluster.
func GetOCPNetworkType ¶
GetOCPNetworkType retrieves the OCP cluster network from an arbitrary cluster and get ocp network type.
func GetOCPPlatformType ¶
func GetOCPPlatformType(apiClient *clients.Settings) (configv1.PlatformType, error)
GetOCPPlatformType retrieves the OCP cluster platform type from an arbitrary cluster.
func GetOCPVersion ¶
GetOCPVersion retrieves the OCP clusterversion object from an arbitrary cluster and get current ocp version value.
Types ¶
This section is empty.