Documentation ¶
Index ¶
- type Helper
- func (h *Helper) VerifyCMCertificate(namespace, name string) error
- func (h *Helper) WaitForCertificateReady(ns, name string, timeout time.Duration) (*cmapi.Certificate, error)
- func (h *Helper) WaitForPodsReady(ns string, timeout time.Duration) error
- func (h *Helper) WaitForUnstructuredReady(dr dynamic.NamespaceableResourceInterface, name, namespace string, ...) error
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 (*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 ¶
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
Click to show internal directories.
Click to hide internal directories.