Class BuildOperationsImpl
- java.lang.Object
-
- io.fabric8.kubernetes.client.dsl.internal.OperationSupport
-
- io.fabric8.kubernetes.client.dsl.internal.CreateOnlyResourceOperation<T,T>
-
- io.fabric8.kubernetes.client.dsl.internal.BaseOperation<T,L,R>
-
- io.fabric8.kubernetes.client.dsl.internal.HasMetadataOperation<io.fabric8.openshift.api.model.Build,io.fabric8.openshift.api.model.BuildList,BuildResource>
-
- io.fabric8.openshift.client.dsl.internal.build.BuildOperationsImpl
-
- All Implemented Interfaces:
AnyNamespaceable<AnyNamespaceOperation<io.fabric8.openshift.api.model.Build,io.fabric8.openshift.api.model.BuildList,BuildResource>>,AnyNamespaceOperation<io.fabric8.openshift.api.model.Build,io.fabric8.openshift.api.model.BuildList,BuildResource>,BytesLimitTerminateTimeTailPrettyLoggable,CreateOrReplaceable<io.fabric8.openshift.api.model.Build>,CreateOrReplaceDeletable<io.fabric8.openshift.api.model.Build>,Deletable,DeletableWithOptions,DryRunable<WritableOperation<io.fabric8.openshift.api.model.Build>>,EditReplacePatchable<io.fabric8.openshift.api.model.Build>,FieldValidateable<NonDeletingOperation<io.fabric8.openshift.api.model.Build>>,Filterable<FilterWatchListDeletable<io.fabric8.openshift.api.model.Build,io.fabric8.openshift.api.model.BuildList,BuildResource>>,FilterWatchListDeletable<io.fabric8.openshift.api.model.Build,io.fabric8.openshift.api.model.BuildList,BuildResource>,Gettable<io.fabric8.openshift.api.model.Build>,Informable<io.fabric8.openshift.api.model.Build>,InOutCreateable<io.fabric8.openshift.api.model.Build,io.fabric8.openshift.api.model.Build>,ItemReplacable<io.fabric8.openshift.api.model.Build>,ItemWritableOperation<io.fabric8.openshift.api.model.Build>,Listable<io.fabric8.openshift.api.model.BuildList>,Loggable,MetadataGettable,MetadataListable,MixedOperation<io.fabric8.openshift.api.model.Build,io.fabric8.openshift.api.model.BuildList,BuildResource>,Nameable<BuildResource>,Namespaceable<NonNamespaceOperation<io.fabric8.openshift.api.model.Build,io.fabric8.openshift.api.model.BuildList,BuildResource>>,NonDeletingOperation<io.fabric8.openshift.api.model.Build>,NonNamespaceOperation<io.fabric8.openshift.api.model.Build,io.fabric8.openshift.api.model.BuildList,BuildResource>,PrettyLoggable,Replaceable<io.fabric8.openshift.api.model.Build>,ReplaceDeletable<io.fabric8.openshift.api.model.Build>,Resource<io.fabric8.openshift.api.model.Build>,Scalable<io.fabric8.openshift.api.model.Build>,ServerSideApplicable<io.fabric8.openshift.api.model.Build>,TableGettable,TableListable,TailPrettyLoggable,Timeoutable,TimeoutableScalable<io.fabric8.openshift.api.model.Build>,TimestampBytesLimitTerminateTimeTailPrettyLoggable,TimeTailPrettyLoggable,Updatable<io.fabric8.openshift.api.model.Build>,Waitable<io.fabric8.openshift.api.model.Build,io.fabric8.openshift.api.model.Build>,Watchable<io.fabric8.openshift.api.model.Build>,WatchAndWaitable<io.fabric8.openshift.api.model.Build>,WritableOperation<io.fabric8.openshift.api.model.Build>,ExtensibleResource<io.fabric8.openshift.api.model.Build>,FromServerGettable<io.fabric8.openshift.api.model.Build>,GracePeriodConfigurable<PropagationPolicyConfigurable<? extends Deletable>>,ListerWatcher<io.fabric8.openshift.api.model.Build,io.fabric8.openshift.api.model.BuildList>,OperationInfo,PropagationPolicyConfigurable<GracePeriodConfigurable<? extends Deletable>>,BuildResource
public class BuildOperationsImpl extends HasMetadataOperation<io.fabric8.openshift.api.model.Build,io.fabric8.openshift.api.model.BuildList,BuildResource> implements BuildResource
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface io.fabric8.kubernetes.client.dsl.FieldValidateable
FieldValidateable.Validation
-
-
Field Summary
Fields Modifier and Type Field Description static StringOPENSHIFT_IO_BUILD_NAME-
Fields inherited from class io.fabric8.kubernetes.client.dsl.internal.HasMetadataOperation
DEFAULT_GRACE_PERIOD_IN_SECONDS, DEFAULT_PROPAGATION_POLICY
-
Fields inherited from class io.fabric8.kubernetes.client.dsl.internal.BaseOperation
apiVersion, listType
-
Fields inherited from class io.fabric8.kubernetes.client.dsl.internal.CreateOnlyResourceOperation
type
-
Fields inherited from class io.fabric8.kubernetes.client.dsl.internal.OperationSupport
apiGroupName, apiGroupVersion, config, context, dryRun, httpClient, JSON, JSON_MERGE_PATCH, JSON_PATCH, name, namespace, resourceT, STRATEGIC_MERGE_JSON_PATCH, subresource
-
-
Constructor Summary
Constructors Constructor Description BuildOperationsImpl(Client client)BuildOperationsImpl(PodOperationContext context, OperationContext superContext, Integer version)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected <T> TdoGetLog(Class<T> type)StringgetLog()StringgetLog(boolean isPretty)InputStreamgetLogInputStream()Returns an unclosed InputStream.protected StringgetLogParameters()ReadergetLogReader()Returns an unclosed Reader.BytesLimitTerminateTimeTailPrettyLoggablelimitBytes(int limitBytes)BuildOperationsImplnewInstance(OperationContext context)TailPrettyLoggablesinceSeconds(int sinceSeconds)TailPrettyLoggablesinceTime(String sinceTimestamp)PrettyLoggabletailingLines(int tailingLines)TimeTailPrettyLoggableterminated()BytesLimitTerminateTimeTailPrettyLoggableusingTimestamps()LogWatchwatchLog()LogWatchwatchLog(OutputStream out)LoggablewithLogWaitTimeout(Integer logWaitTimeout)LoggablewithPrettyOutput()LoggablewithReadyWaitTimeout(Integer timeout)TimestampBytesLimitTerminateTimeTailPrettyLoggablewithVersion(Integer version)-
Methods inherited from class io.fabric8.kubernetes.client.dsl.internal.HasMetadataOperation
accept, edit, edit, editStatus, handleReplace, modifyItemForReplaceOrPatch, patch, patch, patch, patch, patch, patchStatus, patchStatus, replace, replaceStatus, scale, scale, scale, update, update, updateStatus, waitUntilScaled
-
Methods inherited from class io.fabric8.kubernetes.client.dsl.internal.BaseOperation
appendListOptionParams, create, createOr, createOrReplace, createOrReplace, delete, delete, delete, deleteAll, dryRun, dryRun, edit, fetchListUrl, fieldManager, fieldValidation, forceConflicts, forOperationType, fromServer, get, getApiEndpointPath, getAsPartialObjectMetadata, getAsTable, getConfigType, getFieldQueryParam, getGracePeriodSeconds, getGroup, getItem, getItemOrRequireFromServer, getKind, getLimit, getListType, getNonNullItem, getOperationType, getPlural, getPropagationPolicy, getReadiness, getResourceVersion, getVersion, getWatchReconnectInterval, handleCreate, handleDeploymentRollback, handleGet, handlePatch, handleResponse, handleScale, handleUpdate, inAnyNamespace, inform, informOnCondition, inNamespace, inWriteContext, isReady, isResourceNamespaced, item, list, list, list, listAsPartialObjectMetadata, listAsPartialObjectMetadata, listAsTable, listAsTable, load, load, load, load, lockResourceVersion, lockResourceVersion, newResource, replace, replaceStatus, require, requireFromServer, resource, resources, runnableInformer, serverSideApply, setListType, setType, submitList, submitWatch, subresource, unlock, updateApiVersion, updateListItems, updateStatus, waitUntilCondition, waitUntilReady, watch, watch, watch, withField, withFields, withGracePeriod, withIndexers, withInvolvedObject, withLabel, withLabelIn, withLabelNotIn, withLabels, withLabelSelector, withLabelSelector, withLimit, withName, withNewFilter, withoutField, withoutFields, withoutLabel, withoutLabels, withPropagationPolicy, withResourceVersion, withTimeout
-
Methods inherited from class io.fabric8.kubernetes.client.dsl.internal.CreateOnlyResourceOperation
create, getType
-
Methods inherited from class io.fabric8.kubernetes.client.dsl.internal.OperationSupport
addNamespacedUrlPathParts, assertResponseCode, checkName, checkNamespace, correctNamespace, createStatus, createStatus, getAPIGroupName, getAPIGroupVersion, getConfig, getKubernetesSerialization, getName, getNamespace, getNamespacedUrl, getNamespacedUrl, getNamespacedUrl, getOperationContext, getRequestConfig, getResourceT, getResourceUrl, getResourceUrl, getResourceUrl, getResourceURLForPatchOperation, getResourceURLForWriteOperation, getRootUrlParts, handleCreate, handleDelete, handleDeploymentRollback, handleGet, handleMetric, handlePatch, handlePatch, handleRaw, handleRawGet, handleResponse, handleResponse, handleScale, handleUpdate, requestException, requestException, requestFailure, requestFailure, restCall, waitForResult
-
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.AnyNamespaceOperation
delete
-
Methods inherited from interface io.fabric8.kubernetes.client.dsl.CreateOrReplaceable
create, createOrReplace
-
Methods inherited from interface io.fabric8.kubernetes.client.dsl.DryRunable
dryRun
-
Methods inherited from interface io.fabric8.kubernetes.client.dsl.EditReplacePatchable
accept, edit, edit, edit, patch, patch, patch, patch, patch, patch
-
Methods inherited from interface io.fabric8.kubernetes.client.extension.ExtensibleResource
withTimeoutInMillis
-
Methods inherited from interface io.fabric8.kubernetes.client.dsl.Filterable
withLabel, withoutLabel
-
Methods inherited from interface io.fabric8.kubernetes.client.dsl.Informable
inform, inform, inform, informOnCondition, runnableInformer
-
Methods inherited from interface io.fabric8.kubernetes.client.dsl.ItemReplacable
replace, replaceStatus
-
Methods inherited from interface io.fabric8.kubernetes.client.dsl.ItemWritableOperation
create, createOrReplace, delete, patchStatus, updateStatus
-
Methods inherited from interface io.fabric8.kubernetes.client.informers.impl.ListerWatcher
getConfig
-
Methods inherited from interface io.fabric8.kubernetes.client.dsl.MetadataGettable
getAsPartialObjectMetadata
-
Methods inherited from interface io.fabric8.kubernetes.client.dsl.NonDeletingOperation
createOr, editStatus, patchStatus, status
-
Methods inherited from interface io.fabric8.kubernetes.client.OperationInfo
getFullResourceName, getName, getNamespace
-
Methods inherited from interface io.fabric8.kubernetes.client.dsl.Replaceable
replaceStatus, updateStatus
-
Methods inherited from interface io.fabric8.kubernetes.client.dsl.Resource
cascading, isReady, item, require
-
Methods inherited from interface io.fabric8.kubernetes.client.dsl.ServerSideApplicable
serverSideApply
-
Methods inherited from interface io.fabric8.kubernetes.client.dsl.TableGettable
getAsTable
-
Methods inherited from interface io.fabric8.kubernetes.client.dsl.Waitable
waitUntilCondition, waitUntilReady
-
Methods inherited from interface io.fabric8.kubernetes.client.dsl.Watchable
streamingList, watch, watch, watch
-
-
-
-
Field Detail
-
OPENSHIFT_IO_BUILD_NAME
public static final String OPENSHIFT_IO_BUILD_NAME
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
BuildOperationsImpl
public BuildOperationsImpl(Client client)
-
BuildOperationsImpl
public BuildOperationsImpl(PodOperationContext context, OperationContext superContext, Integer version)
-
-
Method Detail
-
newInstance
public BuildOperationsImpl newInstance(OperationContext context)
- Overrides:
newInstancein classHasMetadataOperation<io.fabric8.openshift.api.model.Build,io.fabric8.openshift.api.model.BuildList,BuildResource>
-
getLogParameters
protected String getLogParameters()
-
doGetLog
protected <T> T doGetLog(Class<T> type)
-
getLogReader
public Reader getLogReader()
Returns an unclosed Reader. It's the caller responsibility to close it.- Specified by:
getLogReaderin interfaceLoggable- Returns:
- Reader
-
getLogInputStream
public InputStream getLogInputStream()
Returns an unclosed InputStream. It's the caller responsibility to close it.- Specified by:
getLogInputStreamin interfaceLoggable- Returns:
- InputStream
-
watchLog
public LogWatch watchLog(OutputStream out)
-
withLogWaitTimeout
public Loggable withLogWaitTimeout(Integer logWaitTimeout)
- Specified by:
withLogWaitTimeoutin interfaceLoggable
-
withReadyWaitTimeout
public Loggable withReadyWaitTimeout(Integer timeout)
- Specified by:
withReadyWaitTimeoutin interfaceLoggable
-
withPrettyOutput
public Loggable withPrettyOutput()
- Specified by:
withPrettyOutputin interfacePrettyLoggable
-
tailingLines
public PrettyLoggable tailingLines(int tailingLines)
- Specified by:
tailingLinesin interfaceTailPrettyLoggable
-
terminated
public TimeTailPrettyLoggable terminated()
- Specified by:
terminatedin interfaceBytesLimitTerminateTimeTailPrettyLoggable
-
sinceTime
public TailPrettyLoggable sinceTime(String sinceTimestamp)
- Specified by:
sinceTimein interfaceTimeTailPrettyLoggable
-
sinceSeconds
public TailPrettyLoggable sinceSeconds(int sinceSeconds)
- Specified by:
sinceSecondsin interfaceTimeTailPrettyLoggable
-
limitBytes
public BytesLimitTerminateTimeTailPrettyLoggable limitBytes(int limitBytes)
- Specified by:
limitBytesin interfaceBytesLimitTerminateTimeTailPrettyLoggable
-
withVersion
public TimestampBytesLimitTerminateTimeTailPrettyLoggable withVersion(Integer version)
- Specified by:
withVersionin interfaceBuildResource
-
usingTimestamps
public BytesLimitTerminateTimeTailPrettyLoggable usingTimestamps()
- Specified by:
usingTimestampsin interfaceTimestampBytesLimitTerminateTimeTailPrettyLoggable
-
-