Package io.fabric8.openshift.api.model
Class BuildLogOptions
- java.lang.Object
-
- io.fabric8.openshift.api.model.BuildLogOptions
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<BuildLogOptionsBuilder>,io.fabric8.kubernetes.api.model.KubernetesResource,io.fabric8.kubernetes.api.model.Namespaced,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class BuildLogOptions extends Object implements io.fabric8.kubernetes.api.builder.Editable<BuildLogOptionsBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource, io.fabric8.kubernetes.api.model.Namespaced
BuildLogOptions is the REST options for a build 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 BuildLogOptions()No args constructor for use in serializationBuildLogOptions(String apiVersion, String container, Boolean follow, Boolean insecureSkipTLSVerifyBackend, 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 BuildLogOptionsBuilderedit()Map<String,Object>getAdditionalProperties()StringgetApiVersion()APIVersion defines the versioned schema of this representation of an object.StringgetContainer()cointainer for which to stream logs.BooleangetFollow()follow if true indicates that the build log should be streamed until the build terminates.BooleangetInsecureSkipTLSVerifyBackend()insecureSkipTLSVerifyBackend indicates that the apiserver should not confirm the validity of the serving certificate of the backend it is connecting to.StringgetKind()Kind is a string value representing the REST resource this object represents.LonggetLimitBytes()limitBytes, If set, is 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 build is not available yet.BooleangetPrevious()previous returns previous build logs.LonggetSinceSeconds()sinceSeconds is a relative time in seconds before the current time from which to show logs.StringgetSinceTime()BuildLogOptions is the REST options for a build logLonggetTailLines()tailLines, If set, is the number of lines from the end of the logs to show.BooleangetTimestamps()timestamps, If true, add an RFC3339 or RFC3339Nano timestamp at the beginning of every line of log output.LonggetVersion()version of the build 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)cointainer for which to stream logs.voidsetFollow(Boolean follow)follow if true indicates that the build log should be streamed until the build terminates.voidsetInsecureSkipTLSVerifyBackend(Boolean insecureSkipTLSVerifyBackend)insecureSkipTLSVerifyBackend indicates that the apiserver should not confirm the validity of the serving certificate of the backend it is connecting to.voidsetKind(String kind)Kind is a string value representing the REST resource this object represents.voidsetLimitBytes(Long limitBytes)limitBytes, If set, is 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 build is not available yet.voidsetPrevious(Boolean previous)previous returns previous build logs.voidsetSinceSeconds(Long sinceSeconds)sinceSeconds is a relative time in seconds before the current time from which to show logs.voidsetSinceTime(String sinceTime)BuildLogOptions is the REST options for a build logvoidsetTailLines(Long tailLines)tailLines, If set, is the number of lines from the end of the logs to show.voidsetTimestamps(Boolean timestamps)timestamps, If true, add an RFC3339 or RFC3339Nano timestamp at the beginning of every line of log output.voidsetVersion(Long version)version of the build for which to view logs.BuildLogOptionsBuildertoBuilder()
-
-
-
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()
cointainer for which to stream logs. Defaults to only container if there is one container in the pod.
-
setContainer
public void setContainer(String container)
cointainer 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.
-
getInsecureSkipTLSVerifyBackend
public Boolean getInsecureSkipTLSVerifyBackend()
insecureSkipTLSVerifyBackend indicates that the apiserver should not confirm the validity of the serving certificate of the backend it is connecting to. This will make the HTTPS connection between the apiserver and the backend insecure. This means the apiserver cannot verify the log data it is receiving came from the real kubelet. If the kubelet is configured to verify the apiserver's TLS credentials, it does not mean the connection to the real kubelet is vulnerable to a man in the middle attack (e.g. an attacker could not intercept the actual log data coming from the real kubelet).
-
setInsecureSkipTLSVerifyBackend
public void setInsecureSkipTLSVerifyBackend(Boolean insecureSkipTLSVerifyBackend)
insecureSkipTLSVerifyBackend indicates that the apiserver should not confirm the validity of the serving certificate of the backend it is connecting to. This will make the HTTPS connection between the apiserver and the backend insecure. This means the apiserver cannot verify the log data it is receiving came from the real kubelet. If the kubelet is configured to verify the apiserver's TLS credentials, it does not mean the connection to the real kubelet is vulnerable to a man in the middle attack (e.g. an attacker could not intercept the actual log data coming from the real kubelet).
-
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()
limitBytes, If set, is 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)
limitBytes, If set, is 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 build is not available yet. Otherwise the server will wait until the build has started.
-
setNowait
public void setNowait(Boolean nowait)
nowait if true causes the call to return immediately even if the build is not available yet. Otherwise the server will wait until the build has started.
-
getPrevious
public Boolean getPrevious()
previous returns previous build logs. Defaults to false.
-
setPrevious
public void setPrevious(Boolean previous)
previous returns previous build logs. Defaults to false.
-
getSinceSeconds
public Long getSinceSeconds()
sinceSeconds is 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)
sinceSeconds is 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()
BuildLogOptions is the REST options for a build 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)
BuildLogOptions is the REST options for a build 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()
tailLines, If set, is 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)
tailLines, If set, is 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()
timestamps, 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)
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 build for which to view logs.
-
setVersion
public void setVersion(Long version)
version of the build for which to view logs.
-
edit
public BuildLogOptionsBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<BuildLogOptionsBuilder>
-
toBuilder
public BuildLogOptionsBuilder toBuilder()
-
-