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>
apiVersion, doneableType, listType, reaper, 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 |
scale(int count) |
io.fabric8.kubernetes.api.model.batch.Job |
scale(int count,
boolean wait) |
LogWatch |
watchLog() |
LogWatch |
watchLog(OutputStream out) |
edit, patch, periodicWatchUntilReady, replace, waitUntilReady
cascading, create, createNew, createOrReplace, createOrReplaceWithNew, delete, delete, delete, 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, handleGet, handlePatch, handleReplace, handleResponse, inAnyNamespace, inNamespace, isApiGroup, isCascading, isReady, isReaping, isReloadingFromServer, isResourceNamespaced, list, list, load, load, load, lockResourceVersion, require, setListType, setNamespace, setReaping, setType, updateApiVersion, updateApiVersion, updateApiVersionResource, waitUntilCondition, waitUntilExists, watch, 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, handleGet, handleGet, handlePatch, handleReplace, handleReplace, handleResponse, handleResponse, handleResponse, handleResponse, requestException, requestFailure, unmarshal, unmarshal, unmarshal
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
createOrReplace, createOrReplaceWithNew
create, createNew
replace
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.batch.Job scale(int count, boolean wait)
public Reader getLogReader()
getLogReader
in interface Loggable<String,LogWatch>
Copyright © 2015–2019 Red Hat. All rights reserved.