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:
Sebastian Wagner 2021-02-08 01:01:08 +01:00
parent 34dee80251
commit fcf7513663
2 changed files with 112 additions and 597 deletions

View File

@ -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