Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetInfraStatus ¶
func GetInfraStatus(kClient client.Client) (*configv1.InfrastructureStatus, error)
GetInfraStatus will return the clusterwide Infrastructure's object status
func GetInfraStatusUsingKubeconfig ¶
func GetInfraStatusUsingKubeconfig(m manager.Manager, kubeconfig string) (*configv1.InfrastructureStatus, error)
GetInfraStatusUsingKubeconfig queries the k8s api for the infrastructure CR using the kubeconfig file pointed to by the passed in kubeconfig (pass in empty string to use default k8s client configurations)
func GetType ¶
func GetType(infraStatus *configv1.InfrastructureStatus) configv1.PlatformType
GetType returns the platform type given an infrastructure status. If PlatformStatus is set, it will get the platform type from it, otherwise it will get it from InfraStatus.Platform which is deprecated in 4.2
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.