[][src]Struct openshift_openapi::api::authorization::v1::LocalResourceAccessReview

pub struct LocalResourceAccessReview {
    pub content: Option<RawExtension>,
    pub is_non_resource_url: bool,
    pub namespace: String,
    pub path: String,
    pub resource: String,
    pub resource_api_group: String,
    pub resource_api_version: String,
    pub resource_name: String,
    pub verb: String,
}

LocalResourceAccessReview is a means to request a list of which users and groups are authorized to perform the action specified by spec in a particular namespace

Fields

content: Option<RawExtension>

Content is the actual content of the request for create and update

is_non_resource_url: bool

IsNonResourceURL is true if this is a request for a non-resource URL (outside of the resource hieraarchy)

namespace: String

Namespace is the namespace of the action being requested. Currently, there is no distinction between no namespace and all namespaces

path: String

Path is the path of a non resource URL

resource: String

Resource is one of the existing resource types

resource_api_group: String

Group is the API group of the resource Serialized as resourceAPIGroup to avoid confusion with the 'groups' field when inlined

resource_api_version: String

Version is the API version of the resource Serialized as resourceAPIVersion to avoid confusion with TypeMeta.apiVersion and ObjectMeta.resourceVersion when inlined

resource_name: String

ResourceName is the name of the resource being requested for a "get" or deleted for a "delete"

verb: String

Verb is one of: get, list, watch, create, update, delete

Implementations

impl LocalResourceAccessReview[src]

pub fn create_namespaced_local_resource_access_review(
    namespace: &str,
    body: &LocalResourceAccessReview,
    optional: CreateOptional
) -> Result<(Request<Vec<u8>>, fn(_: StatusCode) -> ResponseBody<CreateResponse<Self>>), RequestError>
[src]

create a LocalResourceAccessReview

Use the returned k8s_openapi::ResponseBody<k8s_openapi::CreateResponse<Self>> constructor, or k8s_openapi::CreateResponse<Self> directly, to parse the HTTP response.

Arguments

  • namespace

    object name and auth scope, such as for teams and projects

  • body

  • optional

    Optional parameters. Use Default::default() to not pass any.

Trait Implementations

impl Clone for LocalResourceAccessReview[src]

impl Debug for LocalResourceAccessReview[src]

impl Default for LocalResourceAccessReview[src]

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

impl PartialEq<LocalResourceAccessReview> for LocalResourceAccessReview[src]

impl Resource for LocalResourceAccessReview[src]

impl Serialize for LocalResourceAccessReview[src]

impl StructuralPartialEq for LocalResourceAccessReview[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.