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>
apiVersion, reaperapiGroupName, apiGroupVersion, client, config, JSON, JSON_MAPPER, JSON_PATCH, name, namespace, resourceT, YAML_MAPPER| Constructor and Description |
|---|
BuildOperationsImpl(okhttp3.OkHttpClient client,
OpenShiftConfig config,
String namespace) |
BuildOperationsImpl(okhttp3.OkHttpClient client,
OpenShiftConfig config,
String apiGroup,
String apiVersion,
String namespace,
String name,
Boolean cascading,
io.fabric8.openshift.api.model.Build item,
String resourceVersion,
Boolean reloadingFromServer,
long gracePeriodSeconds,
Map<String,String> labels,
Map<String,String> labelsNot,
Map<String,String[]> labelsIn,
Map<String,String[]> labelsNotIn,
Map<String,String> fields) |
BuildOperationsImpl(okhttp3.OkHttpClient client,
OpenShiftConfig config,
String apiGroup,
String apiVersion,
String namespace,
String name,
Boolean cascading,
io.fabric8.openshift.api.model.Build item,
String resourceVersion,
Boolean reloadingFromServer,
long gracePeriodSeconds,
Map<String,String> labels,
Map<String,String> labelsNot,
Map<String,String[]> labelsIn,
Map<String,String[]> labelsNotIn,
Map<String,String> fields,
InputStream in,
OutputStream out,
OutputStream err,
PipedOutputStream inPipe,
PipedInputStream outPipe,
PipedInputStream errPipe,
boolean withTTY,
boolean withTerminatedStatus,
boolean withTimestamps,
String sinceTimestamp,
Integer sinceSeconds,
Integer withTailingLines,
boolean withPrettyOutput,
String version,
Integer limitBytes) |
| 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) |
TailPrettyLoggable<String,LogWatch> |
sinceSeconds(int sinceSeconds) |
TailPrettyLoggable<String,LogWatch> |
sinceTime(String sinceTimestamp) |
PrettyLoggable<String,LogWatch> |
tailingLines(int withTailingLines) |
TimeTailPrettyLoggable<String,LogWatch> |
terminated() |
BytesLimitTerminateTimeTailPrettyLoggable<String,LogWatch> |
usingTimestamps() |
LogWatch |
watchLog() |
LogWatch |
watchLog(OutputStream out) |
Loggable<String,LogWatch> |
withPrettyOutput() |
getConfig, getConfigType, getRootUrl, withApiGroup, withApiGroupedit, patch, periodicWatchUntilReady, replace, waitUntilReadycascading, create, createItemOperation, createNew, createOrReplace, createOrReplaceWithNew, delete, delete, delete, forOperationType, fromServer, get, getApiVersion, getDoneableType, getFieldQueryParam, getFields, getGracePeriodSeconds, getItem, getKind, getLabelQueryParam, getLabels, getLabelsIn, getLabelsNot, getLabelsNotIn, getListType, getMandatory, getOperationType, getReloadingFromServer, getResourceT, getResourceVersion, getRootPaths, getType, handleCreate, handleGet, handlePatch, handleReplace, handleResponse, inAnyNamespace, inNamespace, isApiGroup, isCascading, isReady, isReaping, isReloadingFromServer, isResourceNamespaced, list, list, load, load, load, load, lockResourceVersion, setReaping, updateApiVersion, updateApiVersion, updateApiVersionResource, waitUntilCondition, waitUntilExists, watch, watch, withField, withFields, withGracePeriod, withLabel, withLabel, withLabelIn, withLabelNotIn, withLabels, withLabelSelector, withName, withoutLabel, withoutLabel, withoutLabels, withResourceVersionassertResponseCode, checkName, checkNamespace, createStatus, createStatus, getAPIGroup, getAPIVersion, getName, getNamespace, getNamespacedUrl, getNamespacedUrl, getNamespacedUrl, getResourceUrl, getResourceUrl, handleCreate, handleDelete, handleDelete, handleGet, handleGet, handlePatch, handleReplace, handleReplace, handleResponse, handleResponse, handleResponse, handleResponse, requestException, requestFailure, unmarshal, unmarshal, unmarshalclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreateOrReplace, createOrReplaceWithNewcreate, createNewfromServerreplacewithGracePeriodlockResourceVersionwithResourceVersionwaitUntilCondition, waitUntilReadygetName, getNamespacepublic BuildOperationsImpl(okhttp3.OkHttpClient client,
OpenShiftConfig config,
String namespace)
public BuildOperationsImpl(okhttp3.OkHttpClient client,
OpenShiftConfig config,
String apiGroup,
String apiVersion,
String namespace,
String name,
Boolean cascading,
io.fabric8.openshift.api.model.Build item,
String resourceVersion,
Boolean reloadingFromServer,
long gracePeriodSeconds,
Map<String,String> labels,
Map<String,String> labelsNot,
Map<String,String[]> labelsIn,
Map<String,String[]> labelsNotIn,
Map<String,String> fields)
public BuildOperationsImpl(okhttp3.OkHttpClient client,
OpenShiftConfig config,
String apiGroup,
String apiVersion,
String namespace,
String name,
Boolean cascading,
io.fabric8.openshift.api.model.Build item,
String resourceVersion,
Boolean reloadingFromServer,
long gracePeriodSeconds,
Map<String,String> labels,
Map<String,String> labelsNot,
Map<String,String[]> labelsIn,
Map<String,String[]> labelsNotIn,
Map<String,String> fields,
InputStream in,
OutputStream out,
OutputStream err,
PipedOutputStream inPipe,
PipedInputStream outPipe,
PipedInputStream errPipe,
boolean withTTY,
boolean withTerminatedStatus,
boolean withTimestamps,
String sinceTimestamp,
Integer sinceSeconds,
Integer withTailingLines,
boolean withPrettyOutput,
String version,
Integer limitBytes)
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 withTailingLines)
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–2019 Red Hat. All rights reserved.