helper

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Jan 17, 2024 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Helper

type Helper struct {
	// contains filtered or unexported fields
}

func NewHelper

func NewHelper(cmclient cmversioned.Interface, kubeclient kubernetes.Interface, dynamicClient dynamic.Interface) *Helper

func (*Helper) VerifyCMCertificate

func (h *Helper) VerifyCMCertificate(namespace, name string) error

func (*Helper) WaitForCertificateReady

func (h *Helper) WaitForCertificateReady(ns, name string, timeout time.Duration) (*cmapi.Certificate, error)

WaitForCertificateReady waits for the certificate resource to enter a Ready state.

func (*Helper) WaitForPodsReady

func (h *Helper) WaitForPodsReady(ns string, timeout time.Duration) error

WaitForPodsReady waits for all pods in a namespace to become ready

func (*Helper) WaitForUnstructuredReady

func (h *Helper) WaitForUnstructuredReady(dr dynamic.NamespaceableResourceInterface, name, namespace string, timeout time.Duration) error

WaitForUnstructuredReady waits for an unstructured.Unstructured object to become ready

Jump to

Keyboard shortcuts

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