public class PodOperationsImpl extends HasMetadataOperation<io.fabric8.kubernetes.api.model.Pod,io.fabric8.kubernetes.api.model.PodList,PodResource> implements PodResource, EphemeralContainersResource, CopyOrReadable
FieldValidateable.Validation| Modifier and Type | Field and Description |
|---|---|
static String |
DEFAULT_CONTAINER_ANNOTATION_NAME |
static int |
HTTP_TOO_MANY_REQUESTS |
DEFAULT_GRACE_PERIOD_IN_SECONDS, DEFAULT_PROPAGATION_POLICYapiVersion, listTypetypeapiGroupName, apiGroupVersion, config, context, dryRun, httpClient, JSON, JSON_MAPPER, JSON_MERGE_PATCH, JSON_PATCH, name, namespace, resourceT, STRATEGIC_MERGE_JSON_PATCH, subresource| Constructor and Description |
|---|
PodOperationsImpl(Client client) |
PodOperationsImpl(PodOperationContext context,
OperationContext superContext) |
accept, edit, edit, editStatus, handleReplace, modifyItemForReplaceOrPatch, patch, patch, patch, patch, patch, patchStatus, patchStatus, replace, replaceStatus, scale, scale, scale, update, update, updateStatus, waitUntilScaledappendListOptionParams, create, createOrReplace, createOrReplace, delete, delete, delete, deleteAll, dryRun, dryRun, edit, fetchListUrl, fieldManager, fieldValidation, forceConflicts, forOperationType, fromServer, get, getApiEndpointPath, getConfigType, getFieldQueryParam, getGracePeriodSeconds, getGroup, getItem, getItemOrRequireFromServer, getKind, getLimit, getListType, getNonNullItem, getOperationType, getPlural, getPropagationPolicy, getReadiness, getResourceVersion, getVersion, getWatchReconnectInterval, handleCreate, handleDeploymentRollback, handleGet, handlePatch, handleResponse, handleScale, handleUpdate, inAnyNamespace, inform, informOnCondition, inNamespace, inWriteContext, isReady, isResourceNamespaced, item, list, list, list, load, load, load, load, lockResourceVersion, lockResourceVersion, newResource, replace, replaceStatus, require, requireFromServer, resource, resources, runnableInformer, serverSideApply, setListType, setType, submitList, submitWatch, updateApiVersion, updateApiVersion, updateStatus, waitUntilCondition, waitUntilReady, watch, watch, watch, withField, withFields, withGracePeriod, withIndexers, withInvolvedObject, withLabel, withLabelIn, withLabelNotIn, withLabels, withLabelSelector, withLabelSelector, withLimit, withName, withNewFilter, withoutField, withoutFields, withoutLabel, withoutLabels, withPropagationPolicy, withResourceVersion, withTimeoutcreate, getTypeaddNamespacedUrlPathParts, assertResponseCode, checkName, checkNamespace, correctNamespace, createStatus, createStatus, getAPIGroupName, getAPIGroupVersion, getConfig, getName, getNamespace, getNamespacedUrl, getNamespacedUrl, getNamespacedUrl, getObjectValueAsMap, getOperationContext, getRequestConfig, getResourceT, getResourceUrl, getResourceUrl, getResourceUrl, getResourceURLForPatchOperation, getResourceURLForWriteOperation, getRootUrlParts, handleCreate, handleDelete, handleDeploymentRollback, handleGet, handleMetric, handlePatch, handlePatch, handleRaw, handleRawGet, handleResponse, handleResponse, handleScale, handleUpdate, requestException, requestException, requestFailure, requestFailure, restCall, unmarshal, unmarshal, unmarshal, waitForResultclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcascading, isReady, item, lockResourceVersion, lockResourceVersion, requirescale, scale, scale, scalefromServerwithResourceVersionwaitUntilCondition, waitUntilReadycreate, createOrReplaceaccept, edit, edit, edit, editStatus, patch, patch, patch, patch, patch, patch, patchStatusreplace, replaceStatus, update, updateStatuscreate, createOrReplace, delete, patchStatus, updateStatuswithTimeout, withTimeoutInMilliswithGracePeriodwithPropagationPolicyreplace, replaceStatusfieldManager, forceConflicts, serverSideApplyfieldValidationdryRun, dryRuninform, inform, inform, informOnCondition, runnableInformer, withIndexers, withLimitgetFullResourceName, getName, getNamespacedeletewithLabel, withoutLabelwithTimeoutInMillispublic static final int HTTP_TOO_MANY_REQUESTS
public static final String DEFAULT_CONTAINER_ANNOTATION_NAME
public PodOperationsImpl(Client client)
public PodOperationsImpl(PodOperationContext context, OperationContext superContext)
public PodOperationsImpl newInstance(OperationContext context)
newInstance in class HasMetadataOperation<io.fabric8.kubernetes.api.model.Pod,io.fabric8.kubernetes.api.model.PodList,PodResource>public PodOperationContext getContext()
protected <T> T doGetLog(Class<T> type)
public Reader getLogReader()
getLogReader in interface Loggablepublic InputStream getLogInputStream()
getLogInputStream in interface Loggablepublic LogWatch watchLog(OutputStream out)
public PodOperationsImpl withReadyWaitTimeout(Integer logWaitTimeout)
withReadyWaitTimeout in interface ContainerResourcewithReadyWaitTimeout in interface CopyOrReadablewithReadyWaitTimeout in interface ExecablewithReadyWaitTimeout in interface Loggablepublic Loggable withLogWaitTimeout(Integer logWaitTimeout)
withLogWaitTimeout in interface Loggablepublic PortForward portForward(int port, ReadableByteChannel in, WritableByteChannel out)
portForward in interface PortForwardablepublic LocalPortForward portForward(int port)
portForward in interface PortForwardablepublic LocalPortForward portForward(int port, int localPort)
portForward in interface PortForwardablepublic LocalPortForward portForward(int port, InetAddress localInetAddress, int localPort)
portForward in interface PortForwardablepublic boolean evict()
evict in interface PodResourcepublic boolean evict(io.fabric8.kubernetes.api.model.policy.v1.Eviction eviction)
evict in interface PodResourcepublic EphemeralContainersResource ephemeralContainers()
ephemeralContainers in interface PodResourcepublic PodOperationsImpl inContainer(String containerId)
inContainer in interface Containerable<String,ContainerResource>public PodOperationsImpl file(String file)
file in interface ContainerResourcepublic PodOperationsImpl dir(String dir)
dir in interface ContainerResourcepublic boolean copy(Path destination)
copy in interface CopyOrReadablepublic boolean upload(InputStream inputStream)
upload in interface CopyOrReadablepublic boolean upload(Path path)
upload in interface CopyOrReadablepublic InputStream read()
read in interface CopyOrReadablepublic InputStream readTar(String source)
public TtyExecOutputErrorable readingInput(InputStream in)
readingInput in interface ContainerResourcepublic PodOperationsImpl redirectingInput()
redirectingInput in interface ContainerResourcepublic PodOperationsImpl redirectingInput(Integer bufferSize)
redirectingInput in interface ContainerResourcepublic TtyExecErrorable writingOutput(OutputStream out)
writingOutput in interface TtyExecOutputErrorablepublic TtyExecErrorable redirectingOutput()
redirectingOutput in interface TtyExecOutputErrorablepublic TtyExecErrorChannelable writingError(OutputStream err)
writingError in interface TtyExecErrorablepublic TtyExecErrorChannelable redirectingError()
redirectingError in interface TtyExecErrorablepublic TtyExecable writingErrorChannel(OutputStream errChannel)
writingErrorChannel in interface TtyExecErrorChannelablepublic TtyExecable redirectingErrorChannel()
redirectingErrorChannel in interface TtyExecErrorChannelablepublic ExecListenable withTTY()
withTTY in interface TtyExecablepublic Loggable withPrettyOutput()
withPrettyOutput in interface PrettyLoggablepublic PrettyLoggable tailingLines(int withTailingLines)
tailingLines in interface TailPrettyLoggablepublic TailPrettyLoggable sinceTime(String sinceTimestamp)
sinceTime in interface TimeTailPrettyLoggablepublic TailPrettyLoggable sinceSeconds(int sinceSeconds)
sinceSeconds in interface TimeTailPrettyLoggablepublic TimeTailPrettyLoggable terminated()
terminated in interface BytesLimitTerminateTimeTailPrettyLoggablepublic Execable usingListener(ExecListener execListener)
usingListener in interface ExecListenablepublic BytesLimitTerminateTimeTailPrettyLoggable limitBytes(int limitBytes)
limitBytes in interface BytesLimitTerminateTimeTailPrettyLoggablepublic BytesLimitTerminateTimeTailPrettyLoggable usingTimestamps()
usingTimestamps in interface TimestampBytesLimitTerminateTimeTailPrettyLoggablepublic PodOperationsImpl terminateOnError()
terminateOnError in interface TtyExecErrorableCopyright © 2015–2023 Red Hat. All rights reserved.