Package | Description |
---|---|
com.suse.salt.netapi.calls.modules | |
com.suse.salt.netapi.datatypes | |
com.suse.salt.netapi.parser | |
com.suse.salt.netapi.results | |
com.suse.salt.netapi.utils |
Modifier and Type | Method and Description |
---|---|
static LocalCall<java.util.Map<java.lang.String,Xor<Pkg.Info,java.util.List<Pkg.Info>>>> |
Pkg.infoInstalledAllVersions(java.util.List<java.lang.String> attributes,
boolean reportErrors,
java.lang.String... packages)
Call 'pkg.info_installed' API.
|
static LocalCall<java.util.Map<java.lang.String,Change<Xor<java.lang.String,java.util.List<Pkg.Info>>>>> |
Pkg.install(boolean refresh,
java.util.List<java.lang.String> pkgs,
java.util.List<java.lang.String> attributes)
Call 'pkg.install' API.
|
static LocalCall<java.util.Map<java.lang.String,Change<Xor<java.lang.String,java.util.List<Pkg.Info>>>>> |
Pkg.install(boolean refresh,
java.util.Map<java.lang.String,java.lang.String> pkgs,
java.util.List<java.lang.String> attributes)
Call 'pkg.install' API.
|
static LocalCall<java.util.Map<java.lang.String,java.util.List<Xor<java.lang.String,Pkg.Info>>>> |
Pkg.listPkgs(java.util.List<java.lang.String> attributes)
Call 'pkg.list_pkgs'
|
Modifier and Type | Field and Description |
---|---|
private Xor<Token,PasswordAuth> |
AuthMethod.internal |
Modifier and Type | Method and Description |
---|---|
Xor<Token,PasswordAuth> |
AuthMethod.getInternal() |
Modifier and Type | Method and Description |
---|---|
private <R> com.google.gson.TypeAdapter<Xor<SaltError,R>> |
XorTypeAdapterFactory.errorAdapter(com.google.gson.TypeAdapter<R> innerAdapter)
Creates a Xor adapter specifically for the case in which the left side is a
SaltError.
|
private <L,R> com.google.gson.TypeAdapter<Xor<L,R>> |
XorTypeAdapterFactory.xorAdapter(com.google.gson.TypeAdapter<L> leftAdapter,
com.google.gson.TypeAdapter<R> rightAdapter)
Creates a generic Xor adapter by combining two other adapters - one for each side of
the Xor type.
|
Modifier and Type | Method and Description |
---|---|
private com.google.gson.TypeAdapter<Result> |
ResultTypeAdapterFactory.wrap(com.google.gson.TypeAdapter<Xor> xorTypeAdapter) |
Modifier and Type | Field and Description |
---|---|
private Xor<SaltError,R> |
Result.xor |
Modifier and Type | Field and Description |
---|---|
private java.util.Optional<Xor<java.lang.String[],java.lang.String>> |
StateApplyResult.name |
Modifier and Type | Method and Description |
---|---|
Xor<SaltError,R> |
Result.toXor() |
Modifier and Type | Method and Description |
---|---|
java.util.Optional<Xor<java.lang.String[],java.lang.String>> |
StateApplyResult.getName() |
Constructor and Description |
---|
Result(Xor<SaltError,R> xor) |
Modifier and Type | Class and Description |
---|---|
static class |
Xor.Left<L,R>
Left branch of the Xor
|
static class |
Xor.Right<L,R>
Right branch of the Xor
|
Modifier and Type | Method and Description |
---|---|
abstract <T> Xor<? super L,T> |
Xor.flatMap(java.util.function.Function<? super R,Xor<? super L,T>> mapper) |
<T> Xor<? super L,T> |
Xor.Left.flatMap(java.util.function.Function<? super R,Xor<? super L,T>> mapper) |
<T> Xor<? super L,T> |
Xor.Right.flatMap(java.util.function.Function<? super R,Xor<? super L,T>> mapper) |
<T> Xor<T,R> |
Xor.Left.leftMap(java.util.function.Function<? super L,Xor<T,R>> mapper) |
<T> Xor<T,R> |
Xor.Right.leftMap(java.util.function.Function<? super L,Xor<T,R>> mapper) |
abstract <T> Xor<L,T> |
Xor.map(java.util.function.Function<? super R,? extends T> mapper) |
<T> Xor<L,T> |
Xor.Left.map(java.util.function.Function<? super R,? extends T> mapper) |
<T> Xor<L,T> |
Xor.Right.map(java.util.function.Function<? super R,? extends T> mapper) |
Modifier and Type | Method and Description |
---|---|
abstract <T> Xor<? super L,T> |
Xor.flatMap(java.util.function.Function<? super R,Xor<? super L,T>> mapper) |
<T> Xor<? super L,T> |
Xor.Left.flatMap(java.util.function.Function<? super R,Xor<? super L,T>> mapper) |
<T> Xor<? super L,T> |
Xor.Right.flatMap(java.util.function.Function<? super R,Xor<? super L,T>> mapper) |
<T> Xor<T,R> |
Xor.Left.leftMap(java.util.function.Function<? super L,Xor<T,R>> mapper) |
<T> Xor<T,R> |
Xor.Right.leftMap(java.util.function.Function<? super L,Xor<T,R>> mapper) |