Versions in this module Expand all Collapse all v1 v1.5.2 Mar 19, 2026 Changes in this version + var VMStateList = []VMState + func CycleRemovedNode(failedNodeName, failedNodeIP, runningNodeIP string, sshConfig *core.SSHConfig, ...) error + func DeleteAfterSetupJob(afterSetupJobName string, oc *exutil.CLI) error + func DeleteAuthJob(authJobName string, oc *exutil.CLI) error + func DeleteJob(jobName, namespace string, oc *exutil.CLI) error + func ExtractMACAddressFromXML(xmlContent string, networkBridge string) (string, error) + func FindVMByNodeName(nodeName string, sshConfig *core.SSHConfig, knownHostsPath string) (string, error) + func GetVMNameByMACMatch(nodeName, nodeMAC string, networkBridge string, sshConfig *core.SSHConfig, ...) (string, error) + func GetVMNetworkInfo(vmName string, networkBridge string, sshConfig *core.SSHConfig, ...) (string, string, error) + func IsEtcdLearnerError(err error) bool + func IsRetryableEtcdError(err error) bool + func PcsDebugRestart(remoteNodeIP string, fullOutput bool, sshConfig *core.SSHConfig, ...) (string, string, error) + func PcsDebugStart(remoteNodeIP string, fullOutput bool, sshConfig *core.SSHConfig, ...) (string, string, error) + func PcsDebugStop(remoteNodeIP string, fullOutput bool, sshConfig *core.SSHConfig, ...) (string, string, error) + func PcsJournal(pcsJournalTailLines int, remoteNodeIP string, sshConfig *core.SSHConfig, ...) (string, string, error) + func PcsProperty(remoteNodeIP string, sshConfig *core.SSHConfig, ...) (string, string, error) + func PcsResourceCleanup(remoteNodeIP string, sshConfig *core.SSHConfig, ...) (string, string, error) + func PcsResourceCleanupViaDebug(ctx context.Context, oc *exutil.CLI, nodeName string) (string, error) + func PcsResourceStatus(nodeName, remoteNodeIP string, sshConfig *core.SSHConfig, ...) (string, string, error) + func PcsStatus(remoteNodeIP string, sshConfig *core.SSHConfig, ...) (string, string, error) + func PcsStatusFull(remoteNodeIP string, sshConfig *core.SSHConfig, ...) (string, string, error) + func PcsStatusViaDebug(ctx context.Context, oc *exutil.CLI, nodeName string) (string, error) + func PcsStonithCleanup(remoteNodeIP string, sshConfig *core.SSHConfig, ...) (string, string, error) + func PcsStonithCleanupViaDebug(ctx context.Context, oc *exutil.CLI, nodeName string) (string, error) + func PcsStonithConfirm(targetNodeName, remoteNodeIP string, sshConfig *core.SSHConfig, ...) (string, string, error) + func PcsStonithDisable(remoteNodeIP string, sshConfig *core.SSHConfig, ...) (string, string, error) + func PcsStonithEnable(remoteNodeIP string, sshConfig *core.SSHConfig, ...) (string, string, error) + func PrintHypervisorConfigUsage() + func VerifyHypervisorAvailability(sshConfig *core.SSHConfig, knownHostsPath string) error + func VerifyVirsh(sshConfig *core.SSHConfig, knownHostsPath string) (string, error) + func VirshAutostartVM(vmName string, sshConfig *core.SSHConfig, knownHostsPath string) error + func VirshCommand(command string, sshConfig *core.SSHConfig, knownHostsPath string) (string, error) + func VirshDefineVM(xmlFilePath string, sshConfig *core.SSHConfig, knownHostsPath string) error + func VirshDestroyVM(vmName string, sshConfig *core.SSHConfig, knownHostsPath string) error + func VirshDumpXML(vmName string, sshConfig *core.SSHConfig, knownHostsPath string) (string, error) + func VirshGetVMUUID(vmName string, sshConfig *core.SSHConfig, knownHostsPath string) (string, error) + func VirshList(sshConfig *core.SSHConfig, knownHostsPath string, flags ...VirshListFlag) (string, error) + func VirshShutdownVM(vmName string, sshConfig *core.SSHConfig, knownHostsPath string) error + func VirshStartVM(vmName string, sshConfig *core.SSHConfig, knownHostsPath string) error + func VirshUndefineVM(vmName string, sshConfig *core.SSHConfig, knownHostsPath string) error + func VirshVMExists(vmName string, sshConfig *core.SSHConfig, knownHostsPath string) (string, error) + func WaitForEtcdRevisionCreation(targetNodeIP string, timeout, pollInterval time.Duration, ...) error + func WaitForJobCompletion(jobName, namespace string, timeout, pollInterval time.Duration, oc *exutil.CLI) error + func WaitForNodesOnline(nodeNames []string, remoteNodeIP string, timeout, pollInterval time.Duration, ...) error + func WaitForVMState(vmName string, vmState VMState, timeout time.Duration, ...) error + type Devices struct + Interfaces []Interface + type Domain struct + Devices Devices + Name string + UUID string + XMLName xml.Name + type EtcdErrorType int + const EtcdErrorLearner + const EtcdErrorNetwork + const EtcdErrorQuorum + const EtcdErrorRateLimit + const EtcdErrorTimeout + const EtcdErrorUnknown + func ClassifyEtcdError(err error) EtcdErrorType + func (e EtcdErrorType) String() string + type Interface struct + MAC MAC + Source Source + Type string + type MAC struct + Address string + type Source struct + Bridge string + type VMState string + const VMStateRunning + const VMStateShutOff + const VMStateUnknown + func GetVMState(vmName string, sshConfig *core.SSHConfig, knownHostsPath string) (VMState, error) + type VirshListFlag string + const VirshListFlagAll + const VirshListFlagName