public interface NamespacedResourceList<T extends io.fabric8.kubernetes.api.model.HasMetadata,L extends io.fabric8.kubernetes.api.model.KubernetesResourceList,B extends io.fabric8.kubernetes.api.builder.Builder<T>,D extends io.fabric8.kubernetes.api.model.Doneable<T>>
Modifier and Type | Method and Description |
---|---|
T |
create(T resource) |
D |
createNew() |
void |
delete() |
L |
list() |
com.ning.http.client.ws.WebSocket |
watch(Watcher<T> watcher) |
FilteredNamespacedResourceList<T,L> |
withField(String key,
String value) |
FilteredNamespacedResourceList<T,L> |
withFields(Map<String,String> labels) |
FilteredNamespacedResourceList<T,L> |
withLabel(String key,
String value) |
FilteredNamespacedResourceList<T,L> |
withLabels(Map<String,String> labels) |
NamedNamespacedResource<T,B,D> |
withName(String name) |
L list() throws KubernetesClientException
KubernetesClientException
void delete() throws KubernetesClientException
KubernetesClientException
T create(T resource) throws KubernetesClientException
KubernetesClientException
D createNew() throws KubernetesClientException
KubernetesClientException
com.ning.http.client.ws.WebSocket watch(Watcher<T> watcher) throws KubernetesClientException
KubernetesClientException
FilteredNamespacedResourceList<T,L> withLabels(Map<String,String> labels) throws KubernetesClientException
KubernetesClientException
FilteredNamespacedResourceList<T,L> withLabel(String key, String value) throws KubernetesClientException
KubernetesClientException
FilteredNamespacedResourceList<T,L> withFields(Map<String,String> labels) throws KubernetesClientException
KubernetesClientException
FilteredNamespacedResourceList<T,L> withField(String key, String value) throws KubernetesClientException
KubernetesClientException
NamedNamespacedResource<T,B,D> withName(String name) throws KubernetesClientException
KubernetesClientException
Copyright © 2015 Red Hat. All rights reserved.