Documentation ¶
Index ¶
- func GetNodeFQDNs(hostsRaw []string) ([]string, error)
- func GetNodeIds(hosts []string) ([]uint32, error)
- func LogOperation(logger *zap.SugaredLogger, op *Ydb_Operations.Operation)
- func ParseMajorMinorPatchFromVersion(version string) (major, minor, patch int, err error)
- func ParseSSHArgs(rawArgs string) []string
- func PopulateTenantToNodesMapping(nodes []*Ydb_Maintenance.Node) map[string][]uint32
- func WrapWithRetries(maxAttempts int, f func() (*Ydb_Operations.Operation, error)) (*Ydb_Operations.Operation, error)
- type RetryExceededError
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetNodeFQDNs ¶ added in v0.0.7
func GetNodeIds ¶ added in v0.0.7
func LogOperation ¶
func LogOperation(logger *zap.SugaredLogger, op *Ydb_Operations.Operation)
func ParseMajorMinorPatchFromVersion ¶ added in v0.0.8
func ParseSSHArgs ¶
func PopulateTenantToNodesMapping ¶ added in v0.0.14
func PopulateTenantToNodesMapping(nodes []*Ydb_Maintenance.Node) map[string][]uint32
func WrapWithRetries ¶
func WrapWithRetries( maxAttempts int, f func() (*Ydb_Operations.Operation, error), ) (*Ydb_Operations.Operation, error)
Types ¶
type RetryExceededError ¶ added in v0.0.13
type RetryExceededError struct {
// contains filtered or unexported fields
}
func (*RetryExceededError) Error ¶ added in v0.0.13
func (e *RetryExceededError) Error() string
func (*RetryExceededError) Is ¶ added in v0.0.13
func (e *RetryExceededError) Is(targetErr error) bool
func (*RetryExceededError) Unwrap ¶ added in v0.0.13
func (e *RetryExceededError) Unwrap() error
Click to show internal directories.
Click to hide internal directories.