Package | Description |
---|---|
com.suse.salt.netapi.calls | |
com.suse.salt.netapi.client | |
com.suse.salt.netapi.parser | |
com.suse.salt.netapi.results |
Modifier and Type | Method and Description |
---|---|
Map<String,Result<R>> |
LocalCall.callSync(SaltClient client,
Target<?> target)
Calls a execution module function on the given target and synchronously
waits for the result.
|
List<Map<String,Result<R>>> |
LocalCall.callSync(SaltClient client,
Target<?> target,
Batch batch)
Calls a execution module function on the given target with batching and
synchronously waits for the result.
|
Map<String,Result<R>> |
LocalCall.callSync(SaltClient client,
Target<?> target,
String username,
String password,
AuthModule authModule)
Calls a execution module function on the given target and synchronously
waits for the result.
|
List<Map<String,Result<R>>> |
LocalCall.callSync(SaltClient client,
Target<?> target,
String username,
String password,
AuthModule authModule,
Batch batch)
Calls a execution module function on the given target with batching and
synchronously waits for the result.
|
Map<String,Result<SSHResult<R>>> |
LocalCall.callSyncSSH(SaltClient client,
Target<?> target,
SaltSSHConfig cfg)
Call an execution module function on the given target via salt-ssh and synchronously
wait for the result.
|
Modifier and Type | Method and Description |
---|---|
<T> 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).
|
Modifier and Type | Field and Description |
---|---|
static JsonParser<Return<List<Map<String,Result<SSHRawResult>>>>> |
JsonParser.RUNSSHRAW_RESULTS |
Modifier and Type | Method and Description |
---|---|
<T> Result<T> |
Result.flatMap(Function<? super R,Result<T>> mapper) |
<T> Result<T> |
Result.map(Function<? super R,? extends T> mapper) |
Modifier and Type | Method and Description |
---|---|
<T> Result<T> |
Result.flatMap(Function<? super R,Result<T>> mapper) |
Copyright © 2016. All rights reserved.