Package k8s.io.api.core.v1
Interface Generated.ServiceAccountTokenProjectionOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Generated.ServiceAccountTokenProjection,Generated.ServiceAccountTokenProjection.Builder
- Enclosing class:
- Generated
public static interface Generated.ServiceAccountTokenProjectionOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetAudience()audience is the intended audience of the token.com.google.protobuf.ByteStringgetAudienceBytes()audience is the intended audience of the token.longgetExpirationSeconds()expirationSeconds is the requested duration of validity of the service account token.StringgetPath()path is the path relative to the mount point of the file to project the token into.com.google.protobuf.ByteStringgetPathBytes()path is the path relative to the mount point of the file to project the token into.booleanhasAudience()audience is the intended audience of the token.booleanhasExpirationSeconds()expirationSeconds is the requested duration of validity of the service account token.booleanhasPath()path is the path relative to the mount point of the file to project the token into.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
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;- Returns:
- Whether the audience field is set.
-
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;- Returns:
- The audience.
-
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;- Returns:
- The bytes for audience.
-
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;- Returns:
- Whether the expirationSeconds field is set.
-
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;- Returns:
- The expirationSeconds.
-
hasPath
boolean hasPath()
path is the path relative to the mount point of the file to project the token into.
optional string path = 3;- Returns:
- Whether the path field is set.
-
getPath
String getPath()
path is the path relative to the mount point of the file to project the token into.
optional string path = 3;- Returns:
- The path.
-
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;- Returns:
- The bytes for path.
-
-