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 creates client for the current OpenShift cluster. If Kubeconfig is provided, it is used to create client, otherwise it uses in-cluster config.
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.