Class BuildOperationsImpl
- java.lang.Object
-
- io.fabric8.kubernetes.client.dsl.base.OperationSupport
-
- io.fabric8.kubernetes.client.dsl.base.BaseOperation<T,L,R>
-
- io.fabric8.kubernetes.client.dsl.base.HasMetadataOperation<T,L,R>
-
- io.fabric8.openshift.client.dsl.internal.OpenShiftOperation<io.fabric8.openshift.api.model.Build,io.fabric8.openshift.api.model.BuildList,BuildResource<io.fabric8.openshift.api.model.Build,LogWatch>>
-
- io.fabric8.openshift.client.dsl.internal.BuildOperationsImpl
-
- All Implemented Interfaces:
AnyNamespaceable<FilterWatchListMultiDeletable<io.fabric8.openshift.api.model.Build,io.fabric8.openshift.api.model.BuildList>>,BytesLimitable<TimeTailPrettyLoggable<LogWatch>>,BytesLimitTerminateTimeTailPrettyLoggable<LogWatch>,Cascading<EditReplacePatchDeletable<io.fabric8.openshift.api.model.Build>>,CascadingEditReplacePatchDeletable<io.fabric8.openshift.api.model.Build>,Createable<io.fabric8.openshift.api.model.Build>,CreateFromServerGettable<io.fabric8.openshift.api.model.Build>,CreateOrReplaceable<io.fabric8.openshift.api.model.Build>,Deletable,DryRunable<WritableOperation<io.fabric8.openshift.api.model.Build>>,Editable<io.fabric8.openshift.api.model.Build>,EditReplacePatchable<io.fabric8.openshift.api.model.Build>,EditReplacePatchDeletable<io.fabric8.openshift.api.model.Build>,Filterable<FilterWatchListDeletable<io.fabric8.openshift.api.model.Build,io.fabric8.openshift.api.model.BuildList>>,FilterWatchListDeletable<io.fabric8.openshift.api.model.Build,io.fabric8.openshift.api.model.BuildList>,FilterWatchListMultiDeletable<io.fabric8.openshift.api.model.Build,io.fabric8.openshift.api.model.BuildList>,FromServerable<Gettable<io.fabric8.openshift.api.model.Build>>,Gettable<io.fabric8.openshift.api.model.Build>,Listable<io.fabric8.openshift.api.model.BuildList>,Loadable<BuildResource<io.fabric8.openshift.api.model.Build,LogWatch>>,Lockable<Replaceable<io.fabric8.openshift.api.model.Build>>,Loggable<LogWatch>,MixedOperation<io.fabric8.openshift.api.model.Build,io.fabric8.openshift.api.model.BuildList,BuildResource<io.fabric8.openshift.api.model.Build,LogWatch>>,MultiDeleteable<io.fabric8.openshift.api.model.Build>,Nameable<BuildResource<io.fabric8.openshift.api.model.Build,LogWatch>>,Namespaceable<NonNamespaceOperation<io.fabric8.openshift.api.model.Build,io.fabric8.openshift.api.model.BuildList,BuildResource<io.fabric8.openshift.api.model.Build,LogWatch>>>,NonNamespaceOperation<io.fabric8.openshift.api.model.Build,io.fabric8.openshift.api.model.BuildList,BuildResource<io.fabric8.openshift.api.model.Build,LogWatch>>,Operation<io.fabric8.openshift.api.model.Build,io.fabric8.openshift.api.model.BuildList,BuildResource<io.fabric8.openshift.api.model.Build,LogWatch>>,Patchable<io.fabric8.openshift.api.model.Build>,Prettyable<Loggable<LogWatch>>,PrettyLoggable<LogWatch>,Readiable,Replaceable<io.fabric8.openshift.api.model.Build>,Requirable<io.fabric8.openshift.api.model.Build>,Resource<io.fabric8.openshift.api.model.Build>,StatusUpdatable<io.fabric8.openshift.api.model.Build>,Tailable<PrettyLoggable<LogWatch>>,TailPrettyLoggable<LogWatch>,Terminateable<TimeTailPrettyLoggable<LogWatch>>,TerminateTimeTailPrettyLoggable<LogWatch>,Timeable<TailPrettyLoggable<LogWatch>>,Timestampable<BytesLimitTerminateTimeTailPrettyLoggable<LogWatch>>,TimestampBytesLimitTerminateTimeTailPrettyLoggable<LogWatch>,TimeTailPrettyLoggable<LogWatch>,Versionable<WatchAndWaitable<io.fabric8.openshift.api.model.Build>>,VersionWatchAndWaitable<io.fabric8.openshift.api.model.Build>,Waitable<io.fabric8.openshift.api.model.Build,io.fabric8.openshift.api.model.Build>,Watchable<Watcher<io.fabric8.openshift.api.model.Build>>,WatchAndWaitable<io.fabric8.openshift.api.model.Build>,WatchListDeletable<io.fabric8.openshift.api.model.Build,io.fabric8.openshift.api.model.BuildList>,WritableOperation<io.fabric8.openshift.api.model.Build>,FromServerGettable<io.fabric8.openshift.api.model.Build>,GracePeriodConfigurable<Deletable>,OperationInfo,PropagationPolicyConfigurable<EditReplacePatchDeletable<io.fabric8.openshift.api.model.Build>>,BuildResource<io.fabric8.openshift.api.model.Build,LogWatch>
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>
-
-
Field Summary
Fields Modifier and Type Field Description static StringOPENSHIFT_IO_BUILD_NAME-
Fields inherited from class io.fabric8.openshift.client.dsl.internal.OpenShiftOperation
OPENSHIFT_APIGROUP_SUFFIX
-
Fields inherited from class io.fabric8.kubernetes.client.dsl.base.HasMetadataOperation
DEFAULT_GRACE_PERIOD_IN_SECONDS, DEFAULT_PROPAGATION_POLICY
-
Fields inherited from class io.fabric8.kubernetes.client.dsl.base.BaseOperation
apiVersion, listType, type
-
Fields inherited from class io.fabric8.kubernetes.client.dsl.base.OperationSupport
apiGroupName, apiGroupVersion, client, config, context, dryRun, JSON, JSON_MAPPER, JSON_PATCH, name, namespace, resourceT, STRATEGIC_MERGE_JSON_PATCH, YAML_MAPPER
-
Fields inherited from interface io.fabric8.kubernetes.client.dsl.Waitable
DEFAULT_BACKOFF_MULTIPLIER, DEFAULT_INITIAL_BACKOFF_MILLIS
-
-
Constructor Summary
Constructors Constructor Description BuildOperationsImpl(BuildOperationContext context)BuildOperationsImpl(okhttp3.OkHttpClient client, OpenShiftConfig config)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected okhttp3.ResponseBodydoGetLog()io.fabric8.openshift.api.model.Buildedit(io.fabric8.kubernetes.api.builder.Visitor... visitors)StringgetLog()StringgetLog(Boolean isPretty)protected StringgetLogParameters()ReadergetLogReader()Returns an unclosed Reader.BytesLimitTerminateTimeTailPrettyLoggable<LogWatch>limitBytes(int limitBytes)BuildOperationsImplnewInstance(OperationContext context)TailPrettyLoggable<LogWatch>sinceSeconds(int sinceSeconds)TailPrettyLoggable<LogWatch>sinceTime(String sinceTimestamp)PrettyLoggable<LogWatch>tailingLines(int tailingLines)TimeTailPrettyLoggable<LogWatch>terminated()BytesLimitTerminateTimeTailPrettyLoggable<LogWatch>usingTimestamps()LogWatchwatchLog()LogWatchwatchLog(OutputStream out)Loggable<LogWatch>withLogWaitTimeout(Integer logWaitTimeout)Loggable<LogWatch>withPrettyOutput()-
Methods inherited from class io.fabric8.openshift.client.dsl.internal.OpenShiftOperation
getConfig, getConfigType, getReadiness, getRootUrl
-
Methods inherited from class io.fabric8.kubernetes.client.dsl.base.HasMetadataOperation
accept, edit, patch, replace
-
Methods inherited from class io.fabric8.kubernetes.client.dsl.base.BaseOperation
cascading, create, create, createOrReplace, delete, delete, delete, dryRun, edit, fetchListUrl, forOperationType, fromServer, get, getApiVersion, getFieldQueryParam, getFields, getFieldsNot, getGracePeriodSeconds, getItem, getKind, getLabelQueryParam, getLabels, getLabelsIn, getLabelsNot, getLabelsNotIn, getListType, getMandatory, getOperationType, getPropagationPolicy, 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, withWaitRetryBackoff
-
Methods inherited from class io.fabric8.kubernetes.client.dsl.base.OperationSupport
assertResponseCode, checkName, checkNamespace, createStatus, createStatus, getAPIGroup, getAPIVersion, getName, getNamespace, getNamespacedUrl, getNamespacedUrl, getNamespacedUrl, getObjectValueAsMap, getResourceUrl, getResourceUrl, getResourceURLForWriteOperation, handleCreate, handleDelete, handleDelete, handleDeploymentRollback, handleGet, handleGet, handleMetric, handlePatch, handlePatch, handleReplace, handleReplace, handleResponse, handleResponse, handleResponse, handleResponse, handleScale, handleStatusUpdate, requestException, requestFailure, unmarshal, unmarshal, unmarshal
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface io.fabric8.kubernetes.client.dsl.Createable
create, create
-
Methods inherited from interface io.fabric8.kubernetes.client.dsl.CreateOrReplaceable
createOrReplace
-
Methods inherited from interface io.fabric8.kubernetes.client.dsl.DryRunable
dryRun, dryRun
-
Methods inherited from interface io.fabric8.kubernetes.client.dsl.FromServerable
fromServer
-
Methods inherited from interface io.fabric8.kubernetes.client.GracePeriodConfigurable
withGracePeriod
-
Methods inherited from interface io.fabric8.kubernetes.client.dsl.Lockable
lockResourceVersion
-
Methods inherited from interface io.fabric8.kubernetes.client.OperationInfo
getName, getNamespace
-
Methods inherited from interface io.fabric8.kubernetes.client.PropagationPolicyConfigurable
withPropagationPolicy
-
Methods inherited from interface io.fabric8.kubernetes.client.dsl.Replaceable
replace
-
Methods inherited from interface io.fabric8.kubernetes.client.dsl.Requirable
require
-
Methods inherited from interface io.fabric8.kubernetes.client.dsl.StatusUpdatable
updateStatus
-
Methods inherited from interface io.fabric8.kubernetes.client.dsl.Versionable
withResourceVersion
-
Methods inherited from interface io.fabric8.kubernetes.client.dsl.Waitable
waitUntilCondition, waitUntilReady, withWaitRetryBackoff
-
-
-
-
Field Detail
-
OPENSHIFT_IO_BUILD_NAME
public static final String OPENSHIFT_IO_BUILD_NAME
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
BuildOperationsImpl
public BuildOperationsImpl(okhttp3.OkHttpClient client, OpenShiftConfig config)
-
BuildOperationsImpl
public BuildOperationsImpl(BuildOperationContext context)
-
-
Method Detail
-
newInstance
public BuildOperationsImpl newInstance(OperationContext context)
- Overrides:
newInstancein classBaseOperation<io.fabric8.openshift.api.model.Build,io.fabric8.openshift.api.model.BuildList,BuildResource<io.fabric8.openshift.api.model.Build,LogWatch>>
-
getLogParameters
protected String getLogParameters()
-
doGetLog
protected okhttp3.ResponseBody doGetLog()
-
getLogReader
public Reader getLogReader()
Returns an unclosed Reader. It's the caller responsibility to close it.- Specified by:
getLogReaderin interfaceLoggable<LogWatch>- Returns:
- Reader
-
watchLog
public LogWatch watchLog(OutputStream out)
-
withLogWaitTimeout
public Loggable<LogWatch> withLogWaitTimeout(Integer logWaitTimeout)
- Specified by:
withLogWaitTimeoutin interfaceLoggable<LogWatch>
-
withPrettyOutput
public Loggable<LogWatch> withPrettyOutput()
- Specified by:
withPrettyOutputin interfacePrettyable<Loggable<LogWatch>>
-
tailingLines
public PrettyLoggable<LogWatch> tailingLines(int tailingLines)
- Specified by:
tailingLinesin interfaceTailable<PrettyLoggable<LogWatch>>
-
terminated
public TimeTailPrettyLoggable<LogWatch> terminated()
- Specified by:
terminatedin interfaceTerminateable<TimeTailPrettyLoggable<LogWatch>>
-
sinceTime
public TailPrettyLoggable<LogWatch> sinceTime(String sinceTimestamp)
- Specified by:
sinceTimein interfaceTimeable<TailPrettyLoggable<LogWatch>>
-
sinceSeconds
public TailPrettyLoggable<LogWatch> sinceSeconds(int sinceSeconds)
- Specified by:
sinceSecondsin interfaceTimeable<TailPrettyLoggable<LogWatch>>
-
limitBytes
public BytesLimitTerminateTimeTailPrettyLoggable<LogWatch> limitBytes(int limitBytes)
- Specified by:
limitBytesin interfaceBytesLimitable<TimeTailPrettyLoggable<LogWatch>>
-
usingTimestamps
public BytesLimitTerminateTimeTailPrettyLoggable<LogWatch> usingTimestamps()
- Specified by:
usingTimestampsin interfaceTimestampable<BytesLimitTerminateTimeTailPrettyLoggable<LogWatch>>
-
edit
public io.fabric8.openshift.api.model.Build edit(io.fabric8.kubernetes.api.builder.Visitor... visitors)
- Specified by:
editin interfaceEditable<io.fabric8.openshift.api.model.Build>- Overrides:
editin classBaseOperation<io.fabric8.openshift.api.model.Build,io.fabric8.openshift.api.model.BuildList,BuildResource<io.fabric8.openshift.api.model.Build,LogWatch>>
-
-