Interface V1.ServiceAccountOrBuilder

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

public static interface V1.ServiceAccountOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • 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;
    • getMetadata

      Meta.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;
    • getMetadataOrBuilder

      Meta.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<V1.ObjectReference> getSecretsList()
       Secrets is the list of secrets allowed to be used by pods running using this ServiceAccount.
       More info: https://kubernetes.io/docs/concepts/configuration/secret
       +optional
       +patchMergeKey=name
       +patchStrategy=merge
       
      repeated .k8s.io.api.core.v1.ObjectReference secrets = 2;
    • getSecrets

      V1.ObjectReference getSecrets(int index)
       Secrets is the list of secrets allowed to be used by pods running using this ServiceAccount.
       More info: https://kubernetes.io/docs/concepts/configuration/secret
       +optional
       +patchMergeKey=name
       +patchStrategy=merge
       
      repeated .k8s.io.api.core.v1.ObjectReference secrets = 2;
    • getSecretsCount

      int getSecretsCount()
       Secrets is the list of secrets allowed to be used by pods running using this ServiceAccount.
       More info: https://kubernetes.io/docs/concepts/configuration/secret
       +optional
       +patchMergeKey=name
       +patchStrategy=merge
       
      repeated .k8s.io.api.core.v1.ObjectReference secrets = 2;
    • getSecretsOrBuilderList

      List<? extends V1.ObjectReferenceOrBuilder> getSecretsOrBuilderList()
       Secrets is the list of secrets allowed to be used by pods running using this ServiceAccount.
       More info: https://kubernetes.io/docs/concepts/configuration/secret
       +optional
       +patchMergeKey=name
       +patchStrategy=merge
       
      repeated .k8s.io.api.core.v1.ObjectReference secrets = 2;
    • getSecretsOrBuilder

      V1.ObjectReferenceOrBuilder getSecretsOrBuilder(int index)
       Secrets is the list of secrets allowed to be used by pods running using this ServiceAccount.
       More info: https://kubernetes.io/docs/concepts/configuration/secret
       +optional
       +patchMergeKey=name
       +patchStrategy=merge
       
      repeated .k8s.io.api.core.v1.ObjectReference secrets = 2;
    • getImagePullSecretsList

      List<V1.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
       
      repeated .k8s.io.api.core.v1.LocalObjectReference imagePullSecrets = 3;
    • getImagePullSecrets

      V1.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
       
      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
       
      repeated .k8s.io.api.core.v1.LocalObjectReference imagePullSecrets = 3;
    • getImagePullSecretsOrBuilderList

      List<? extends V1.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
       
      repeated .k8s.io.api.core.v1.LocalObjectReference imagePullSecrets = 3;
    • getImagePullSecretsOrBuilder

      V1.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
       
      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;
    • 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;