Package io.fabric8.openshift.api.model
Class DeploymentLogOptions
- java.lang.Object
-
- io.fabric8.openshift.api.model.DeploymentLogOptions
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<DeploymentLogOptionsBuilder>,io.fabric8.kubernetes.api.model.KubernetesResource,io.fabric8.kubernetes.api.model.Namespaced,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class DeploymentLogOptions extends Object implements io.fabric8.kubernetes.api.builder.Editable<DeploymentLogOptionsBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource, io.fabric8.kubernetes.api.model.Namespaced
DeploymentLogOptions is the REST options for a deployment logCompatibility level 1: Stable within a major release for a minimum of 12 months or 3 minor releases (whichever is longer).
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DeploymentLogOptions()No args constructor for use in serializationDeploymentLogOptions(String apiVersion, String container, Boolean follow, String kind, Long limitBytes, Boolean nowait, Boolean previous, Long sinceSeconds, String sinceTime, Long tailLines, Boolean timestamps, Long version)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DeploymentLogOptionsBuilderedit()Map<String,Object>getAdditionalProperties()StringgetApiVersion()APIVersion defines the versioned schema of this representation of an object.StringgetContainer()The container for which to stream logs.BooleangetFollow()follow if true indicates that the build log should be streamed until the build terminates.StringgetKind()Kind is a string value representing the REST resource this object represents.LonggetLimitBytes()If set, the number of bytes to read from the server before terminating the log output.BooleangetNowait()nowait if true causes the call to return immediately even if the deployment is not available yet.BooleangetPrevious()Return previous deployment logs.LonggetSinceSeconds()A relative time in seconds before the current time from which to show logs.StringgetSinceTime()DeploymentLogOptions is the REST options for a deployment logLonggetTailLines()If set, the number of lines from the end of the logs to show.BooleangetTimestamps()If true, add an RFC3339 or RFC3339Nano timestamp at the beginning of every line of log output.LonggetVersion()version of the deployment for which to view logs.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetApiVersion(String apiVersion)APIVersion defines the versioned schema of this representation of an object.voidsetContainer(String container)The container for which to stream logs.voidsetFollow(Boolean follow)follow if true indicates that the build log should be streamed until the build terminates.voidsetKind(String kind)Kind is a string value representing the REST resource this object represents.voidsetLimitBytes(Long limitBytes)If set, the number of bytes to read from the server before terminating the log output.voidsetNowait(Boolean nowait)nowait if true causes the call to return immediately even if the deployment is not available yet.voidsetPrevious(Boolean previous)Return previous deployment logs.voidsetSinceSeconds(Long sinceSeconds)A relative time in seconds before the current time from which to show logs.voidsetSinceTime(String sinceTime)DeploymentLogOptions is the REST options for a deployment logvoidsetTailLines(Long tailLines)If set, the number of lines from the end of the logs to show.voidsetTimestamps(Boolean timestamps)If true, add an RFC3339 or RFC3339Nano timestamp at the beginning of every line of log output.voidsetVersion(Long version)version of the deployment for which to view logs.DeploymentLogOptionsBuildertoBuilder()
-
-
-
Method Detail
-
getApiVersion
public String getApiVersion()
APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
-
setApiVersion
public void setApiVersion(String apiVersion)
APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
-
getContainer
public String getContainer()
The container for which to stream logs. Defaults to only container if there is one container in the pod.
-
setContainer
public void setContainer(String container)
The container for which to stream logs. Defaults to only container if there is one container in the pod.
-
getFollow
public Boolean getFollow()
follow if true indicates that the build log should be streamed until the build terminates.
-
setFollow
public void setFollow(Boolean follow)
follow if true indicates that the build log should be streamed until the build terminates.
-
getKind
public String getKind()
Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
-
setKind
public void setKind(String kind)
Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
-
getLimitBytes
public Long getLimitBytes()
If set, the number of bytes to read from the server before terminating the log output. This may not display a complete final line of logging, and may return slightly more or slightly less than the specified limit.
-
setLimitBytes
public void setLimitBytes(Long limitBytes)
If set, the number of bytes to read from the server before terminating the log output. This may not display a complete final line of logging, and may return slightly more or slightly less than the specified limit.
-
getNowait
public Boolean getNowait()
nowait if true causes the call to return immediately even if the deployment is not available yet. Otherwise the server will wait until the deployment has started.
-
setNowait
public void setNowait(Boolean nowait)
nowait if true causes the call to return immediately even if the deployment is not available yet. Otherwise the server will wait until the deployment has started.
-
getPrevious
public Boolean getPrevious()
Return previous deployment logs. Defaults to false.
-
setPrevious
public void setPrevious(Boolean previous)
Return previous deployment logs. Defaults to false.
-
getSinceSeconds
public Long getSinceSeconds()
A relative time in seconds before the current time from which to show logs. If this value precedes the time a pod was started, only logs since the pod start will be returned. If this value is in the future, no logs will be returned. Only one of sinceSeconds or sinceTime may be specified.
-
setSinceSeconds
public void setSinceSeconds(Long sinceSeconds)
A relative time in seconds before the current time from which to show logs. If this value precedes the time a pod was started, only logs since the pod start will be returned. If this value is in the future, no logs will be returned. Only one of sinceSeconds or sinceTime may be specified.
-
getSinceTime
public String getSinceTime()
DeploymentLogOptions is the REST options for a deployment logCompatibility level 1: Stable within a major release for a minimum of 12 months or 3 minor releases (whichever is longer).
-
setSinceTime
public void setSinceTime(String sinceTime)
DeploymentLogOptions is the REST options for a deployment logCompatibility level 1: Stable within a major release for a minimum of 12 months or 3 minor releases (whichever is longer).
-
getTailLines
public Long getTailLines()
If set, the number of lines from the end of the logs to show. If not specified, logs are shown from the creation of the container or sinceSeconds or sinceTime
-
setTailLines
public void setTailLines(Long tailLines)
If set, the number of lines from the end of the logs to show. If not specified, logs are shown from the creation of the container or sinceSeconds or sinceTime
-
getTimestamps
public Boolean getTimestamps()
If true, add an RFC3339 or RFC3339Nano timestamp at the beginning of every line of log output. Defaults to false.
-
setTimestamps
public void setTimestamps(Boolean timestamps)
If true, add an RFC3339 or RFC3339Nano timestamp at the beginning of every line of log output. Defaults to false.
-
getVersion
public Long getVersion()
version of the deployment for which to view logs.
-
setVersion
public void setVersion(Long version)
version of the deployment for which to view logs.
-
edit
public DeploymentLogOptionsBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<DeploymentLogOptionsBuilder>
-
toBuilder
public DeploymentLogOptionsBuilder toBuilder()
-
-