public static class DefaultResourceInstaller.ImmutableResourceInstaller extends Object implements ResourceInstaller, WithToImmutable<ResourceInstaller>
| Constructor and Description |
|---|
ImmutableResourceInstaller(io.fabric8.kubernetes.clnt.v2_2.KubernetesClient client,
Configuration configuration,
Logger logger,
List<io.fabric8.kubernetes.api.builder.v2_2.Visitor> visitors) |
| Modifier and Type | Method and Description |
|---|---|
List<io.fabric8.kubernetes.api.model.v2_2.HasMetadata> |
install(URL url)
Installs the resources found in the specified URL.
|
void |
preUninstallCheck() |
ResourceInstaller |
toImmutable() |
Map<io.fabric8.kubernetes.api.model.v2_2.HasMetadata,Boolean> |
uninstall(List<io.fabric8.kubernetes.api.model.v2_2.HasMetadata> list)
Uninstalls the resources found in the specified list.
|
Map<io.fabric8.kubernetes.api.model.v2_2.HasMetadata,Boolean> |
uninstall(URL url)
Uninstalls the resources found in the specified URL.
|
public ImmutableResourceInstaller(io.fabric8.kubernetes.clnt.v2_2.KubernetesClient client,
Configuration configuration,
Logger logger,
List<io.fabric8.kubernetes.api.builder.v2_2.Visitor> visitors)
public List<io.fabric8.kubernetes.api.model.v2_2.HasMetadata> install(URL url)
ResourceInstallerinstall in interface ResourceInstallerurl - The URL to read resources from.public Map<io.fabric8.kubernetes.api.model.v2_2.HasMetadata,Boolean> uninstall(URL url)
ResourceInstalleruninstall in interface ResourceInstallerurl - The URL to read resources from.public Map<io.fabric8.kubernetes.api.model.v2_2.HasMetadata,Boolean> uninstall(List<io.fabric8.kubernetes.api.model.v2_2.HasMetadata> list)
ResourceInstalleruninstall in interface ResourceInstallerlist - The list with the resources.public void preUninstallCheck()
public ResourceInstaller toImmutable()
toImmutable in interface WithToImmutable<ResourceInstaller>Copyright © 2017 JBoss by Red Hat. All rights reserved.