Interface V1.PodLogOptionsOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
V1.PodLogOptions, V1.PodLogOptions.Builder
Enclosing class:
V1

public static interface V1.PodLogOptionsOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    The container for which to stream logs.
    com.google.protobuf.ByteString
    The container for which to stream logs.
    boolean
    Follow the log stream of the pod.
    boolean
    insecureSkipTLSVerifyBackend indicates that the apiserver should not confirm the validity of the serving certificate of the backend it is connecting to.
    long
    If set, the number of bytes to read from the server before terminating the log output.
    boolean
    Return previous terminated container logs.
    long
    A relative time in seconds before the current time from which to show logs.
    An RFC3339 timestamp from which to show logs.
    An RFC3339 timestamp from which to show logs.
    long
    If set, the number of lines from the end of the logs to show.
    boolean
    If true, add an RFC3339 or RFC3339Nano timestamp at the beginning of every line of log output.
    boolean
    The container for which to stream logs.
    boolean
    Follow the log stream of the pod.
    boolean
    insecureSkipTLSVerifyBackend indicates that the apiserver should not confirm the validity of the serving certificate of the backend it is connecting to.
    boolean
    If set, the number of bytes to read from the server before terminating the log output.
    boolean
    Return previous terminated container logs.
    boolean
    A relative time in seconds before the current time from which to show logs.
    boolean
    An RFC3339 timestamp from which to show logs.
    boolean
    If set, the number of lines from the end of the logs to show.
    boolean
    If true, add an RFC3339 or RFC3339Nano timestamp at the beginning of every line of log output.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • hasContainer

      boolean hasContainer()
       The container for which to stream logs. Defaults to only container if there is one container in the pod.
       +optional
       
      optional string container = 1;
    • getContainer

      String getContainer()
       The container for which to stream logs. Defaults to only container if there is one container in the pod.
       +optional
       
      optional string container = 1;
    • getContainerBytes

      com.google.protobuf.ByteString getContainerBytes()
       The container for which to stream logs. Defaults to only container if there is one container in the pod.
       +optional
       
      optional string container = 1;
    • hasFollow

      boolean hasFollow()
       Follow the log stream of the pod. Defaults to false.
       +optional
       
      optional bool follow = 2;
    • getFollow

      boolean getFollow()
       Follow the log stream of the pod. Defaults to false.
       +optional
       
      optional bool follow = 2;
    • hasPrevious

      boolean hasPrevious()
       Return previous terminated container logs. Defaults to false.
       +optional
       
      optional bool previous = 3;
    • getPrevious

      boolean getPrevious()
       Return previous terminated container logs. Defaults to false.
       +optional
       
      optional bool previous = 3;
    • hasSinceSeconds

      boolean hasSinceSeconds()
       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.
       +optional
       
      optional int64 sinceSeconds = 4;
    • getSinceSeconds

      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.
       +optional
       
      optional int64 sinceSeconds = 4;
    • hasSinceTime

      boolean hasSinceTime()
       An RFC3339 timestamp 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.
       +optional
       
      optional .k8s.io.apimachinery.pkg.apis.meta.v1.Time sinceTime = 5;
    • getSinceTime

      Meta.Time getSinceTime()
       An RFC3339 timestamp 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.
       +optional
       
      optional .k8s.io.apimachinery.pkg.apis.meta.v1.Time sinceTime = 5;
    • getSinceTimeOrBuilder

      Meta.TimeOrBuilder getSinceTimeOrBuilder()
       An RFC3339 timestamp 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.
       +optional
       
      optional .k8s.io.apimachinery.pkg.apis.meta.v1.Time sinceTime = 5;
    • hasTimestamps

      boolean hasTimestamps()
       If true, add an RFC3339 or RFC3339Nano timestamp at the beginning of every line
       of log output. Defaults to false.
       +optional
       
      optional bool timestamps = 6;
    • getTimestamps

      boolean getTimestamps()
       If true, add an RFC3339 or RFC3339Nano timestamp at the beginning of every line
       of log output. Defaults to false.
       +optional
       
      optional bool timestamps = 6;
    • hasTailLines

      boolean hasTailLines()
       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
       +optional
       
      optional int64 tailLines = 7;
    • getTailLines

      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
       +optional
       
      optional int64 tailLines = 7;
    • hasLimitBytes

      boolean hasLimitBytes()
       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.
       +optional
       
      optional int64 limitBytes = 8;
    • getLimitBytes

      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.
       +optional
       
      optional int64 limitBytes = 8;
    • hasInsecureSkipTLSVerifyBackend

      boolean hasInsecureSkipTLSVerifyBackend()
       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).
       +optional
       
      optional bool insecureSkipTLSVerifyBackend = 9;
    • getInsecureSkipTLSVerifyBackend

      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).
       +optional
       
      optional bool insecureSkipTLSVerifyBackend = 9;