Package k8s.io.api.core.v1
Interface Generated.ServiceAccountOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Generated.ServiceAccount,Generated.ServiceAccount.Builder
- Enclosing class:
- Generated
public static interface Generated.ServiceAccountOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleangetAutomountServiceAccountToken()AutomountServiceAccountToken indicates whether pods running as this service account should have an API token automatically mounted.Generated.LocalObjectReferencegetImagePullSecrets(int index)ImagePullSecrets is a list of references to secrets in the same namespace to use for pulling any images in pods that reference this ServiceAccount.intgetImagePullSecretsCount()ImagePullSecrets is a list of references to secrets in the same namespace to use for pulling any images in pods that reference this ServiceAccount.List<Generated.LocalObjectReference>getImagePullSecretsList()ImagePullSecrets is a list of references to secrets in the same namespace to use for pulling any images in pods that reference this ServiceAccount.Generated.LocalObjectReferenceOrBuildergetImagePullSecretsOrBuilder(int index)ImagePullSecrets is a list of references to secrets in the same namespace to use for pulling any images in pods that reference this ServiceAccount.List<? extends Generated.LocalObjectReferenceOrBuilder>getImagePullSecretsOrBuilderList()ImagePullSecrets is a list of references to secrets in the same namespace to use for pulling any images in pods that reference this ServiceAccount.Generated.ObjectMetagetMetadata()Standard object's metadata.Generated.ObjectMetaOrBuildergetMetadataOrBuilder()Standard object's metadata.Generated.ObjectReferencegetSecrets(int index)Secrets is a list of the secrets in the same namespace that pods running using this ServiceAccount are allowed to use.intgetSecretsCount()Secrets is a list of the secrets in the same namespace that pods running using this ServiceAccount are allowed to use.List<Generated.ObjectReference>getSecretsList()Secrets is a list of the secrets in the same namespace that pods running using this ServiceAccount are allowed to use.Generated.ObjectReferenceOrBuildergetSecretsOrBuilder(int index)Secrets is a list of the secrets in the same namespace that pods running using this ServiceAccount are allowed to use.List<? extends Generated.ObjectReferenceOrBuilder>getSecretsOrBuilderList()Secrets is a list of the secrets in the same namespace that pods running using this ServiceAccount are allowed to use.booleanhasAutomountServiceAccountToken()AutomountServiceAccountToken indicates whether pods running as this service account should have an API token automatically mounted.booleanhasMetadata()Standard object's metadata.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasMetadata
boolean hasMetadata()
Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata +optional
optional .k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1;- Returns:
- Whether the metadata field is set.
-
getMetadata
Generated.ObjectMeta getMetadata()
Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata +optional
optional .k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1;- Returns:
- The metadata.
-
getMetadataOrBuilder
Generated.ObjectMetaOrBuilder getMetadataOrBuilder()
Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata +optional
optional .k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1;
-
getSecretsList
List<Generated.ObjectReference> getSecretsList()
Secrets is a list of the secrets in the same namespace that pods running using this ServiceAccount are allowed to use. Pods are only limited to this list if this service account has a "kubernetes.io/enforce-mountable-secrets" annotation set to "true". The "kubernetes.io/enforce-mountable-secrets" annotation is deprecated since v1.32. Prefer separate namespaces to isolate access to mounted secrets. This field should not be used to find auto-generated service account token secrets for use outside of pods. Instead, tokens can be requested directly using the TokenRequest API, or service account token secrets can be manually created. More info: https://kubernetes.io/docs/concepts/configuration/secret +optional +patchMergeKey=name +patchStrategy=merge +listType=map +listMapKey=name
repeated .k8s.io.api.core.v1.ObjectReference secrets = 2;
-
getSecrets
Generated.ObjectReference getSecrets(int index)
Secrets is a list of the secrets in the same namespace that pods running using this ServiceAccount are allowed to use. Pods are only limited to this list if this service account has a "kubernetes.io/enforce-mountable-secrets" annotation set to "true". The "kubernetes.io/enforce-mountable-secrets" annotation is deprecated since v1.32. Prefer separate namespaces to isolate access to mounted secrets. This field should not be used to find auto-generated service account token secrets for use outside of pods. Instead, tokens can be requested directly using the TokenRequest API, or service account token secrets can be manually created. More info: https://kubernetes.io/docs/concepts/configuration/secret +optional +patchMergeKey=name +patchStrategy=merge +listType=map +listMapKey=name
repeated .k8s.io.api.core.v1.ObjectReference secrets = 2;
-
getSecretsCount
int getSecretsCount()
Secrets is a list of the secrets in the same namespace that pods running using this ServiceAccount are allowed to use. Pods are only limited to this list if this service account has a "kubernetes.io/enforce-mountable-secrets" annotation set to "true". The "kubernetes.io/enforce-mountable-secrets" annotation is deprecated since v1.32. Prefer separate namespaces to isolate access to mounted secrets. This field should not be used to find auto-generated service account token secrets for use outside of pods. Instead, tokens can be requested directly using the TokenRequest API, or service account token secrets can be manually created. More info: https://kubernetes.io/docs/concepts/configuration/secret +optional +patchMergeKey=name +patchStrategy=merge +listType=map +listMapKey=name
repeated .k8s.io.api.core.v1.ObjectReference secrets = 2;
-
getSecretsOrBuilderList
List<? extends Generated.ObjectReferenceOrBuilder> getSecretsOrBuilderList()
Secrets is a list of the secrets in the same namespace that pods running using this ServiceAccount are allowed to use. Pods are only limited to this list if this service account has a "kubernetes.io/enforce-mountable-secrets" annotation set to "true". The "kubernetes.io/enforce-mountable-secrets" annotation is deprecated since v1.32. Prefer separate namespaces to isolate access to mounted secrets. This field should not be used to find auto-generated service account token secrets for use outside of pods. Instead, tokens can be requested directly using the TokenRequest API, or service account token secrets can be manually created. More info: https://kubernetes.io/docs/concepts/configuration/secret +optional +patchMergeKey=name +patchStrategy=merge +listType=map +listMapKey=name
repeated .k8s.io.api.core.v1.ObjectReference secrets = 2;
-
getSecretsOrBuilder
Generated.ObjectReferenceOrBuilder getSecretsOrBuilder(int index)
Secrets is a list of the secrets in the same namespace that pods running using this ServiceAccount are allowed to use. Pods are only limited to this list if this service account has a "kubernetes.io/enforce-mountable-secrets" annotation set to "true". The "kubernetes.io/enforce-mountable-secrets" annotation is deprecated since v1.32. Prefer separate namespaces to isolate access to mounted secrets. This field should not be used to find auto-generated service account token secrets for use outside of pods. Instead, tokens can be requested directly using the TokenRequest API, or service account token secrets can be manually created. More info: https://kubernetes.io/docs/concepts/configuration/secret +optional +patchMergeKey=name +patchStrategy=merge +listType=map +listMapKey=name
repeated .k8s.io.api.core.v1.ObjectReference secrets = 2;
-
getImagePullSecretsList
List<Generated.LocalObjectReference> getImagePullSecretsList()
ImagePullSecrets is a list of references to secrets in the same namespace to use for pulling any images in pods that reference this ServiceAccount. ImagePullSecrets are distinct from Secrets because Secrets can be mounted in the pod, but ImagePullSecrets are only accessed by the kubelet. More info: https://kubernetes.io/docs/concepts/containers/images/#specifying-imagepullsecrets-on-a-pod +optional +listType=atomic
repeated .k8s.io.api.core.v1.LocalObjectReference imagePullSecrets = 3;
-
getImagePullSecrets
Generated.LocalObjectReference getImagePullSecrets(int index)
ImagePullSecrets is a list of references to secrets in the same namespace to use for pulling any images in pods that reference this ServiceAccount. ImagePullSecrets are distinct from Secrets because Secrets can be mounted in the pod, but ImagePullSecrets are only accessed by the kubelet. More info: https://kubernetes.io/docs/concepts/containers/images/#specifying-imagepullsecrets-on-a-pod +optional +listType=atomic
repeated .k8s.io.api.core.v1.LocalObjectReference imagePullSecrets = 3;
-
getImagePullSecretsCount
int getImagePullSecretsCount()
ImagePullSecrets is a list of references to secrets in the same namespace to use for pulling any images in pods that reference this ServiceAccount. ImagePullSecrets are distinct from Secrets because Secrets can be mounted in the pod, but ImagePullSecrets are only accessed by the kubelet. More info: https://kubernetes.io/docs/concepts/containers/images/#specifying-imagepullsecrets-on-a-pod +optional +listType=atomic
repeated .k8s.io.api.core.v1.LocalObjectReference imagePullSecrets = 3;
-
getImagePullSecretsOrBuilderList
List<? extends Generated.LocalObjectReferenceOrBuilder> getImagePullSecretsOrBuilderList()
ImagePullSecrets is a list of references to secrets in the same namespace to use for pulling any images in pods that reference this ServiceAccount. ImagePullSecrets are distinct from Secrets because Secrets can be mounted in the pod, but ImagePullSecrets are only accessed by the kubelet. More info: https://kubernetes.io/docs/concepts/containers/images/#specifying-imagepullsecrets-on-a-pod +optional +listType=atomic
repeated .k8s.io.api.core.v1.LocalObjectReference imagePullSecrets = 3;
-
getImagePullSecretsOrBuilder
Generated.LocalObjectReferenceOrBuilder getImagePullSecretsOrBuilder(int index)
ImagePullSecrets is a list of references to secrets in the same namespace to use for pulling any images in pods that reference this ServiceAccount. ImagePullSecrets are distinct from Secrets because Secrets can be mounted in the pod, but ImagePullSecrets are only accessed by the kubelet. More info: https://kubernetes.io/docs/concepts/containers/images/#specifying-imagepullsecrets-on-a-pod +optional +listType=atomic
repeated .k8s.io.api.core.v1.LocalObjectReference imagePullSecrets = 3;
-
hasAutomountServiceAccountToken
boolean hasAutomountServiceAccountToken()
AutomountServiceAccountToken indicates whether pods running as this service account should have an API token automatically mounted. Can be overridden at the pod level. +optional
optional bool automountServiceAccountToken = 4;- Returns:
- Whether the automountServiceAccountToken field is set.
-
getAutomountServiceAccountToken
boolean getAutomountServiceAccountToken()
AutomountServiceAccountToken indicates whether pods running as this service account should have an API token automatically mounted. Can be overridden at the pod level. +optional
optional bool automountServiceAccountToken = 4;- Returns:
- The automountServiceAccountToken.
-
-