Documentation ¶
Index ¶
- func RunCmdWithTimeout(timeout time.Duration, verbose bool, args ...string) (string, error)
- type Wrapper
- func (w *Wrapper) CheckVersion() (string, error)
- func (w *Wrapper) IsClusterResourceDeployed(resource string, labelName string, labelValue string) (bool, error)
- func (w *Wrapper) IsPodDeployed(namespace string, labelName string, labelValue string) (bool, error)
- func (w *Wrapper) IsPodReady(namespace string, labelName string, labelValue string) (bool, error)
- func (w *Wrapper) IsResourceDeployed(resource string, namespace string, labelName string, labelValue string) (bool, error)
- func (w *Wrapper) RunApplyCmd(resources []map[string]interface{}) (string, error)
- func (w *Wrapper) RunCmd(args ...string) (string, error)
- func (w *Wrapper) WaitForPodGone(namespace string, labelName string, labelValue string) error
- func (w *Wrapper) WaitForPodReady(namespace string, labelName string, labelValue string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Wrapper ¶
type Wrapper struct {
// contains filtered or unexported fields
}
func NewWrapper ¶
func (*Wrapper) CheckVersion ¶
func (*Wrapper) IsClusterResourceDeployed ¶
func (*Wrapper) IsPodDeployed ¶
func (*Wrapper) IsPodReady ¶
func (*Wrapper) IsResourceDeployed ¶
func (*Wrapper) RunApplyCmd ¶
func (*Wrapper) WaitForPodGone ¶
Click to show internal directories.
Click to hide internal directories.