Class 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 log


    Compatibility 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 Detail

      • BuildLogOptions

        public BuildLogOptions()
        No args constructor for use in serialization
    • 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 log


        Compatibility 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 log


        Compatibility 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.
      • getAdditionalProperties

        public Map<String,​Object> getAdditionalProperties()
      • setAdditionalProperty

        public void setAdditionalProperty​(String name,
                                          Object value)
      • setAdditionalProperties

        public void setAdditionalProperties​(Map<String,​Object> additionalProperties)