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