package
4.14.0+incompatible
Repository: https://github.com/devspace-cloud/devspace.git
Documentation: pkg.go.dev
# Functions
AnalyzePods waits for the pods to be running (if possible) and healthcheck them.
Capture replaces os.Stdout with a writer that buffers any data written to os.Stdout.
ChangeWorkingDir changes the working directory.
Copy copies src to dest, doesn't matter if src is a directory or a file.
CreateTempDir creates a temp directory in /tmp.
DeleteNamespace deletes a given namespace and waits for the process to finish.
DeleteTempAndResetWorkingDir deletes /tmp dir and reinitialize the working dir.
DeleteTempDir deletes temp directory.
Equal tells whether a and b contain the same elements.
GenerateNamespaceName generates a new Namespace name with the given prefix and a random suffix.
IsFileOrFolderExist checks if a file/folder exists.
IsFileOrFolderExistRemotely checks if a file/folder exists remotely.
IsFileOrFolderNotExist checks if a file/folder exists.
LookForDeployment search for a specific deployment name among the deployments, returns true if found.
PortForwardAndPing creates port-forwardings and ping them for a 200 status code.
PrintTestResult prints a test result with a specific formatting.
PurgeNamespacesByPrefixes deletes the namespaces that were created during testing process.
SpaceExists checks if a string is in a slice.
StringInSlice checks if a string is in a slice.
# Structs
BaseCustomFactory is a factory override for testing.