struct
Kubernetes::ResourceAttributes
- Kubernetes::ResourceAttributes
- Struct
- Value
- Object
Overview
ResourceAttributes includes the authorization attributes available for resource requests to the Authorizer interface
Included Modules
- JSON::Serializable
- Kubernetes::Serializable
- YAML::Serializable
Defined in:
generated/models/io_k8s_api_authorization_v1.crConstructors
- .new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)
- .new(pull : ::JSON::PullParser)
- .new(*, __pull_for_json_serializable pull : ::JSON::PullParser)
- .new(*, __context_for_yaml_serializable ctx : YAML::ParseContext, __node_for_yaml_serializable node : YAML::Nodes::Node)
Macro Summary
-
field(name, type = nil, **options, &block)
Helper macro for defining fields with automatic camelCase conversion
Instance Method Summary
-
#field_selector : FieldSelectorAttributes | Nil
fieldSelector describes the limitation on access based on field.
-
#field_selector=(field_selector : FieldSelectorAttributes | Nil)
fieldSelector describes the limitation on access based on field.
-
#group : String | Nil
Group is the API Group of the Resource.
-
#group=(group : String | Nil)
Group is the API Group of the Resource.
-
#label_selector : LabelSelectorAttributes | Nil
labelSelector describes the limitation on access based on labels.
-
#label_selector=(label_selector : LabelSelectorAttributes | Nil)
labelSelector describes the limitation on access based on labels.
-
#name : String | Nil
Name is the name of the resource being requested for a "get" or deleted for a "delete".
-
#name=(name : String | Nil)
Name is the name of the resource being requested for a "get" or deleted for a "delete".
-
#namespace : String | Nil
Namespace is the namespace of the action being requested.
-
#namespace=(namespace : String | Nil)
Namespace is the namespace of the action being requested.
-
#resource : String | Nil
Resource is one of the existing resource types.
-
#resource=(resource : String | Nil)
Resource is one of the existing resource types.
-
#subresource : String | Nil
Subresource is one of the existing resource types.
-
#subresource=(subresource : String | Nil)
Subresource is one of the existing resource types.
-
#verb : String | Nil
Verb is a kubernetes resource API verb, like: get, list, watch, create, update, delete, proxy.
-
#verb=(verb : String | Nil)
Verb is a kubernetes resource API verb, like: get, list, watch, create, update, delete, proxy.
-
#version : String | Nil
Version is the API Version of the Resource.
-
#version=(version : String | Nil)
Version is the API Version of the Resource.
Constructor Detail
Macro Detail
Helper macro for defining fields with automatic camelCase conversion
Instance Method Detail
fieldSelector describes the limitation on access based on field. It can only limit access, not broaden it.
fieldSelector describes the limitation on access based on field. It can only limit access, not broaden it.
labelSelector describes the limitation on access based on labels. It can only limit access, not broaden it.
labelSelector describes the limitation on access based on labels. It can only limit access, not broaden it.
Name is the name of the resource being requested for a "get" or deleted for a "delete". "" (empty) means all.
Name is the name of the resource being requested for a "get" or deleted for a "delete". "" (empty) means all.
Namespace is the namespace of the action being requested. Currently, there is no distinction between no namespace and all namespaces "" (empty) is defaulted for LocalSubjectAccessReviews "" (empty) is empty for cluster-scoped resources "" (empty) means "all" for namespace scoped resources from a SubjectAccessReview or SelfSubjectAccessReview
Namespace is the namespace of the action being requested. Currently, there is no distinction between no namespace and all namespaces "" (empty) is defaulted for LocalSubjectAccessReviews "" (empty) is empty for cluster-scoped resources "" (empty) means "all" for namespace scoped resources from a SubjectAccessReview or SelfSubjectAccessReview
Resource is one of the existing resource types. "*" means all.
Subresource is one of the existing resource types. "" means none.
Verb is a kubernetes resource API verb, like: get, list, watch, create, update, delete, proxy. "*" means all.
Verb is a kubernetes resource API verb, like: get, list, watch, create, update, delete, proxy. "*" means all.