Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type OpenShift ¶
OpenShift is an Client struct which will be used for all OpenShift related functions to interact with the existing Cluster.
func GetOpenShift ¶
GetOpenShift uses kubeconfig to create a client for existing OpenShift cluster and returns it or an error.
func (*OpenShift) GetCloudProvider ¶
func (o *OpenShift) GetCloudProvider() (*v1.PlatformStatus, error)
GetCloudProvider returns the Provider details of a given OpenShift client including provider type and region or an error.
func (*OpenShift) GetInfrastructureID ¶
GetInfrastructureID returns the infrastructure ID of the OpenShift cluster or an error.
Click to show internal directories.
Click to hide internal directories.