public class JobOperationsImpl extends HasMetadataOperation<io.fabric8.kubernetes.api.model.batch.Job,io.fabric8.kubernetes.api.model.batch.JobList,ScalableResource<io.fabric8.kubernetes.api.model.batch.Job>> implements ScalableResource<io.fabric8.kubernetes.api.model.batch.Job>
DEFAULT_PROPAGATION_POLICYapiVersion, listType, typeapiGroupName, apiGroupVersion, client, config, context, JSON, JSON_MAPPER, JSON_PATCH, name, namespace, resourceT, STRATEGIC_MERGE_JSON_PATCH, YAML_MAPPERDEFAULT_BACKOFF_MULTIPLIER, DEFAULT_INITIAL_BACKOFF_MILLISPOLL_INTERVAL_MS| Constructor and Description |
|---|
JobOperationsImpl(okhttp3.OkHttpClient client,
Config config) |
JobOperationsImpl(okhttp3.OkHttpClient client,
Config config,
String namespace) |
JobOperationsImpl(OperationContext context) |
| Modifier and Type | Method and Description |
|---|---|
io.fabric8.kubernetes.api.model.batch.Job |
edit(io.fabric8.kubernetes.api.builder.Visitor... visitors) |
ScalableResource<io.fabric8.kubernetes.api.model.batch.Job> |
fromServer() |
String |
getLog()
Get logs of a resource
|
String |
getLog(Boolean isPretty)
Get logs with pretty enabled
|
Reader |
getLogReader()
Returns an unclosed Reader.
|
ScalableResource<io.fabric8.kubernetes.api.model.batch.Job> |
load(InputStream is)
Load from an
InputStream. |
JobOperationsImpl |
newInstance(OperationContext context) |
io.fabric8.kubernetes.api.model.batch.Job |
replace(io.fabric8.kubernetes.api.model.batch.Job job) |
io.fabric8.kubernetes.api.model.autoscaling.v1.Scale |
scale() |
io.fabric8.kubernetes.api.model.batch.Job |
scale(int count) |
io.fabric8.kubernetes.api.model.batch.Job |
scale(int count,
boolean wait) |
io.fabric8.kubernetes.api.model.autoscaling.v1.Scale |
scale(io.fabric8.kubernetes.api.model.autoscaling.v1.Scale scale) |
LogWatch |
watchLog()
Watch logs of a resource
|
LogWatch |
watchLog(OutputStream out)
Watch logs of resource and put them inside OutputStream inside
|
Loggable<LogWatch> |
withLogWaitTimeout(Integer logWaitTimeout)
While waiting for Pod logs, how long shall we wait until a Pod
becomes ready and starts producing logs
|
accept, edit, patchcascading, create, create, createOrReplace, delete, delete, delete, edit, fetchListUrl, forOperationType, get, getApiVersion, getConfigType, getFieldQueryParam, getFields, getFieldsNot, getGracePeriodSeconds, getItem, getKind, getLabelQueryParam, getLabels, getLabelsIn, getLabelsNot, getLabelsNotIn, getListType, getMandatory, getOperationType, getPropagationPolicy, getReloadingFromServer, getResourceT, getResourceVersion, getRootPaths, getType, handleCreate, handleDeploymentRollback, handleGet, handlePatch, handlePatch, handleReplace, handleResponse, handleScale, inAnyNamespace, inNamespace, isApiGroup, isCascading, isReady, isReloadingFromServer, isResourceNamespaced, list, list, list, load, load, load, lockResourceVersion, require, sendPatchedObject, setListType, setNamespace, setType, updateApiVersion, updateApiVersion, updateStatus, waitUntilCondition, waitUntilReady, watch, watch, watch, withField, withFields, withGracePeriod, withInvolvedObject, withItem, withLabel, withLabel, withLabelIn, withLabelNotIn, withLabels, withLabelSelector, withName, withoutField, withoutFields, withoutLabel, withoutLabel, withoutLabels, withPropagationPolicy, withResourceVersion, withWaitRetryBackoffassertResponseCode, checkName, checkNamespace, createStatus, createStatus, getAPIGroup, getAPIVersion, getConfig, getName, getNamespace, getNamespacedUrl, getNamespacedUrl, getNamespacedUrl, getObjectValueAsMap, getResourceUrl, getResourceUrl, getRootUrl, handleCreate, handleDelete, handleDelete, handleDeploymentRollback, handleGet, handleGet, handleMetric, handlePatch, handlePatch, handleReplace, handleReplace, handleResponse, handleResponse, handleResponse, handleResponse, handleScale, handleStatusUpdate, requestException, requestFailure, unmarshal, unmarshal, unmarshalclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreateOrReplacecreate, createupdateStatuswithGracePeriodwithPropagationPolicylockResourceVersionwaitUntilCondition, waitUntilReady, withWaitRetryBackoffwithResourceVersionrequiregetName, getNamespacepublic JobOperationsImpl(okhttp3.OkHttpClient client,
Config config)
public JobOperationsImpl(okhttp3.OkHttpClient client,
Config config,
String namespace)
public JobOperationsImpl(OperationContext context)
public JobOperationsImpl newInstance(OperationContext context)
newInstance in class BaseOperation<io.fabric8.kubernetes.api.model.batch.Job,io.fabric8.kubernetes.api.model.batch.JobList,ScalableResource<io.fabric8.kubernetes.api.model.batch.Job>>public ScalableResource<io.fabric8.kubernetes.api.model.batch.Job> load(InputStream is)
LoadableInputStream.load in interface Loadable<ScalableResource<io.fabric8.kubernetes.api.model.batch.Job>>load in class BaseOperation<io.fabric8.kubernetes.api.model.batch.Job,io.fabric8.kubernetes.api.model.batch.JobList,ScalableResource<io.fabric8.kubernetes.api.model.batch.Job>>is - The input stream.public ScalableResource<io.fabric8.kubernetes.api.model.batch.Job> fromServer()
fromServer in interface FromServerable<Gettable<io.fabric8.kubernetes.api.model.batch.Job>>fromServer in class BaseOperation<io.fabric8.kubernetes.api.model.batch.Job,io.fabric8.kubernetes.api.model.batch.JobList,ScalableResource<io.fabric8.kubernetes.api.model.batch.Job>>public io.fabric8.kubernetes.api.model.batch.Job scale(int count)
public io.fabric8.kubernetes.api.model.autoscaling.v1.Scale scale()
public io.fabric8.kubernetes.api.model.autoscaling.v1.Scale scale(io.fabric8.kubernetes.api.model.autoscaling.v1.Scale scale)
public io.fabric8.kubernetes.api.model.batch.Job scale(int count,
boolean wait)
public String getLog(Boolean isPretty)
Loggablepublic Reader getLogReader()
getLogReader in interface Loggable<LogWatch>public LogWatch watchLog()
Loggablepublic LogWatch watchLog(OutputStream out)
LoggablewatchLog in interface Loggable<LogWatch>out - OutputStream for storing logspublic Loggable<LogWatch> withLogWaitTimeout(Integer logWaitTimeout)
LoggablewithLogWaitTimeout in interface Loggable<LogWatch>logWaitTimeout - timeout in millisecondsLoggable for fetching logspublic io.fabric8.kubernetes.api.model.batch.Job replace(io.fabric8.kubernetes.api.model.batch.Job job)
replace in interface Replaceable<io.fabric8.kubernetes.api.model.batch.Job>replace in class HasMetadataOperation<io.fabric8.kubernetes.api.model.batch.Job,io.fabric8.kubernetes.api.model.batch.JobList,ScalableResource<io.fabric8.kubernetes.api.model.batch.Job>>public io.fabric8.kubernetes.api.model.batch.Job edit(io.fabric8.kubernetes.api.builder.Visitor... visitors)
edit in interface Editable<io.fabric8.kubernetes.api.model.batch.Job>edit in class BaseOperation<io.fabric8.kubernetes.api.model.batch.Job,io.fabric8.kubernetes.api.model.batch.JobList,ScalableResource<io.fabric8.kubernetes.api.model.batch.Job>>Copyright © 2015–2020 Red Hat. All rights reserved.