public class DefaultResourceInstaller extends Object implements ResourceInstaller
| Modifier and Type | Class and Description |
|---|---|
static class |
DefaultResourceInstaller.ImmutableResourceInstaller |
| Modifier and Type | Field and Description |
|---|---|
protected org.jboss.arquillian.core.api.Instance<io.fabric8.kubernetes.clnt.v2_2.KubernetesClient> |
client |
protected org.jboss.arquillian.core.api.Instance<Configuration> |
configuration |
protected ResourceInstaller |
delegate |
protected org.jboss.arquillian.core.api.Instance<Logger> |
logger |
protected org.jboss.arquillian.core.api.Instance<org.jboss.arquillian.core.spi.ServiceLoader> |
serviceLoader |
| Constructor and Description |
|---|
DefaultResourceInstaller() |
| 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.
|
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.
|
@Inject protected org.jboss.arquillian.core.api.Instance<io.fabric8.kubernetes.clnt.v2_2.KubernetesClient> client
@Inject protected org.jboss.arquillian.core.api.Instance<Configuration> configuration
@Inject protected org.jboss.arquillian.core.api.Instance<Logger> logger
@Inject protected org.jboss.arquillian.core.api.Instance<org.jboss.arquillian.core.spi.ServiceLoader> serviceLoader
protected ResourceInstaller delegate
public ResourceInstaller toImmutable()
toImmutable in interface WithToImmutable<ResourceInstaller>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.Copyright © 2017 JBoss by Red Hat. All rights reserved.