public class JobOperationsImpl extends HasMetadataOperation<io.fabric8.kubernetes.api.model.batch.v1.Job,io.fabric8.kubernetes.api.model.batch.v1.JobList,ScalableResource<io.fabric8.kubernetes.api.model.batch.v1.Job>> implements ScalableResource<io.fabric8.kubernetes.api.model.batch.v1.Job>
FieldValidateable.ValidationDEFAULT_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 |
|---|
JobOperationsImpl(Client client) |
JobOperationsImpl(PodOperationContext context,
OperationContext superContext) |
| Modifier and Type | Method and Description |
|---|---|
String |
getLog() |
String |
getLog(boolean isPretty) |
InputStream |
getLogInputStream()
Returns an unclosed InputStream.
|
Reader |
getLogReader()
Returns an unclosed Reader.
|
Loggable |
inContainer(String id) |
TimeTailPrettyLoggable |
limitBytes(int limitBytes) |
protected io.fabric8.kubernetes.api.model.batch.v1.Job |
modifyItemForReplaceOrPatch(Supplier<io.fabric8.kubernetes.api.model.batch.v1.Job> current,
io.fabric8.kubernetes.api.model.batch.v1.Job job)
Modify the item prior to a replace or a JSON patch diff
|
JobOperationsImpl |
newInstance(OperationContext context) |
io.fabric8.kubernetes.api.model.batch.v1.Job |
scale(int count) |
io.fabric8.kubernetes.api.model.batch.v1.Job |
scale(int count,
boolean wait) |
TailPrettyLoggable |
sinceSeconds(int seconds) |
TailPrettyLoggable |
sinceTime(String timestamp) |
PrettyLoggable |
tailingLines(int lines) |
TimeTailPrettyLoggable |
terminated() |
BytesLimitTerminateTimeTailPrettyLoggable |
usingTimestamps() |
LogWatch |
watchLog() |
LogWatch |
watchLog(OutputStream out) |
Loggable |
withLogWaitTimeout(Integer logWaitTimeout) |
Loggable |
withPrettyOutput() |
Loggable |
withReadyWaitTimeout(Integer timeout) |
accept, edit, edit, editStatus, handleReplace, patch, patch, patch, patch, patch, patchStatus, patchStatus, replace, replaceStatus, 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, requirefromServerwithResourceVersionwaitUntilCondition, 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 JobOperationsImpl(Client client)
public JobOperationsImpl(PodOperationContext context, OperationContext superContext)
public JobOperationsImpl newInstance(OperationContext context)
newInstance in class HasMetadataOperation<io.fabric8.kubernetes.api.model.batch.v1.Job,io.fabric8.kubernetes.api.model.batch.v1.JobList,ScalableResource<io.fabric8.kubernetes.api.model.batch.v1.Job>>public io.fabric8.kubernetes.api.model.batch.v1.Job scale(int count)
scale in interface Scalable<io.fabric8.kubernetes.api.model.batch.v1.Job>scale in class HasMetadataOperation<io.fabric8.kubernetes.api.model.batch.v1.Job,io.fabric8.kubernetes.api.model.batch.v1.JobList,ScalableResource<io.fabric8.kubernetes.api.model.batch.v1.Job>>public io.fabric8.kubernetes.api.model.batch.v1.Job scale(int count,
boolean wait)
scale in interface Scalable<io.fabric8.kubernetes.api.model.batch.v1.Job>scale in class HasMetadataOperation<io.fabric8.kubernetes.api.model.batch.v1.Job,io.fabric8.kubernetes.api.model.batch.v1.JobList,ScalableResource<io.fabric8.kubernetes.api.model.batch.v1.Job>>public Reader getLogReader()
getLogReader in interface Loggablepublic InputStream getLogInputStream()
getLogInputStream in interface Loggablepublic LogWatch watchLog(OutputStream out)
public Loggable withLogWaitTimeout(Integer logWaitTimeout)
withLogWaitTimeout in interface Loggablepublic Loggable withReadyWaitTimeout(Integer timeout)
withReadyWaitTimeout in interface Loggableprotected io.fabric8.kubernetes.api.model.batch.v1.Job modifyItemForReplaceOrPatch(Supplier<io.fabric8.kubernetes.api.model.batch.v1.Job> current, io.fabric8.kubernetes.api.model.batch.v1.Job job)
HasMetadataOperationmodifyItemForReplaceOrPatch in class HasMetadataOperation<io.fabric8.kubernetes.api.model.batch.v1.Job,io.fabric8.kubernetes.api.model.batch.v1.JobList,ScalableResource<io.fabric8.kubernetes.api.model.batch.v1.Job>>current - item from the serverjob - to be modifiedpublic Loggable inContainer(String id)
inContainer in interface Containerable<String,Loggable>public TimeTailPrettyLoggable limitBytes(int limitBytes)
limitBytes in interface BytesLimitTerminateTimeTailPrettyLoggablepublic TimeTailPrettyLoggable terminated()
terminated in interface BytesLimitTerminateTimeTailPrettyLoggablepublic Loggable withPrettyOutput()
withPrettyOutput in interface PrettyLoggablepublic PrettyLoggable tailingLines(int lines)
tailingLines in interface TailPrettyLoggablepublic TailPrettyLoggable sinceTime(String timestamp)
sinceTime in interface TimeTailPrettyLoggablepublic TailPrettyLoggable sinceSeconds(int seconds)
sinceSeconds in interface TimeTailPrettyLoggablepublic BytesLimitTerminateTimeTailPrettyLoggable usingTimestamps()
usingTimestamps in interface TimestampBytesLimitTerminateTimeTailPrettyLoggableCopyright © 2015–2023 Red Hat. All rights reserved.