Struct k8s_openapi::v1_10::api::core::v1::ServiceAccount[][src]

pub struct ServiceAccount {
    pub api_version: Option<String>,
    pub automount_service_account_token: Option<bool>,
    pub image_pull_secrets: Option<Vec<LocalObjectReference>>,
    pub kind: Option<String>,
    pub metadata: Option<ObjectMeta>,
    pub secrets: Option<Vec<ObjectReference>>,
}

ServiceAccount binds together: * a name, understood by users, and perhaps by peripheral systems, for an identity * a principal that can be authenticated and authorized * a set of secrets

Fields

APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources

AutomountServiceAccountToken indicates whether pods running as this service account should have an API token automatically mounted. Can be overridden at the pod level.

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

Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds

Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata

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

Methods

impl ServiceAccount
[src]

create a ServiceAccount

Use CreateCoreV1NamespacedServiceAccountResponse to parse the HTTP response.

impl ServiceAccount
[src]

delete collection of ServiceAccount

Use DeleteCoreV1CollectionNamespacedServiceAccountResponse to parse the HTTP response.

impl ServiceAccount
[src]

delete a ServiceAccount

Use DeleteCoreV1NamespacedServiceAccountResponse to parse the HTTP response.

impl ServiceAccount
[src]

list or watch objects of kind ServiceAccount

Use ListCoreV1NamespacedServiceAccountResponse to parse the HTTP response.

impl ServiceAccount
[src]

list or watch objects of kind ServiceAccount

Use ListCoreV1ServiceAccountForAllNamespacesResponse to parse the HTTP response.

impl ServiceAccount
[src]

partially update the specified ServiceAccount

Use PatchCoreV1NamespacedServiceAccountResponse to parse the HTTP response.

impl ServiceAccount
[src]

read the specified ServiceAccount

Use ReadCoreV1NamespacedServiceAccountResponse to parse the HTTP response.

impl ServiceAccount
[src]

replace the specified ServiceAccount

Use ReplaceCoreV1NamespacedServiceAccountResponse to parse the HTTP response.

impl ServiceAccount
[src]

watch changes to an object of kind ServiceAccount

Use WatchCoreV1NamespacedServiceAccountResponse to parse the HTTP response.

impl ServiceAccount
[src]

watch individual changes to a list of ServiceAccount

Use WatchCoreV1NamespacedServiceAccountListResponse to parse the HTTP response.

impl ServiceAccount
[src]

watch individual changes to a list of ServiceAccount

Use WatchCoreV1ServiceAccountListForAllNamespacesResponse to parse the HTTP response.

Trait Implementations

impl Clone for ServiceAccount
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for ServiceAccount
[src]

Formats the value using the given formatter. Read more

impl Default for ServiceAccount
[src]

Returns the "default value" for a type. Read more

impl PartialEq for ServiceAccount
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl<'de> Deserialize<'de> for ServiceAccount
[src]

Deserialize this value from the given Serde deserializer. Read more

impl Serialize for ServiceAccount
[src]

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations