public class JobOperationsImpl extends HasMetadataOperation<io.fabric8.kubernetes.api.model.batch.Job,io.fabric8.kubernetes.api.model.batch.JobList,io.fabric8.kubernetes.api.model.batch.DoneableJob,ScalableResource<io.fabric8.kubernetes.api.model.batch.Job,io.fabric8.kubernetes.api.model.batch.DoneableJob>> implements ScalableResource<io.fabric8.kubernetes.api.model.batch.Job,io.fabric8.kubernetes.api.model.batch.DoneableJob>
DEFAULT_PROPAGATION_POLICY
apiVersion, doneableType, listType, type
apiGroupName, apiGroupVersion, client, config, context, JSON, JSON_MAPPER, JSON_PATCH, name, namespace, resourceT, YAML_MAPPER
POLL_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 |
---|---|
ScalableResource<io.fabric8.kubernetes.api.model.batch.Job,io.fabric8.kubernetes.api.model.batch.DoneableJob> |
fromServer() |
String |
getLog() |
String |
getLog(Boolean isPretty) |
Reader |
getLogReader()
Returns an unclosed Reader.
|
ScalableResource<io.fabric8.kubernetes.api.model.batch.Job,io.fabric8.kubernetes.api.model.batch.DoneableJob> |
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() |
LogWatch |
watchLog(OutputStream out) |
edit, patch, periodicWatchUntilReady, waitUntilReady
cascading, create, create, createNew, createOrReplace, createOrReplaceWithNew, delete, delete, delete, fetchListUrl, forOperationType, get, getApiVersion, getConfigType, getDoneableType, getFieldQueryParam, getFields, getFieldsNot, getGracePeriodSeconds, getItem, getKind, getLabelQueryParam, getLabels, getLabelsIn, getLabelsNot, getLabelsNotIn, getListType, getMandatory, getOperationType, getPropagationPolicy, getReloadingFromServer, getResourceT, getResourceVersion, getRootPaths, getType, handleCreate, handleDeploymentRollback, handleGet, handlePatch, handleReplace, handleResponse, handleScale, inAnyNamespace, inNamespace, isApiGroup, isCascading, isReady, isReloadingFromServer, isResourceNamespaced, list, list, list, load, load, load, lockResourceVersion, require, setListType, setNamespace, setType, updateApiVersion, updateApiVersion, updateApiVersionResource, updateStatus, waitUntilCondition, waitUntilExists, watch, watch, withField, withFields, withGracePeriod, withItem, withLabel, withLabel, withLabelIn, withLabelNotIn, withLabels, withLabelSelector, withName, withoutField, withoutFields, withoutLabel, withoutLabel, withoutLabels, withPropagationPolicy, withResourceVersion
assertResponseCode, checkName, checkNamespace, createStatus, createStatus, getAPIGroup, getAPIVersion, getConfig, getName, getNamespace, getNamespacedUrl, getNamespacedUrl, getNamespacedUrl, getResourceUrl, getResourceUrl, getRootUrl, handleCreate, handleDelete, handleDelete, handleDeploymentRollback, handleGet, handleGet, handleMetric, handlePatch, handleReplace, handleReplace, handleResponse, handleResponse, handleResponse, handleResponse, handleScale, handleStatusUpdate, requestException, requestFailure, unmarshal, unmarshal, unmarshal
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
createOrReplace, createOrReplaceWithNew
create, create, createNew
updateStatus
withGracePeriod
withPropagationPolicy
lockResourceVersion
withResourceVersion
waitUntilCondition, waitUntilReady
require
getName, getNamespace
public 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,io.fabric8.kubernetes.api.model.batch.DoneableJob,ScalableResource<io.fabric8.kubernetes.api.model.batch.Job,io.fabric8.kubernetes.api.model.batch.DoneableJob>>
public ScalableResource<io.fabric8.kubernetes.api.model.batch.Job,io.fabric8.kubernetes.api.model.batch.DoneableJob> load(InputStream is)
Loadable
InputStream
.load
in interface Loadable<ScalableResource<io.fabric8.kubernetes.api.model.batch.Job,io.fabric8.kubernetes.api.model.batch.DoneableJob>>
load
in class BaseOperation<io.fabric8.kubernetes.api.model.batch.Job,io.fabric8.kubernetes.api.model.batch.JobList,io.fabric8.kubernetes.api.model.batch.DoneableJob,ScalableResource<io.fabric8.kubernetes.api.model.batch.Job,io.fabric8.kubernetes.api.model.batch.DoneableJob>>
is
- The input stream.public ScalableResource<io.fabric8.kubernetes.api.model.batch.Job,io.fabric8.kubernetes.api.model.batch.DoneableJob> 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,io.fabric8.kubernetes.api.model.batch.DoneableJob,ScalableResource<io.fabric8.kubernetes.api.model.batch.Job,io.fabric8.kubernetes.api.model.batch.DoneableJob>>
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 Reader getLogReader()
getLogReader
in interface Loggable<String,LogWatch>
public LogWatch watchLog(OutputStream out)
public 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,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,io.fabric8.kubernetes.api.model.batch.DoneableJob,ScalableResource<io.fabric8.kubernetes.api.model.batch.Job,io.fabric8.kubernetes.api.model.batch.DoneableJob>>
Copyright © 2015–2020 Red Hat. All rights reserved.