platform

package
v0.0.0-...-8357b5a Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 18, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

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

func GetLocalMirrorRegistryURL(apiClient *clients.Settings) (string, error)

GetLocalMirrorRegistryURL retrieves the OCP local mirror registry url from an arbitrary cluster.

func GetOCPClusterName

func GetOCPClusterName(apiClient *clients.Settings) (string, error)

GetOCPClusterName retrieves the OCP cluster name from an arbitrary cluster.

func GetOCPIngressDomain

func GetOCPIngressDomain(apiClient *clients.Settings) (string, error)

GetOCPIngressDomain retrieves the OCP cluster ingress domain from an arbitrary cluster.

func GetOCPNetworkType

func GetOCPNetworkType(apiClient *clients.Settings) (string, error)

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

func GetOCPVersion(apiClient *clients.Settings) (string, error)

GetOCPVersion retrieves the OCP clusterversion object from an arbitrary cluster and get current ocp version value.

func IsDisconnectedDeployment

func IsDisconnectedDeployment(apiClient *clients.Settings) (bool, error)

IsDisconnectedDeployment retrieve the OCP mirror registry url and verify if the deployment type is disconnected.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL