Package | Description |
---|---|
com.suse.salt.netapi | |
com.suse.salt.netapi.calls | |
com.suse.salt.netapi.client |
Modifier and Type | Method and Description |
---|---|
static AuthModule |
AuthModule.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AuthModule[] |
AuthModule.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
WheelAsyncResult<R> |
WheelCall.callAsync(SaltClient client,
String username,
String password,
AuthModule authModule)
Calls a wheel module function on the master asynchronously and
returns information about the scheduled job that can be used to query the result.
|
RunnerAsyncResult<R> |
RunnerCall.callAsync(SaltClient client,
String username,
String password,
AuthModule authModule)
Calls a runner module function on the master asynchronously and
returns information about the scheduled job that can be used to query the result.
|
LocalAsyncResult<R> |
LocalCall.callAsync(SaltClient client,
Target<?> target,
String username,
String password,
AuthModule authModule)
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.
|
WheelResult<R> |
WheelCall.callSync(SaltClient client,
String username,
String password,
AuthModule authModule)
Calls a wheel module function on the master and synchronously
waits for the result.
|
R |
RunnerCall.callSync(SaltClient client,
String username,
String password,
AuthModule authModule)
Calls a runner module function on the master 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.
|
Modifier and Type | Method and Description |
---|---|
Token |
SaltClient.login(String username,
String password,
AuthModule eauth)
Perform login and return the token.
|
Future<Token> |
SaltClient.loginAsync(String username,
String password,
AuthModule eauth)
Asynchronously perform login and return a Future with the token.
|
<T> Map<String,Object> |
SaltClient.run(String username,
String password,
AuthModule eauth,
String client,
Target<T> target,
String function,
List<Object> args,
Map<String,Object> kwargs)
Generic interface to start any execution command bypassing normal session handling.
|
<T> Future<Map<String,Object>> |
SaltClient.runAsync(String username,
String password,
AuthModule eauth,
String client,
Target<T> target,
String function,
List<Object> args,
Map<String,Object> kwargs)
Asynchronously start any execution command bypassing normal session handling.
|
Copyright © 2016. All rights reserved.