public class BuildOperationsImpl extends OpenShiftOperation<io.fabric8.openshift.api.model.Build,io.fabric8.openshift.api.model.BuildList,io.fabric8.openshift.api.model.DoneableBuild,BuildResource<io.fabric8.openshift.api.model.Build,io.fabric8.openshift.api.model.DoneableBuild,String,LogWatch>> implements BuildResource<io.fabric8.openshift.api.model.Build,io.fabric8.openshift.api.model.DoneableBuild,String,LogWatch>
DEFAULT_PROPAGATION_POLICYapiVersion, doneableType, listType, typeapiGroupName, apiGroupVersion, client, config, context, JSON, JSON_MAPPER, JSON_PATCH, name, namespace, resourceT, YAML_MAPPERDEFAULT_BACKOFF_MULTIPLIER, DEFAULT_INITIAL_BACKOFF_MILLIS| Constructor and Description |
|---|
BuildOperationsImpl(BuildOperationContext context) |
BuildOperationsImpl(okhttp3.OkHttpClient client,
OpenShiftConfig config) |
| Modifier and Type | Method and Description |
|---|---|
protected okhttp3.ResponseBody |
doGetLog() |
String |
getLog() |
String |
getLog(Boolean isPretty) |
protected String |
getLogParameters() |
Reader |
getLogReader()
Returns an unclosed Reader.
|
BytesLimitTerminateTimeTailPrettyLoggable<String,LogWatch> |
limitBytes(int limitBytes) |
BuildOperationsImpl |
newInstance(OperationContext context) |
TailPrettyLoggable<String,LogWatch> |
sinceSeconds(int sinceSeconds) |
TailPrettyLoggable<String,LogWatch> |
sinceTime(String sinceTimestamp) |
PrettyLoggable<String,LogWatch> |
tailingLines(int tailingLines) |
TimeTailPrettyLoggable<String,LogWatch> |
terminated() |
BytesLimitTerminateTimeTailPrettyLoggable<String,LogWatch> |
usingTimestamps() |
LogWatch |
watchLog() |
LogWatch |
watchLog(OutputStream out) |
Loggable<String,LogWatch> |
withPrettyOutput() |
getConfig, getConfigType, getRootUrledit, patch, replacecascading, create, create, createNew, createOrReplace, createOrReplaceWithNew, delete, delete, delete, fetchListUrl, forOperationType, fromServer, get, getApiVersion, 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, load, lockResourceVersion, require, setListType, setNamespace, setType, updateApiVersion, updateApiVersion, updateApiVersionResource, updateStatus, waitUntilCondition, waitUntilReady, watch, watch, watch, withField, withFields, withGracePeriod, withItem, withLabel, withLabel, withLabelIn, withLabelNotIn, withLabels, withLabelSelector, withName, withoutField, withoutFields, withoutLabel, withoutLabel, withoutLabels, withPropagationPolicy, withResourceVersion, withWaitRetryBackoffassertResponseCode, checkName, checkNamespace, createStatus, createStatus, getAPIGroup, getAPIVersion, getName, getNamespace, getNamespacedUrl, getNamespacedUrl, getNamespacedUrl, getResourceUrl, getResourceUrl, handleCreate, handleDelete, handleDelete, handleDeploymentRollback, handleGet, handleGet, handleMetric, handlePatch, handleReplace, handleReplace, handleResponse, handleResponse, handleResponse, handleResponse, handleScale, handleStatusUpdate, requestException, requestFailure, unmarshal, unmarshal, unmarshalclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreateOrReplace, createOrReplaceWithNewcreate, create, createNewfromServerreplaceupdateStatuswithGracePeriodwithPropagationPolicylockResourceVersionwithResourceVersionwaitUntilCondition, waitUntilReady, withWaitRetryBackoffrequiregetName, getNamespacepublic BuildOperationsImpl(okhttp3.OkHttpClient client,
OpenShiftConfig config)
public BuildOperationsImpl(BuildOperationContext context)
public BuildOperationsImpl newInstance(OperationContext context)
newInstance in class BaseOperation<io.fabric8.openshift.api.model.Build,io.fabric8.openshift.api.model.BuildList,io.fabric8.openshift.api.model.DoneableBuild,BuildResource<io.fabric8.openshift.api.model.Build,io.fabric8.openshift.api.model.DoneableBuild,String,LogWatch>>protected String getLogParameters()
protected okhttp3.ResponseBody doGetLog()
public Reader getLogReader()
getLogReader in interface Loggable<String,LogWatch>public LogWatch watchLog(OutputStream out)
public Loggable<String,LogWatch> withPrettyOutput()
withPrettyOutput in interface Prettyable<Loggable<String,LogWatch>>public PrettyLoggable<String,LogWatch> tailingLines(int tailingLines)
tailingLines in interface Tailable<PrettyLoggable<String,LogWatch>>public TimeTailPrettyLoggable<String,LogWatch> terminated()
terminated in interface Terminateable<TimeTailPrettyLoggable<String,LogWatch>>public TailPrettyLoggable<String,LogWatch> sinceTime(String sinceTimestamp)
sinceTime in interface Timeable<TailPrettyLoggable<String,LogWatch>>public TailPrettyLoggable<String,LogWatch> sinceSeconds(int sinceSeconds)
sinceSeconds in interface Timeable<TailPrettyLoggable<String,LogWatch>>public BytesLimitTerminateTimeTailPrettyLoggable<String,LogWatch> limitBytes(int limitBytes)
limitBytes in interface BytesLimitable<TimeTailPrettyLoggable<String,LogWatch>>public BytesLimitTerminateTimeTailPrettyLoggable<String,LogWatch> usingTimestamps()
usingTimestamps in interface Timestampable<BytesLimitTerminateTimeTailPrettyLoggable<String,LogWatch>>Copyright © 2015–2020 Red Hat. All rights reserved.