Versions in this module Expand all Collapse all v0 v0.1.0 Dec 31, 2019 Changes in this version + const CheckEqual + const CheckLarge + const CheckLess + const ErrInvalid + const ErrNotEnough + const ErrNotEqual + const ErrPara + const ErrParaEmpty + const ErrParaInput + const ErrSplitSym + const ErrTooHigh + const ErrTooLow + const GiByteUnits + const InitRemoteScriptPath + const SplitSymbol + const UnclearInputPara + func CheckEntity(comparedEntity string, desiredEntity float64) error + func CheckIPValid(rawIP string) bool + func CheckVersion(comparedVersion string, standardVersion string, comparedSymbol string) error + type BaseOperation struct + Commands []command.Command + func (op *BaseOperation) AddCommands(commands ...command.Command) + func (op *BaseOperation) Do() (stdout, stderr []byte, err error) + func (op *BaseOperation) ResetCommands() + type NodeInitAction struct + ClusterConfig *pb.ClusterConfig + NodeInitConfig *pb.NodeDeployConfig + NodesConfig []*pb.NodeDeployConfig + type Operation interface + AddCommands func(commands ...command.Command) + Do func() ([]byte, []byte, error)