public class BuildOperationsImpl extends OpenShiftOperation<io.fabric8.openshift.api.model.Build,io.fabric8.openshift.api.model.BuildList,BuildResource<io.fabric8.openshift.api.model.Build,LogWatch>> implements BuildResource<io.fabric8.openshift.api.model.Build,LogWatch>
| Modifier and Type | Field and Description |
|---|---|
static String |
OPENSHIFT_IO_BUILD_NAME |
OPENSHIFT_APIGROUP_SUFFIXDEFAULT_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_MILLIS| Constructor and Description |
|---|
BuildOperationsImpl(BuildOperationContext context) |
BuildOperationsImpl(okhttp3.OkHttpClient client,
OpenShiftConfig config) |
| Modifier and Type | Method and Description |
|---|---|
protected okhttp3.ResponseBody |
doGetLog() |
io.fabric8.openshift.api.model.Build |
edit(io.fabric8.kubernetes.api.builder.Visitor... visitors) |
String |
getLog() |
String |
getLog(Boolean isPretty) |
protected String |
getLogParameters() |
Reader |
getLogReader()
Returns an unclosed Reader.
|
BytesLimitTerminateTimeTailPrettyLoggable<LogWatch> |
limitBytes(int limitBytes) |
BuildOperationsImpl |
newInstance(OperationContext context) |
TailPrettyLoggable<LogWatch> |
sinceSeconds(int sinceSeconds) |
TailPrettyLoggable<LogWatch> |
sinceTime(String sinceTimestamp) |
PrettyLoggable<LogWatch> |
tailingLines(int tailingLines) |
TimeTailPrettyLoggable<LogWatch> |
terminated() |
BytesLimitTerminateTimeTailPrettyLoggable<LogWatch> |
usingTimestamps() |
LogWatch |
watchLog() |
LogWatch |
watchLog(OutputStream out) |
Loggable<LogWatch> |
withLogWaitTimeout(Integer logWaitTimeout) |
Loggable<LogWatch> |
withPrettyOutput() |
getConfig, getConfigType, getReadiness, getRootUrlaccept, edit, patch, replacecascading, create, create, createOrReplace, delete, delete, delete, edit, fetchListUrl, forOperationType, fromServer, get, getApiVersion, 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, 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, getName, getNamespace, getNamespacedUrl, getNamespacedUrl, getNamespacedUrl, getObjectValueAsMap, getResourceUrl, getResourceUrl, 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, createfromServerreplaceupdateStatuswithGracePeriodwithPropagationPolicylockResourceVersionwaitUntilCondition, waitUntilReady, withWaitRetryBackoffwithResourceVersionrequiregetName, getNamespacepublic static final String OPENSHIFT_IO_BUILD_NAME
public 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,BuildResource<io.fabric8.openshift.api.model.Build,LogWatch>>protected String getLogParameters()
protected okhttp3.ResponseBody doGetLog()
public Reader getLogReader()
getLogReader in interface Loggable<LogWatch>public LogWatch watchLog(OutputStream out)
public Loggable<LogWatch> withLogWaitTimeout(Integer logWaitTimeout)
withLogWaitTimeout in interface Loggable<LogWatch>public Loggable<LogWatch> withPrettyOutput()
withPrettyOutput in interface Prettyable<Loggable<LogWatch>>public PrettyLoggable<LogWatch> tailingLines(int tailingLines)
tailingLines in interface Tailable<PrettyLoggable<LogWatch>>public TimeTailPrettyLoggable<LogWatch> terminated()
terminated in interface Terminateable<TimeTailPrettyLoggable<LogWatch>>public TailPrettyLoggable<LogWatch> sinceTime(String sinceTimestamp)
sinceTime in interface Timeable<TailPrettyLoggable<LogWatch>>public TailPrettyLoggable<LogWatch> sinceSeconds(int sinceSeconds)
sinceSeconds in interface Timeable<TailPrettyLoggable<LogWatch>>public BytesLimitTerminateTimeTailPrettyLoggable<LogWatch> limitBytes(int limitBytes)
limitBytes in interface BytesLimitable<TimeTailPrettyLoggable<LogWatch>>public BytesLimitTerminateTimeTailPrettyLoggable<LogWatch> usingTimestamps()
usingTimestamps in interface Timestampable<BytesLimitTerminateTimeTailPrettyLoggable<LogWatch>>public io.fabric8.openshift.api.model.Build edit(io.fabric8.kubernetes.api.builder.Visitor... visitors)
edit in interface Editable<io.fabric8.openshift.api.model.Build>edit in class BaseOperation<io.fabric8.openshift.api.model.Build,io.fabric8.openshift.api.model.BuildList,BuildResource<io.fabric8.openshift.api.model.Build,LogWatch>>Copyright © 2015–2021 Red Hat. All rights reserved.