Uses of Class
com.suse.salt.netapi.results.Result
Packages that use Result
Package
Description
-
Uses of Result in com.suse.salt.netapi.calls
Methods in com.suse.salt.netapi.calls that return types with arguments of type ResultModifier and TypeMethodDescriptionLocalCall.callAsync(SaltClient client, Target<?> target, AuthMethod auth, EventStream events, CompletionStage<GenericError> cancel, Batch batch) Calls this salt call via the async client and returns the results as they come in via the event stream.LocalCall.callAsync(SaltClient client, Target<?> target, AuthMethod auth, EventStream events, CompletionStage<GenericError> cancel, Optional<Batch> batch) Calls this salt call via the async client and returns the results as they come in via the event stream.LocalCall.callAsync(Function<LocalCall<R>, CompletionStage<Optional<LocalAsyncResult<R>>>> localAsync, Function<RunnerCall<Map<String, R>>, CompletionStage<RunnerAsyncResult<Map<String, R>>>> runnerAsync, EventStream events, CompletionStage<GenericError> cancel) Calls this salt call via the async client and returns the results as they come in via the event stream.CompletionStage<Map<String, Result<R>>> LocalCall.callSync(SaltClient client, Target<?> target, AuthMethod auth) Calls a execution module function on the given target and synchronously waits for the result.LocalCall.callSync(SaltClient client, Target<?> target, AuthMethod auth, Batch batch) Calls a execution module function on the given target with batching and synchronously waits for the result.LocalCall.callSync(SaltClient client, Target<?> target, AuthMethod auth, Optional<Batch> batch) Calls a execution module function on the given target with batching and synchronously waits for the result.RunnerCall.callSync(SaltClient client, AuthMethod auth) Calls a runner module function on the master and synchronously waits for the result.WheelCall.callSync(SaltClient client, AuthMethod auth) Calls a wheel module function on the master and synchronously waits for the result.LocalCall.callSyncHelperNonBlock(SaltClient client, Target<?> target, AuthMethod auth, Optional<Batch> batch) Helper to call an execution module function on the given target for batched or unbatched while also providing an option to use the given credentials or to use a prior created token.LocalCall.callSyncSSH(SaltClient client, SSHTarget<?> target, SaltSSHConfig cfg, AuthMethod auth) Call an execution module function on the given target via salt-ssh and synchronously wait for the result.Method parameters in com.suse.salt.netapi.calls with type arguments of type ResultModifier and TypeMethodDescriptionprivate static <R> voidLocalCall.onJobReturn(String jid, JobReturnEvent jre, com.google.gson.reflect.TypeToken<Result<R>> tt, Map<String, CompletableFuture<Result<R>>> targets) private static <R> voidLocalCall.onJobReturn(String jid, JobReturnEvent jre, com.google.gson.reflect.TypeToken<Result<R>> tt, Map<String, CompletableFuture<Result<R>>> targets) private static <R> voidLocalCall.onRunnerReturn(String jid, RunnerReturnEvent rre, com.google.gson.reflect.TypeToken<Result<R>> tt, Map<String, CompletableFuture<Result<R>>> targets) private static <R> voidLocalCall.onRunnerReturn(String jid, RunnerReturnEvent rre, com.google.gson.reflect.TypeToken<Result<R>> tt, Map<String, CompletableFuture<Result<R>>> targets) -
Uses of Result in com.suse.salt.netapi.client
Methods in com.suse.salt.netapi.client that return types with arguments of type ResultModifier and TypeMethodDescription<T> CompletionStage<Map<String, Result<SSHRawResult>>> SaltClient.runRawSSHCommand(String command, Target<T> target, SaltSSHConfig cfg) Calls salt-ssh with a command in raw shell mode (commands bypass Salt and gets executed as shell commands). -
Uses of Result in com.suse.salt.netapi.parser
Fields in com.suse.salt.netapi.parser with type parameters of type ResultModifier and TypeFieldDescriptionstatic final JsonParser<Return<List<Map<String, Result<SSHRawResult>>>>> JsonParser.RUNSSHRAW_RESULTSMethods in com.suse.salt.netapi.parser that return types with arguments of type ResultModifier and TypeMethodDescriptionResultSSHResultTypeAdapterFactory.resultAdapter(com.google.gson.TypeAdapter<SSHResult<R>> innerAdapter) private com.google.gson.TypeAdapter<Result> -
Uses of Result in com.suse.salt.netapi.results
Methods in com.suse.salt.netapi.results that return ResultModifier and TypeMethodDescriptionstatic <T> Result<T> <T> Result<T> <T> Result<T> static <T> Result<T> Result.success(T r) Method parameters in com.suse.salt.netapi.results with type arguments of type Result