Documentation ¶
Index ¶
- func ApplyFromTemplate(templateName, templateNamespace, namespace string) error
- func DumpNodes() (string, error)
- func DumpPods() (string, error)
- func FetchLogs(kind, namespace, name string) string
- func FetchOpenShiftLogs(distro, version, sshKeyPath, adminName, name, location, logPath string)
- func GetHost(name, namespace string) (string, error)
- func RunDiagnostics() (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 FetchOpenShiftLogs ¶ added in v0.18.0
func FetchOpenShiftLogs(distro, version, sshKeyPath, adminName, name, location, logPath string)
FetchOpenShiftLogs returns logs for all OpenShift components (control plane and infra).
func RunDiagnostics ¶
RunDiagnostics runs the openshift diagnostics command.
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.