Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClusterStatus ¶
func GetClusterOperatorStatus ¶
func GetClusterOperatorStatus(oc OcConfig) (*ClusterStatus, error)
type K8sResource ¶
type K8sResource struct {
Items []struct {
Metadata struct {
Name string `json:"name"`
} `json:"metadata"`
Status struct {
Conditions []struct {
LastTransitionTime time.Time `json:"lastTransitionTime"`
Reason string `json:"reason"`
Status string `json:"status"`
Type string `json:"type"`
} `json:"conditions"`
} `json:"status,omitempty"`
} `json:"items"`
}
type OcConfig ¶
func UseOCWithConfig ¶
UseOcWithConfig return the oc binary along with valid kubeconfig
func (OcConfig) ApproveNodeCSR ¶
ApproveNodeCSR approves the certificate for the node.
func (OcConfig) RunOcCommand ¶
func (OcConfig) RunOcCommandPrivate ¶
func (OcConfig) WaitForOpenshiftResource ¶
type OcLocalRunner ¶
func (OcLocalRunner) GetKubeconfigPath ¶
func (oc OcLocalRunner) GetKubeconfigPath() string
func (OcLocalRunner) RunPrivate ¶
func (oc OcLocalRunner) RunPrivate(args ...string) (string, string, error)
Click to show internal directories.
Click to hide internal directories.