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>, CopyOrReadable<Boolean,InputStream>
apiVersion, doneableType, listType, reaper, typeapiGroupName, apiGroupVersion, client, config, context, JSON, JSON_MAPPER, JSON_PATCH, name, namespace, resourceT, YAML_MAPPER| Constructor and Description |
|---|
PodOperationsImpl(okhttp3.OkHttpClient client,
Config config) |
PodOperationsImpl(PodOperationContext context) |
edit, patch, periodicWatchUntilReady, replace, waitUntilReadycascading, create, createNew, createOrReplace, createOrReplaceWithNew, delete, delete, delete, forOperationType, fromServer, get, getApiVersion, 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, isApiGroup, isCascading, isReady, isReaping, isReloadingFromServer, isResourceNamespaced, list, list, load, load, load, load, lockResourceVersion, require, setReaping, updateApiVersion, updateApiVersion, updateApiVersionResource, waitUntilCondition, waitUntilExists, watch, watch, withField, withFields, withGracePeriod, withItem, withLabel, withLabel, withLabelIn, withLabelNotIn, withLabels, withLabelSelector, withName, withoutLabel, withoutLabel, withoutLabels, withResourceVersionassertResponseCode, 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, unmarshalclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreateOrReplace, createOrReplaceWithNewcreate, createNewfromServerreplacewithGracePeriodlockResourceVersionwithResourceVersionwaitUntilCondition, waitUntilReadyrequiregetName, getNamespacepublic PodOperationsImpl(okhttp3.OkHttpClient client,
Config config)
public PodOperationsImpl(PodOperationContext context)
public PodOperationsImpl newInstance(OperationContext context)
newInstance 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>>public PodOperationContext getContext()
protected String getLogParameters()
protected okhttp3.ResponseBody doGetLog()
public Reader getLogReader()
getLogReader in interface Loggable<String,LogWatch>public LogWatch watchLog(OutputStream out)
public PortForward portForward(int port, ReadableByteChannel in, WritableByteChannel out)
PortForwardableportForward in interface PortForwardable<PortForward,LocalPortForward,ReadableByteChannel,WritableByteChannel>port - port as integerin - input channelout - output channelpublic LocalPortForward portForward(int port)
PortForwardableportForward in interface PortForwardable<PortForward,LocalPortForward,ReadableByteChannel,WritableByteChannel>port - port as integerpublic LocalPortForward portForward(int port, int localPort)
PortForwardableportForward in interface PortForwardable<PortForward,LocalPortForward,ReadableByteChannel,WritableByteChannel>port - port in integerlocalPort - local port in integerpublic ContainerResource<String,LogWatch,InputStream,PipedOutputStream,OutputStream,PipedInputStream,String,ExecWatch,Boolean,InputStream> inContainer(String containerId)
inContainer in interface Containerable<String,ContainerResource<String,LogWatch,InputStream,PipedOutputStream,OutputStream,PipedInputStream,String,ExecWatch,Boolean,InputStream>>public CopyOrReadable<Boolean,InputStream> file(String file)
file in interface FileSelector<CopyOrReadable<Boolean,InputStream>>public CopyOrReadable<Boolean,InputStream> dir(String dir)
dir in interface FileSelector<CopyOrReadable<Boolean,InputStream>>public InputStream read()
read in interface Readable<InputStream>public InputStream readTar(String source) throws Exception
Exceptionpublic 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 TtyExecOutputErrorable<String,OutputStream,PipedInputStream,ExecWatch> redirectingInput(Integer bufferSize)
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 TtyExecErrorChannelable<String,OutputStream,PipedInputStream,ExecWatch> writingError(OutputStream err)
writingError in interface Errorable<OutputStream,PipedInputStream,TtyExecErrorChannelable<String,OutputStream,PipedInputStream,ExecWatch>>public TtyExecErrorChannelable<String,OutputStream,PipedInputStream,ExecWatch> readingError(PipedInputStream errPipe)
readingError in interface Errorable<OutputStream,PipedInputStream,TtyExecErrorChannelable<String,OutputStream,PipedInputStream,ExecWatch>>public TtyExecErrorChannelable<String,OutputStream,PipedInputStream,ExecWatch> redirectingError()
redirectingError in interface Errorable<OutputStream,PipedInputStream,TtyExecErrorChannelable<String,OutputStream,PipedInputStream,ExecWatch>>public TtyExecable<String,ExecWatch> writingErrorChannel(OutputStream errChannel)
writingErrorChannel in interface ErrorChannelable<OutputStream,PipedInputStream,TtyExecable<String,ExecWatch>>public TtyExecable<String,ExecWatch> readingErrorChannel(PipedInputStream errChannelPipe)
readingErrorChannel in interface ErrorChannelable<OutputStream,PipedInputStream,TtyExecable<String,ExecWatch>>public TtyExecable<String,ExecWatch> redirectingErrorChannel()
redirectingErrorChannel in interface ErrorChannelable<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 BytesLimitTerminateTimeTailPrettyLoggable<String,LogWatch> usingTimestamps()
usingTimestamps in interface Timestampable<BytesLimitTerminateTimeTailPrettyLoggable<String,LogWatch>>Copyright © 2015–2019 Red Hat. All rights reserved.