mirror of
https://github.com/ceph/ceph
synced 2025-01-21 02:31:19 +00:00
mgr/orch: replace Completion with OrchResult(Generic[T])
Greatly simplify the orchestrator interface Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
This commit is contained in:
parent
34dee80251
commit
fcf7513663
@ -4,7 +4,7 @@ from .module import OrchestratorCli
|
||||
|
||||
# usage: E.g. `from orchestrator import StatelessServiceSpec`
|
||||
from ._interface import \
|
||||
Completion, TrivialReadCompletion, raise_if_exception, ProgressReference, pretty_print, _Promise, \
|
||||
OrchResult, raise_if_exception, \
|
||||
CLICommand, _cli_write_command, _cli_read_command, CLICommandMeta, \
|
||||
Orchestrator, OrchestratorClientMixin, \
|
||||
OrchestratorValidationError, OrchestratorError, NoOrchestrator, \
|
||||
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user