Documentation ¶
Index ¶
- func ApplyFromTemplate(templateName, templateNamespace, namespace string) error
- func DumpNodes() (string, error)
- func DumpPods() (string, error)
- func FetchClusterInfo(logPath string) error
- func FetchLogs(kind, namespace, name string) string
- func FetchOpenShiftLogs(distro, version, sshKeyPath, adminName, name, location, logPath string) error
- func FetchOpenShiftMetrics(logPath string) error
- func FetchWaagentLogs(sshKeyPath, adminName, name, location, logPath string) error
- func GetHost(name, namespace string) (string, error)
- func TestHost(host string, maxRetries int, retryDelay time.Duration) error
- func WaitForDeploymentConfig(name, namespace string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ApplyFromTemplate ¶ added in v0.18.0
ApplyFromTemplate processes and creates the provided templateName/templateNamespace template in the provided namespace.
func FetchClusterInfo ¶ added in v0.19.0
FetchClusterInfo returns node and pod information about the cluster.
func FetchOpenShiftLogs ¶ added in v0.18.0
func FetchOpenShiftLogs(distro, version, sshKeyPath, adminName, name, location, logPath string) error
FetchOpenShiftLogs returns logs for all OpenShift components (control plane and infra).
func FetchOpenShiftMetrics ¶ added in v0.19.0
FetchOpenShiftMetrics gathers metrics from etcd and the control plane.
func FetchWaagentLogs ¶ added in v0.19.0
FetchWaagentLogs returns stdout and stderr from waagent.
func TestHost ¶
TestHost tries to access host and retries maxRetries times with a retryDelay that is doubled on every retry.
func WaitForDeploymentConfig ¶
WaitForDeploymentConfig waits until the provided deploymentconfig namespace/name gets deployed.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.