Struct k8s_openapi::v1_11::api::extensions::v1beta1::PodSecurityPolicy[][src]

pub struct PodSecurityPolicy {
    pub api_version: Option<String>,
    pub kind: Option<String>,
    pub metadata: Option<ObjectMeta>,
    pub spec: Option<PodSecurityPolicySpec>,
}

PodSecurityPolicy governs the ability to make requests that affect the Security Context that will be applied to a pod and container. Deprecated: use PodSecurityPolicy from policy API Group instead.

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

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

spec defines the policy enforced.

Methods

impl PodSecurityPolicy
[src]

create a PodSecurityPolicy

Use CreateExtensionsV1beta1PodSecurityPolicyResponse to parse the HTTP response.

impl PodSecurityPolicy
[src]

delete collection of PodSecurityPolicy

Use DeleteExtensionsV1beta1CollectionPodSecurityPolicyResponse to parse the HTTP response.

impl PodSecurityPolicy
[src]

delete a PodSecurityPolicy

Use DeleteExtensionsV1beta1PodSecurityPolicyResponse to parse the HTTP response.

impl PodSecurityPolicy
[src]

list or watch objects of kind PodSecurityPolicy

Use ListExtensionsV1beta1PodSecurityPolicyResponse to parse the HTTP response.

impl PodSecurityPolicy
[src]

partially update the specified PodSecurityPolicy

Use PatchExtensionsV1beta1PodSecurityPolicyResponse to parse the HTTP response.

impl PodSecurityPolicy
[src]

read the specified PodSecurityPolicy

Use ReadExtensionsV1beta1PodSecurityPolicyResponse to parse the HTTP response.

impl PodSecurityPolicy
[src]

replace the specified PodSecurityPolicy

Use ReplaceExtensionsV1beta1PodSecurityPolicyResponse to parse the HTTP response.

impl PodSecurityPolicy
[src]

watch changes to an object of kind PodSecurityPolicy

Use WatchExtensionsV1beta1PodSecurityPolicyResponse to parse the HTTP response.

impl PodSecurityPolicy
[src]

watch individual changes to a list of PodSecurityPolicy

Use WatchExtensionsV1beta1PodSecurityPolicyListResponse to parse the HTTP response.

Trait Implementations

impl Clone for PodSecurityPolicy
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for PodSecurityPolicy
[src]

Formats the value using the given formatter. Read more

impl Default for PodSecurityPolicy
[src]

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

impl PartialEq for PodSecurityPolicy
[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 PodSecurityPolicy
[src]

Deserialize this value from the given Serde deserializer. Read more

impl Serialize for PodSecurityPolicy
[src]

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations