utils

package
v0.0.0-...-fe3d3e7 Latest Latest
Warning

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

Go to latest
Published: Feb 28, 2023 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	DeploymentTimeout       = 120 * time.Second
	DeploymentCheckInterval = 5 * time.Second
	DaemonsetTimeout        = 120 * time.Second
	DaemonsetCheckInterval  = 5 * time.Second
)

Functions

func Kubectl

func Kubectl(input io.Reader, args ...string) (string, error)

func ReadFileAndReplaceContents

func ReadFileAndReplaceContents(filename string, findReplaceMap map[string]string) (string, error)

func ReadFileAndReplaceContentsTempFile

func ReadFileAndReplaceContentsTempFile(filename string, findReplaceMap map[string]string) (string, error)

func Tanzu

func Tanzu(input io.Reader, args ...string) (string, error)

func TanzuPackageAvailableVersion

func TanzuPackageAvailableVersion(packageName string) string

func TanzuPackageAvailableVersionWithVersionSubString

func TanzuPackageAvailableVersionWithVersionSubString(packageName, versionSelector string) string

func TanzuPackageName

func TanzuPackageName(displayName string) string

func ValidateDaemonsetNotFound

func ValidateDaemonsetNotFound(namespace, name string)

func ValidateDaemonsetReady

func ValidateDaemonsetReady(namespace, name string)

func ValidateDeploymentNotFound

func ValidateDeploymentNotFound(namespace, name string)

func ValidateDeploymentReady

func ValidateDeploymentReady(namespace, name string)

func ValidateLoadBalancerReady

func ValidateLoadBalancerReady(namespace, name string)

func ValidatePackageInstallNotFound

func ValidatePackageInstallNotFound(namespace, name string)

func ValidatePackageInstallReady

func ValidatePackageInstallReady(namespace, name string)

func ValidatePodNotFound

func ValidatePodNotFound(namespace, name string)

func ValidatePodReady

func ValidatePodReady(namespace, name string)

Types

This section is empty.

Jump to

Keyboard shortcuts

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