Package | Description |
---|---|
com.suse.salt.netapi.calls | |
com.suse.salt.netapi.client |
Modifier and Type | Method and Description |
---|---|
java.util.concurrent.CompletionStage<WheelAsyncResult<R>> |
WheelCall.callAsync(SaltClient client,
AuthMethod auth)
Calls a wheel module function on the master asynchronously and
returns information about the scheduled job that can be used to query the result.
|
java.util.concurrent.CompletionStage<RunnerAsyncResult<R>> |
RunnerCall.callAsync(SaltClient client,
AuthMethod auth)
Calls a runner module function on the master asynchronously and
returns information about the scheduled job that can be used to query the result.
|
java.util.concurrent.CompletionStage<java.util.Optional<LocalAsyncResult<R>>> |
LocalCall.callAsync(SaltClient client,
Target<?> target,
AuthMethod auth)
Calls a execution module function on the given target asynchronously and
returns information about the scheduled job that can be used to query the result.
|
java.util.concurrent.CompletionStage<java.util.Optional<LocalAsyncResult<R>>> |
LocalCall.callAsync(SaltClient client,
Target<?> target,
AuthMethod auth,
Batch batch)
Calls a execution module function on the given target asynchronously and
returns information about the scheduled job that can be used to query the result.
|
java.util.concurrent.CompletionStage<java.util.Optional<java.util.Map<java.lang.String,java.util.concurrent.CompletionStage<Result<R>>>>> |
LocalCall.callAsync(SaltClient client,
Target<?> target,
AuthMethod auth,
EventStream events,
java.util.concurrent.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.
|
java.util.concurrent.CompletionStage<java.util.Optional<java.util.Map<java.lang.String,java.util.concurrent.CompletionStage<Result<R>>>>> |
LocalCall.callAsync(SaltClient client,
Target<?> target,
AuthMethod auth,
EventStream events,
java.util.concurrent.CompletionStage<GenericError> cancel,
java.util.Optional<Batch> batch)
Calls this salt call via the async client and returns the results
as they come in via the event stream.
|
java.util.concurrent.CompletionStage<java.util.Optional<LocalAsyncResult<R>>> |
LocalCall.callAsync(SaltClient client,
Target<?> target,
AuthMethod auth,
java.util.Optional<Batch> batch)
Calls a execution module function on the given target asynchronously and
returns information about the scheduled job that can be used to query the result.
|
java.util.concurrent.CompletionStage<WheelResult<Result<R>>> |
WheelCall.callSync(SaltClient client,
AuthMethod auth)
Calls a wheel module function on the master and synchronously
waits for the result.
|
java.util.concurrent.CompletionStage<Result<R>> |
RunnerCall.callSync(SaltClient client,
AuthMethod auth)
Calls a runner module function on the master and synchronously
waits for the result.
|
java.util.concurrent.CompletionStage<java.util.Map<java.lang.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.
|
java.util.concurrent.CompletionStage<java.util.List<java.util.Map<java.lang.String,Result<R>>>> |
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.
|
java.util.concurrent.CompletionStage<java.util.List<java.util.Map<java.lang.String,Result<R>>>> |
LocalCall.callSync(SaltClient client,
Target<?> target,
AuthMethod auth,
java.util.Optional<Batch> batch)
Calls a execution module function on the given target with batching and
synchronously waits for the result.
|
private java.util.concurrent.CompletionStage<java.util.List<java.util.Map<java.lang.String,Result<R>>>> |
LocalCall.callSyncHelperNonBlock(SaltClient client,
Target<?> target,
AuthMethod auth,
java.util.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.
|
java.util.concurrent.CompletionStage<java.util.Map<java.lang.String,Result<SSHResult<R>>>> |
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.
|
Modifier and Type | Method and Description |
---|---|
<R> java.util.concurrent.CompletionStage<R> |
SaltClient.call(Call<?> call,
Client client,
java.util.Optional<Target<?>> target,
java.util.Map<java.lang.String,java.lang.Object> custom,
com.google.gson.reflect.TypeToken<R> type,
AuthMethod auth) |