Class JobOperationsImpl
- java.lang.Object
-
- io.fabric8.kubernetes.client.dsl.internal.OperationSupport
-
- io.fabric8.kubernetes.client.dsl.internal.CreateOnlyResourceOperation<T,T>
-
- io.fabric8.kubernetes.client.dsl.internal.BaseOperation<T,L,R>
-
- io.fabric8.kubernetes.client.dsl.internal.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>>
-
- io.fabric8.kubernetes.client.dsl.internal.batch.v1.JobOperationsImpl
-
- All Implemented Interfaces:
AnyNamespaceable<AnyNamespaceOperation<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>>>,AnyNamespaceOperation<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>>,BytesLimitTerminateTimeTailPrettyLoggable,Containerable<String,Loggable>,CreateOrReplaceable<io.fabric8.kubernetes.api.model.batch.v1.Job>,CreateOrReplaceDeletable<io.fabric8.kubernetes.api.model.batch.v1.Job>,Deletable,DeletableWithOptions,DryRunable<WritableOperation<io.fabric8.kubernetes.api.model.batch.v1.Job>>,EditReplacePatchable<io.fabric8.kubernetes.api.model.batch.v1.Job>,FieldValidateable<NonDeletingOperation<io.fabric8.kubernetes.api.model.batch.v1.Job>>,Filterable<FilterWatchListDeletable<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>>>,FilterWatchListDeletable<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>>,Gettable<io.fabric8.kubernetes.api.model.batch.v1.Job>,Informable<io.fabric8.kubernetes.api.model.batch.v1.Job>,InOutCreateable<io.fabric8.kubernetes.api.model.batch.v1.Job,io.fabric8.kubernetes.api.model.batch.v1.Job>,ItemReplacable<io.fabric8.kubernetes.api.model.batch.v1.Job>,ItemWritableOperation<io.fabric8.kubernetes.api.model.batch.v1.Job>,Listable<io.fabric8.kubernetes.api.model.batch.v1.JobList>,Loggable,MetadataGettable,MetadataListable,MixedOperation<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>>,Nameable<ScalableResource<io.fabric8.kubernetes.api.model.batch.v1.Job>>,Namespaceable<NonNamespaceOperation<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>>>,NonDeletingOperation<io.fabric8.kubernetes.api.model.batch.v1.Job>,NonNamespaceOperation<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>>,PrettyLoggable,Replaceable<io.fabric8.kubernetes.api.model.batch.v1.Job>,ReplaceDeletable<io.fabric8.kubernetes.api.model.batch.v1.Job>,Resource<io.fabric8.kubernetes.api.model.batch.v1.Job>,Scalable<io.fabric8.kubernetes.api.model.batch.v1.Job>,ScalableResource<io.fabric8.kubernetes.api.model.batch.v1.Job>,ServerSideApplicable<io.fabric8.kubernetes.api.model.batch.v1.Job>,TableGettable,TableListable,TailPrettyLoggable,Timeoutable,TimeoutableScalable<io.fabric8.kubernetes.api.model.batch.v1.Job>,TimestampBytesLimitTerminateTimeTailPrettyLoggable,TimeTailPrettyLoggable,Updatable<io.fabric8.kubernetes.api.model.batch.v1.Job>,Waitable<io.fabric8.kubernetes.api.model.batch.v1.Job,io.fabric8.kubernetes.api.model.batch.v1.Job>,Watchable<io.fabric8.kubernetes.api.model.batch.v1.Job>,WatchAndWaitable<io.fabric8.kubernetes.api.model.batch.v1.Job>,WritableOperation<io.fabric8.kubernetes.api.model.batch.v1.Job>,ExtensibleResource<io.fabric8.kubernetes.api.model.batch.v1.Job>,FromServerGettable<io.fabric8.kubernetes.api.model.batch.v1.Job>,GracePeriodConfigurable<PropagationPolicyConfigurable<? extends Deletable>>,ListerWatcher<io.fabric8.kubernetes.api.model.batch.v1.Job,io.fabric8.kubernetes.api.model.batch.v1.JobList>,OperationInfo,PropagationPolicyConfigurable<GracePeriodConfigurable<? extends Deletable>>
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>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface io.fabric8.kubernetes.client.dsl.FieldValidateable
FieldValidateable.Validation
-
-
Field Summary
-
Fields inherited from class io.fabric8.kubernetes.client.dsl.internal.HasMetadataOperation
DEFAULT_GRACE_PERIOD_IN_SECONDS, DEFAULT_PROPAGATION_POLICY
-
Fields inherited from class io.fabric8.kubernetes.client.dsl.internal.BaseOperation
apiVersion, listType
-
Fields inherited from class io.fabric8.kubernetes.client.dsl.internal.CreateOnlyResourceOperation
type
-
Fields inherited from class io.fabric8.kubernetes.client.dsl.internal.OperationSupport
apiGroupName, apiGroupVersion, config, context, dryRun, httpClient, JSON, JSON_MERGE_PATCH, JSON_PATCH, name, namespace, resourceT, STRATEGIC_MERGE_JSON_PATCH, subresource
-
-
Constructor Summary
Constructors Constructor Description JobOperationsImpl(Client client)JobOperationsImpl(PodOperationContext context, OperationContext superContext)
-
Method Summary
-
Methods inherited from class io.fabric8.kubernetes.client.dsl.internal.HasMetadataOperation
accept, edit, edit, editStatus, handleReplace, patch, patch, patch, patch, patch, patchStatus, patchStatus, replace, replaceStatus, scale, scale, update, update, updateStatus, waitUntilScaled
-
Methods inherited from class io.fabric8.kubernetes.client.dsl.internal.BaseOperation
appendListOptionParams, create, createOr, createOrReplace, createOrReplace, delete, delete, delete, deleteAll, dryRun, dryRun, edit, fetchListUrl, fieldManager, fieldValidation, forceConflicts, forOperationType, fromServer, get, getApiEndpointPath, getAsPartialObjectMetadata, getAsTable, 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, listAsPartialObjectMetadata, listAsPartialObjectMetadata, listAsTable, listAsTable, load, load, load, load, lockResourceVersion, lockResourceVersion, newResource, replace, replaceStatus, require, requireFromServer, resource, resources, runnableInformer, serverSideApply, setListType, setType, submitList, submitWatch, subresource, unlock, updateApiVersion, updateListItems, 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
-
Methods inherited from class io.fabric8.kubernetes.client.dsl.internal.CreateOnlyResourceOperation
create, getType
-
Methods inherited from class io.fabric8.kubernetes.client.dsl.internal.OperationSupport
addNamespacedUrlPathParts, assertResponseCode, checkName, checkNamespace, correctNamespace, createStatus, createStatus, getAPIGroupName, getAPIGroupVersion, getConfig, getKubernetesSerialization, getName, getNamespace, getNamespacedUrl, getNamespacedUrl, getNamespacedUrl, 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, waitForResult
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface io.fabric8.kubernetes.client.dsl.AnyNamespaceOperation
delete
-
Methods inherited from interface io.fabric8.kubernetes.client.dsl.CreateOrReplaceable
create, createOrReplace
-
Methods inherited from interface io.fabric8.kubernetes.client.dsl.DryRunable
dryRun
-
Methods inherited from interface io.fabric8.kubernetes.client.dsl.EditReplacePatchable
accept, edit, edit, edit, patch, patch, patch, patch, patch, patch
-
Methods inherited from interface io.fabric8.kubernetes.client.dsl.Filterable
withLabel, withoutLabel
-
Methods inherited from interface io.fabric8.kubernetes.client.dsl.Informable
inform, inform, inform, informOnCondition, runnableInformer
-
Methods inherited from interface io.fabric8.kubernetes.client.dsl.ItemReplacable
replace, replaceStatus
-
Methods inherited from interface io.fabric8.kubernetes.client.dsl.ItemWritableOperation
create, createOrReplace, delete, patchStatus, updateStatus
-
Methods inherited from interface io.fabric8.kubernetes.client.informers.impl.ListerWatcher
getConfig
-
Methods inherited from interface io.fabric8.kubernetes.client.dsl.MetadataGettable
getAsPartialObjectMetadata
-
Methods inherited from interface io.fabric8.kubernetes.client.dsl.NonDeletingOperation
createOr, editStatus, patchStatus, status
-
Methods inherited from interface io.fabric8.kubernetes.client.OperationInfo
getFullResourceName, getName, getNamespace
-
Methods inherited from interface io.fabric8.kubernetes.client.dsl.Replaceable
replaceStatus, updateStatus
-
Methods inherited from interface io.fabric8.kubernetes.client.dsl.Resource
cascading, isReady, item, require
-
Methods inherited from interface io.fabric8.kubernetes.client.dsl.ServerSideApplicable
serverSideApply
-
Methods inherited from interface io.fabric8.kubernetes.client.dsl.TableGettable
getAsTable
-
Methods inherited from interface io.fabric8.kubernetes.client.dsl.Waitable
waitUntilCondition, waitUntilReady
-
Methods inherited from interface io.fabric8.kubernetes.client.dsl.Watchable
streamingList, watch, watch, watch
-
-
-
-
Constructor Detail
-
JobOperationsImpl
public JobOperationsImpl(Client client)
-
JobOperationsImpl
public JobOperationsImpl(PodOperationContext context, OperationContext superContext)
-
-
Method Detail
-
newInstance
public JobOperationsImpl newInstance(OperationContext context)
- Overrides:
newInstancein classHasMetadataOperation<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>>
-
withTimeout
public JobOperationsImpl withTimeout(long timeout, TimeUnit unit)
- Specified by:
withTimeoutin interfaceCreateOrReplaceDeletable<io.fabric8.kubernetes.api.model.batch.v1.Job>- Specified by:
withTimeoutin interfaceDeletable- Specified by:
withTimeoutin interfaceExtensibleResource<io.fabric8.kubernetes.api.model.batch.v1.Job>- Specified by:
withTimeoutin interfaceScalableResource<io.fabric8.kubernetes.api.model.batch.v1.Job>- Specified by:
withTimeoutin interfaceTimeoutable- Specified by:
withTimeoutin interfaceTimeoutableScalable<io.fabric8.kubernetes.api.model.batch.v1.Job>- Overrides:
withTimeoutin classBaseOperation<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>>
-
withTimeoutInMillis
public JobOperationsImpl withTimeoutInMillis(long timeoutInMillis)
- Specified by:
withTimeoutInMillisin interfaceCreateOrReplaceDeletable<io.fabric8.kubernetes.api.model.batch.v1.Job>- Specified by:
withTimeoutInMillisin interfaceDeletable- Specified by:
withTimeoutInMillisin interfaceExtensibleResource<io.fabric8.kubernetes.api.model.batch.v1.Job>- Specified by:
withTimeoutInMillisin interfaceScalableResource<io.fabric8.kubernetes.api.model.batch.v1.Job>- Specified by:
withTimeoutInMillisin interfaceTimeoutable- Specified by:
withTimeoutInMillisin interfaceTimeoutableScalable<io.fabric8.kubernetes.api.model.batch.v1.Job>
-
scale
public io.fabric8.kubernetes.api.model.batch.v1.Job scale(int count)
- Specified by:
scalein interfaceExtensibleResource<io.fabric8.kubernetes.api.model.batch.v1.Job>- Specified by:
scalein interfaceScalable<io.fabric8.kubernetes.api.model.batch.v1.Job>- Specified by:
scalein interfaceTimeoutableScalable<io.fabric8.kubernetes.api.model.batch.v1.Job>- Overrides:
scalein classHasMetadataOperation<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>>
-
getLogReader
public Reader getLogReader()
Returns an unclosed Reader. It's the caller responsibility to close it.- Specified by:
getLogReaderin interfaceLoggable- Returns:
- Reader
-
getLogInputStream
public InputStream getLogInputStream()
Returns an unclosed InputStream. It's the caller responsibility to close it.- Specified by:
getLogInputStreamin interfaceLoggable- Returns:
- Reader
-
watchLog
public LogWatch watchLog(OutputStream out)
-
withLogWaitTimeout
public Loggable withLogWaitTimeout(Integer logWaitTimeout)
- Specified by:
withLogWaitTimeoutin interfaceLoggable
-
withReadyWaitTimeout
public Loggable withReadyWaitTimeout(Integer timeout)
- Specified by:
withReadyWaitTimeoutin interfaceLoggable
-
modifyItemForReplaceOrPatch
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)
Description copied from class:HasMetadataOperationModify the item prior to a replace or a JSON patch diff- Overrides:
modifyItemForReplaceOrPatchin classHasMetadataOperation<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>>- Parameters:
current- item from the serverjob- to be modified- Returns:
- the modified item
-
inContainer
public Loggable inContainer(String id)
- Specified by:
inContainerin interfaceContainerable<String,Loggable>
-
limitBytes
public TimeTailPrettyLoggable limitBytes(int limitBytes)
- Specified by:
limitBytesin interfaceBytesLimitTerminateTimeTailPrettyLoggable
-
terminated
public TimeTailPrettyLoggable terminated()
- Specified by:
terminatedin interfaceBytesLimitTerminateTimeTailPrettyLoggable
-
withPrettyOutput
public Loggable withPrettyOutput()
- Specified by:
withPrettyOutputin interfacePrettyLoggable
-
tailingLines
public PrettyLoggable tailingLines(int lines)
- Specified by:
tailingLinesin interfaceTailPrettyLoggable
-
sinceTime
public TailPrettyLoggable sinceTime(String timestamp)
- Specified by:
sinceTimein interfaceTimeTailPrettyLoggable
-
sinceSeconds
public TailPrettyLoggable sinceSeconds(int seconds)
- Specified by:
sinceSecondsin interfaceTimeTailPrettyLoggable
-
usingTimestamps
public BytesLimitTerminateTimeTailPrettyLoggable usingTimestamps()
- Specified by:
usingTimestampsin interfaceTimestampBytesLimitTerminateTimeTailPrettyLoggable
-
-