Package io.kubernetes.client.proto
Interface V1.ServiceAccountTokenProjectionOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
V1.ServiceAccountTokenProjection
,V1.ServiceAccountTokenProjection.Builder
- Enclosing class:
- V1
public static interface V1.ServiceAccountTokenProjectionOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionAudience is the intended audience of the token.com.google.protobuf.ByteString
Audience is the intended audience of the token.long
ExpirationSeconds is the requested duration of validity of the service account token.getPath()
Path is the path relative to the mount point of the file to project the token into.com.google.protobuf.ByteString
Path is the path relative to the mount point of the file to project the token into.boolean
Audience is the intended audience of the token.boolean
ExpirationSeconds is the requested duration of validity of the service account token.boolean
hasPath()
Path is the path relative to the mount point of the file to project the token into.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
-
hasAudience
boolean hasAudience()Audience is the intended audience of the token. A recipient of a token must identify itself with an identifier specified in the audience of the token, and otherwise should reject the token. The audience defaults to the identifier of the apiserver. +optional
optional string audience = 1;
-
getAudience
String getAudience()Audience is the intended audience of the token. A recipient of a token must identify itself with an identifier specified in the audience of the token, and otherwise should reject the token. The audience defaults to the identifier of the apiserver. +optional
optional string audience = 1;
-
getAudienceBytes
com.google.protobuf.ByteString getAudienceBytes()Audience is the intended audience of the token. A recipient of a token must identify itself with an identifier specified in the audience of the token, and otherwise should reject the token. The audience defaults to the identifier of the apiserver. +optional
optional string audience = 1;
-
hasExpirationSeconds
boolean hasExpirationSeconds()ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes. +optional
optional int64 expirationSeconds = 2;
-
getExpirationSeconds
long getExpirationSeconds()ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes. +optional
optional int64 expirationSeconds = 2;
-
hasPath
boolean hasPath()Path is the path relative to the mount point of the file to project the token into.
optional string path = 3;
-
getPath
String getPath()Path is the path relative to the mount point of the file to project the token into.
optional string path = 3;
-
getPathBytes
com.google.protobuf.ByteString getPathBytes()Path is the path relative to the mount point of the file to project the token into.
optional string path = 3;
-