Documentation
¶
Index ¶
- Variables
- func Exists(pod string, status PodStatus) (bool, error)
- func GetIPs(format string, pod ...string) ([]string, error)
- func Remove(pod string) error
- func Run(name, image, extra string) error
- func StartScylla(pod, extraCommands, networkFormat string, timeout time.Duration) (string, error)
- func WaitUntilListening(timeout time.Duration, address ...string) map[string]bool
- type PodStatus
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ErrPodHashNotFound - raised when the output is incompatible with the hash pattern ErrPodHashNotFound error = errors.New("pod hash pattern was not found") )
View Source
var ( // ErrPodNotListening - raised when the pod is not listening ErrPodNotListening error = errors.New("pod is not listening") )
Functions ¶
func StartScylla ¶
StartScylla - starts the scylla pod
Types ¶
type PodStatus ¶
type PodStatus string
PodStatus - the pod status to be filtered
const ( // Restarting - pod status Restarting PodStatus = "restarting" // Running - pod status Running PodStatus = "running" // Removing - pod status Removing PodStatus = "removing" // Paused - pod status Paused PodStatus = "paused" // Exited - pod status Exited PodStatus = "exited" // Dead - pod status Dead PodStatus = "dead" )
Click to show internal directories.
Click to hide internal directories.