public static final class V1.PodLogOptions extends com.google.protobuf.GeneratedMessageV3 implements V1.PodLogOptionsOrBuilder
PodLogOptions is the query options for a Pod's logs REST call.Protobuf type
k8s.io.api.core.v1.PodLogOptions| Modifier and Type | Class and Description |
|---|---|
static class |
V1.PodLogOptions.Builder
PodLogOptions is the query options for a Pod's logs REST call.
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
CONTAINER_FIELD_NUMBER |
static int |
FOLLOW_FIELD_NUMBER |
static int |
INSECURESKIPTLSVERIFYBACKEND_FIELD_NUMBER |
static int |
LIMITBYTES_FIELD_NUMBER |
static com.google.protobuf.Parser<V1.PodLogOptions> |
PARSER
Deprecated.
|
static int |
PREVIOUS_FIELD_NUMBER |
static int |
SINCESECONDS_FIELD_NUMBER |
static int |
SINCETIME_FIELD_NUMBER |
static int |
TAILLINES_FIELD_NUMBER |
static int |
TIMESTAMPS_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getContainer()
The container for which to stream logs.
|
com.google.protobuf.ByteString |
getContainerBytes()
The container for which to stream logs.
|
static V1.PodLogOptions |
getDefaultInstance() |
V1.PodLogOptions |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
boolean |
getFollow()
Follow the log stream of the pod.
|
boolean |
getInsecureSkipTLSVerifyBackend()
insecureSkipTLSVerifyBackend indicates that the apiserver should not confirm the validity of the
serving certificate of the backend it is connecting to.
|
long |
getLimitBytes()
If set, the number of bytes to read from the server before terminating the
log output.
|
com.google.protobuf.Parser<V1.PodLogOptions> |
getParserForType() |
boolean |
getPrevious()
Return previous terminated container logs.
|
int |
getSerializedSize() |
long |
getSinceSeconds()
A relative time in seconds before the current time from which to show logs.
|
Meta.Time |
getSinceTime()
An RFC3339 timestamp from which to show logs.
|
Meta.TimeOrBuilder |
getSinceTimeOrBuilder()
An RFC3339 timestamp from which to show logs.
|
long |
getTailLines()
If set, the number of lines from the end of the logs to show.
|
boolean |
getTimestamps()
If true, add an RFC3339 or RFC3339Nano timestamp at the beginning of every line
of log output.
|
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasContainer()
The container for which to stream logs.
|
boolean |
hasFollow()
Follow the log stream of the pod.
|
int |
hashCode() |
boolean |
hasInsecureSkipTLSVerifyBackend()
insecureSkipTLSVerifyBackend indicates that the apiserver should not confirm the validity of the
serving certificate of the backend it is connecting to.
|
boolean |
hasLimitBytes()
If set, the number of bytes to read from the server before terminating the
log output.
|
boolean |
hasPrevious()
Return previous terminated container logs.
|
boolean |
hasSinceSeconds()
A relative time in seconds before the current time from which to show logs.
|
boolean |
hasSinceTime()
An RFC3339 timestamp from which to show logs.
|
boolean |
hasTailLines()
If set, the number of lines from the end of the logs to show.
|
boolean |
hasTimestamps()
If true, add an RFC3339 or RFC3339Nano timestamp at the beginning of every line
of log output.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static V1.PodLogOptions.Builder |
newBuilder() |
static V1.PodLogOptions.Builder |
newBuilder(V1.PodLogOptions prototype) |
V1.PodLogOptions.Builder |
newBuilderForType() |
protected V1.PodLogOptions.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
static V1.PodLogOptions |
parseDelimitedFrom(InputStream input) |
static V1.PodLogOptions |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static V1.PodLogOptions |
parseFrom(byte[] data) |
static V1.PodLogOptions |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static V1.PodLogOptions |
parseFrom(ByteBuffer data) |
static V1.PodLogOptions |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static V1.PodLogOptions |
parseFrom(com.google.protobuf.ByteString data) |
static V1.PodLogOptions |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static V1.PodLogOptions |
parseFrom(com.google.protobuf.CodedInputStream input) |
static V1.PodLogOptions |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static V1.PodLogOptions |
parseFrom(InputStream input) |
static V1.PodLogOptions |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<V1.PodLogOptions> |
parser() |
V1.PodLogOptions.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newInstance, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int CONTAINER_FIELD_NUMBER
public static final int FOLLOW_FIELD_NUMBER
public static final int PREVIOUS_FIELD_NUMBER
public static final int SINCESECONDS_FIELD_NUMBER
public static final int SINCETIME_FIELD_NUMBER
public static final int TIMESTAMPS_FIELD_NUMBER
public static final int TAILLINES_FIELD_NUMBER
public static final int LIMITBYTES_FIELD_NUMBER
public static final int INSECURESKIPTLSVERIFYBACKEND_FIELD_NUMBER
@Deprecated public static final com.google.protobuf.Parser<V1.PodLogOptions> PARSER
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public 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;hasContainer in interface V1.PodLogOptionsOrBuilderpublic 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;getContainer in interface V1.PodLogOptionsOrBuilderpublic 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;getContainerBytes in interface V1.PodLogOptionsOrBuilderpublic boolean hasFollow()
Follow the log stream of the pod. Defaults to false. +optional
optional bool follow = 2;hasFollow in interface V1.PodLogOptionsOrBuilderpublic boolean getFollow()
Follow the log stream of the pod. Defaults to false. +optional
optional bool follow = 2;getFollow in interface V1.PodLogOptionsOrBuilderpublic boolean hasPrevious()
Return previous terminated container logs. Defaults to false. +optional
optional bool previous = 3;hasPrevious in interface V1.PodLogOptionsOrBuilderpublic boolean getPrevious()
Return previous terminated container logs. Defaults to false. +optional
optional bool previous = 3;getPrevious in interface V1.PodLogOptionsOrBuilderpublic 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;hasSinceSeconds in interface V1.PodLogOptionsOrBuilderpublic 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;getSinceSeconds in interface V1.PodLogOptionsOrBuilderpublic 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;hasSinceTime in interface V1.PodLogOptionsOrBuilderpublic 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;getSinceTime in interface V1.PodLogOptionsOrBuilderpublic 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;getSinceTimeOrBuilder in interface V1.PodLogOptionsOrBuilderpublic 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;hasTimestamps in interface V1.PodLogOptionsOrBuilderpublic 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;getTimestamps in interface V1.PodLogOptionsOrBuilderpublic 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;hasTailLines in interface V1.PodLogOptionsOrBuilderpublic 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;getTailLines in interface V1.PodLogOptionsOrBuilderpublic 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;hasLimitBytes in interface V1.PodLogOptionsOrBuilderpublic 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;getLimitBytes in interface V1.PodLogOptionsOrBuilderpublic 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;hasInsecureSkipTLSVerifyBackend in interface V1.PodLogOptionsOrBuilderpublic 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;getInsecureSkipTLSVerifyBackend in interface V1.PodLogOptionsOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static V1.PodLogOptions parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static V1.PodLogOptions parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static V1.PodLogOptions parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static V1.PodLogOptions parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static V1.PodLogOptions parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static V1.PodLogOptions parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static V1.PodLogOptions parseFrom(InputStream input) throws IOException
IOExceptionpublic static V1.PodLogOptions parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static V1.PodLogOptions parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static V1.PodLogOptions parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static V1.PodLogOptions parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static V1.PodLogOptions parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic V1.PodLogOptions.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static V1.PodLogOptions.Builder newBuilder()
public static V1.PodLogOptions.Builder newBuilder(V1.PodLogOptions prototype)
public V1.PodLogOptions.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected V1.PodLogOptions.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static V1.PodLogOptions getDefaultInstance()
public static com.google.protobuf.Parser<V1.PodLogOptions> parser()
public com.google.protobuf.Parser<V1.PodLogOptions> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public V1.PodLogOptions getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2023. All rights reserved.