public class PodOperationsImpl extends HasMetadataOperation<io.fabric8.kubernetes.api.model.Pod,io.fabric8.kubernetes.api.model.PodList,io.fabric8.kubernetes.api.model.DoneablePod,PodResource<io.fabric8.kubernetes.api.model.Pod,io.fabric8.kubernetes.api.model.DoneablePod>> implements PodResource<io.fabric8.kubernetes.api.model.Pod,io.fabric8.kubernetes.api.model.DoneablePod>
reaper
apiGroup, apiVersion, client, config, JSON, JSON_MAPPER, JSON_PATCH, name, namespace, resourceT, YAML_MAPPER
Constructor and Description |
---|
PodOperationsImpl(okhttp3.OkHttpClient client,
Config config,
String namespace) |
PodOperationsImpl(okhttp3.OkHttpClient client,
Config config,
String apiVersion,
String namespace,
String name,
Boolean cascading,
io.fabric8.kubernetes.api.model.Pod item,
String resourceVersion,
Boolean reloadingFromServer,
long gracePeriodSeconds,
Map<String,String> labels,
Map<String,String> labelsNot,
Map<String,String[]> labelsIn,
Map<String,String[]> labelsNotIn,
Map<String,String> fields) |
PodOperationsImpl(okhttp3.OkHttpClient client,
Config config,
String apiVersion,
String namespace,
String name,
Boolean cascading,
io.fabric8.kubernetes.api.model.Pod item,
String resourceVersion,
Boolean reloadingFromServer,
long gracePeriodSeconds,
Map<String,String> labels,
Map<String,String> labelsNot,
Map<String,String[]> labelsIn,
Map<String,String[]> labelsNotIn,
Map<String,String> fields,
String containerId,
InputStream in,
PipedOutputStream inPipe,
OutputStream out,
PipedInputStream outPipe,
OutputStream err,
PipedInputStream errPipe,
boolean withTTY,
boolean withTerminatedStatus,
boolean withTimestamps,
String sinceTimestamp,
Integer sinceSeconds,
Integer withTailingLines,
boolean withPrettyOutput,
ExecListener execListener,
Integer limitBytes) |
edit, patch, periodicWatchUntilReady, replace
cascading, create, createNew, createOrReplace, createOrReplaceWithNew, delete, delete, delete, forOperationType, fromServer, get, getConfigType, getDoneableType, getFieldQueryParam, getFields, getGracePeriodSeconds, getItem, getKind, getLabelQueryParam, getLabels, getLabelsIn, getLabelsNot, getLabelsNotIn, getListType, getMandatory, getOperationType, getReloadingFromServer, getResourceT, getResourceVersion, getRootPaths, getType, handleCreate, handleGet, handlePatch, handleReplace, handleResponse, inAnyNamespace, inNamespace, isCascading, isReady, isReaping, isReloadingFromServer, isResourceNamespaced, list, load, load, load, load, setReaping, watch, watch, withField, withFields, withGracePeriod, withLabel, withLabel, withLabelIn, withLabelNotIn, withLabels, withLabelSelector, withName, withoutLabel, withoutLabel, withoutLabels, withResourceVersion
assertResponseCode, checkName, checkNamespace, createStatus, createStatus, getAPIGroup, getAPIVersion, getConfig, getName, getNamespace, getNamespacedUrl, getNamespacedUrl, getNamespacedUrl, getResourceUrl, getResourceUrl, getRootUrl, handleCreate, handleDelete, handleDelete, handleGet, handleGet, handlePatch, handleReplace, handleReplace, handleResponse, handleResponse, handleResponse, handleResponse, requestException, requestFailure, unmarshal, unmarshal, unmarshal
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
createOrReplace, createOrReplaceWithNew
create, createNew
fromServer
replace
withGracePeriod
withResourceVersion
getName, getNamespace
public PodOperationsImpl(okhttp3.OkHttpClient client, Config config, String namespace)
public PodOperationsImpl(okhttp3.OkHttpClient client, Config config, String apiVersion, String namespace, String name, Boolean cascading, io.fabric8.kubernetes.api.model.Pod item, String resourceVersion, Boolean reloadingFromServer, long gracePeriodSeconds, Map<String,String> labels, Map<String,String> labelsNot, Map<String,String[]> labelsIn, Map<String,String[]> labelsNotIn, Map<String,String> fields)
public PodOperationsImpl(okhttp3.OkHttpClient client, Config config, String apiVersion, String namespace, String name, Boolean cascading, io.fabric8.kubernetes.api.model.Pod item, String resourceVersion, Boolean reloadingFromServer, long gracePeriodSeconds, Map<String,String> labels, Map<String,String> labelsNot, Map<String,String[]> labelsIn, Map<String,String[]> labelsNotIn, Map<String,String> fields, String containerId, InputStream in, PipedOutputStream inPipe, OutputStream out, PipedInputStream outPipe, OutputStream err, PipedInputStream errPipe, boolean withTTY, boolean withTerminatedStatus, boolean withTimestamps, String sinceTimestamp, Integer sinceSeconds, Integer withTailingLines, boolean withPrettyOutput, ExecListener execListener, Integer limitBytes)
protected String getLogParameters()
public LogWatch watchLog(OutputStream out)
public PortForward portForward(int port, ReadableByteChannel in, WritableByteChannel out)
PortForwardable
portForward
in interface PortForwardable<PortForward,LocalPortForward,ReadableByteChannel,WritableByteChannel>
public LocalPortForward portForward(int port)
PortForwardable
portForward
in interface PortForwardable<PortForward,LocalPortForward,ReadableByteChannel,WritableByteChannel>
public LocalPortForward portForward(int port, int localPort)
PortForwardable
portForward
in interface PortForwardable<PortForward,LocalPortForward,ReadableByteChannel,WritableByteChannel>
public ContainerResource<String,LogWatch,InputStream,PipedOutputStream,OutputStream,PipedInputStream,String,ExecWatch> inContainer(String containerId)
inContainer
in interface Containerable<String,ContainerResource<String,LogWatch,InputStream,PipedOutputStream,OutputStream,PipedInputStream,String,ExecWatch>>
public TtyExecOutputErrorable<String,OutputStream,PipedInputStream,ExecWatch> readingInput(InputStream in)
readingInput
in interface Inputable<InputStream,PipedOutputStream,TtyExecOutputErrorable<String,OutputStream,PipedInputStream,ExecWatch>>
public TtyExecOutputErrorable<String,OutputStream,PipedInputStream,ExecWatch> writingInput(PipedOutputStream inPipe)
writingInput
in interface Inputable<InputStream,PipedOutputStream,TtyExecOutputErrorable<String,OutputStream,PipedInputStream,ExecWatch>>
public TtyExecOutputErrorable<String,OutputStream,PipedInputStream,ExecWatch> redirectingInput()
redirectingInput
in interface Inputable<InputStream,PipedOutputStream,TtyExecOutputErrorable<String,OutputStream,PipedInputStream,ExecWatch>>
public TtyExecErrorable<String,OutputStream,PipedInputStream,ExecWatch> writingOutput(OutputStream out)
writingOutput
in interface Outputable<OutputStream,PipedInputStream,TtyExecErrorable<String,OutputStream,PipedInputStream,ExecWatch>>
public TtyExecErrorable<String,OutputStream,PipedInputStream,ExecWatch> readingOutput(PipedInputStream outPipe)
readingOutput
in interface Outputable<OutputStream,PipedInputStream,TtyExecErrorable<String,OutputStream,PipedInputStream,ExecWatch>>
public TtyExecErrorable<String,OutputStream,PipedInputStream,ExecWatch> redirectingOutput()
redirectingOutput
in interface Outputable<OutputStream,PipedInputStream,TtyExecErrorable<String,OutputStream,PipedInputStream,ExecWatch>>
public TtyExecable<String,ExecWatch> writingError(OutputStream err)
writingError
in interface Errorable<OutputStream,PipedInputStream,TtyExecable<String,ExecWatch>>
public TtyExecable<String,ExecWatch> readingError(PipedInputStream errPipe)
readingError
in interface Errorable<OutputStream,PipedInputStream,TtyExecable<String,ExecWatch>>
public TtyExecable<String,ExecWatch> redirectingError()
redirectingError
in interface Errorable<OutputStream,PipedInputStream,TtyExecable<String,ExecWatch>>
public ExecListenable<String,ExecWatch> withTTY()
withTTY
in interface Ttyable<ExecListenable<String,ExecWatch>>
public Loggable<String,LogWatch> withPrettyOutput()
withPrettyOutput
in interface Prettyable<Loggable<String,LogWatch>>
public PrettyLoggable<String,LogWatch> tailingLines(int withTailingLines)
tailingLines
in interface Tailable<PrettyLoggable<String,LogWatch>>
public TailPrettyLoggable<String,LogWatch> sinceTime(String sinceTimestamp)
sinceTime
in interface Timeable<TailPrettyLoggable<String,LogWatch>>
public TailPrettyLoggable<String,LogWatch> sinceSeconds(int sinceSeconds)
sinceSeconds
in interface Timeable<TailPrettyLoggable<String,LogWatch>>
public TimeTailPrettyLoggable<String,LogWatch> terminated()
terminated
in interface Terminateable<TimeTailPrettyLoggable<String,LogWatch>>
public Execable<String,ExecWatch> usingListener(ExecListener execListener)
usingListener
in interface Listenable<Execable<String,ExecWatch>,ExecListener>
public BytesLimitTerminateTimeTailPrettyLoggable<String,LogWatch> limitBytes(int limitBytes)
limitBytes
in interface BytesLimitable<TimeTailPrettyLoggable<String,LogWatch>>
public io.fabric8.kubernetes.api.model.Pod waitUntilReady(long amount, TimeUnit timeUnit) throws InterruptedException
waitUntilReady
in interface Waitable<io.fabric8.kubernetes.api.model.Pod>
waitUntilReady
in class BaseOperation<io.fabric8.kubernetes.api.model.Pod,io.fabric8.kubernetes.api.model.PodList,io.fabric8.kubernetes.api.model.DoneablePod,PodResource<io.fabric8.kubernetes.api.model.Pod,io.fabric8.kubernetes.api.model.DoneablePod>>
InterruptedException
Copyright © 2015–2017 Red Hat. All rights reserved.