util

package
v0.17.0-rc.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 16, 2018 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateFromTemplate

func CreateFromTemplate(templateName, templateNamespace, namespace string) error

CreateFromTemplate processes and creates the provided templateName/templateNamespace template in the provided namespace.

func DumpNodes

func DumpNodes() (string, error)

DumpNodes dumps information about nodes.

func DumpPods

func DumpPods() (string, error)

DumpPods dumps the pods from all namespaces.

func FetchLogs

func FetchLogs(kind, namespace, name string) string

FetchLogs returns logs for the provided kind/name in namespace.

func GetHost

func GetHost(name, namespace string) (string, error)

GetHost expects the name and namespace of a route in order to return its host.

func RunDiagnostics

func RunDiagnostics() (string, error)

RunDiagnostics runs the openshift diagnostics command.

func TestHost

func TestHost(host string, maxRetries int, retryDelay time.Duration) error

TestHost tries to access host and retries maxRetries times with a retryDelay that is doubled on every retry.

func WaitForDeploymentConfig

func WaitForDeploymentConfig(name, namespace string) error

WaitForDeploymentConfig waits until the provided deploymentconfig namespace/name gets deployed.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL