Trait k8s_openapi::Resource[][src]

pub trait Resource {
    const API_VERSION: &'static str;
    const GROUP: &'static str;
    const KIND: &'static str;
    const VERSION: &'static str;
}
Expand description

A trait applied to all Kubernetes resources.

Associated Constants

const API_VERSION: &'static str[src]

The API version of the resource. This is a composite of Resource::GROUP and Resource::VERSION (eg "apiextensions.k8s.io/v1beta1") or just the version for resources without a group (eg "v1").

This is the string used in the apiVersion field of the resource’s serialized form.

const GROUP: &'static str[src]

The group of the resource, or the empty string if the resource doesn’t have a group.

const KIND: &'static str[src]

The kind of the resource.

This is the string used in the kind field of the resource’s serialized form.

const VERSION: &'static str[src]

The version of the resource.

Implementors

impl Resource for MutatingWebhookConfiguration[src]

const API_VERSION: &'static str[src]

const GROUP: &'static str[src]

const KIND: &'static str[src]

const VERSION: &'static str[src]

impl Resource for ValidatingWebhookConfiguration[src]

const API_VERSION: &'static str[src]

const GROUP: &'static str[src]

const KIND: &'static str[src]

const VERSION: &'static str[src]

impl Resource for k8s_openapi::api::apps::v1::ControllerRevision[src]

const API_VERSION: &'static str[src]

const GROUP: &'static str[src]

const KIND: &'static str[src]

const VERSION: &'static str[src]

impl Resource for k8s_openapi::api::apps::v1::DaemonSet[src]

const API_VERSION: &'static str[src]

const GROUP: &'static str[src]

const KIND: &'static str[src]

const VERSION: &'static str[src]

impl Resource for k8s_openapi::api::apps::v1::Deployment[src]

const API_VERSION: &'static str[src]

const GROUP: &'static str[src]

const KIND: &'static str[src]

const VERSION: &'static str[src]

impl Resource for k8s_openapi::api::apps::v1::ReplicaSet[src]

const API_VERSION: &'static str[src]

const GROUP: &'static str[src]

const KIND: &'static str[src]

const VERSION: &'static str[src]

impl Resource for k8s_openapi::api::apps::v1::StatefulSet[src]

const API_VERSION: &'static str[src]

const GROUP: &'static str[src]

const KIND: &'static str[src]

const VERSION: &'static str[src]

impl Resource for k8s_openapi::api::apps::v1beta1::ControllerRevision[src]

const API_VERSION: &'static str[src]

const GROUP: &'static str[src]

const KIND: &'static str[src]

const VERSION: &'static str[src]

impl Resource for k8s_openapi::api::apps::v1beta1::Deployment[src]

const API_VERSION: &'static str[src]

const GROUP: &'static str[src]

const KIND: &'static str[src]

const VERSION: &'static str[src]

impl Resource for k8s_openapi::api::apps::v1beta1::DeploymentRollback[src]

const API_VERSION: &'static str[src]

const GROUP: &'static str[src]

const KIND: &'static str[src]

const VERSION: &'static str[src]

impl Resource for k8s_openapi::api::apps::v1beta1::Scale[src]

const API_VERSION: &'static str[src]

const GROUP: &'static str[src]

const KIND: &'static str[src]

const VERSION: &'static str[src]

impl Resource for k8s_openapi::api::apps::v1beta1::StatefulSet[src]

const API_VERSION: &'static str[src]

const GROUP: &'static str[src]

const KIND: &'static str[src]

const VERSION: &'static str[src]

impl Resource for k8s_openapi::api::apps::v1beta2::ControllerRevision[src]

const API_VERSION: &'static str[src]

const GROUP: &'static str[src]

const KIND: &'static str[src]

const VERSION: &'static str[src]

impl Resource for k8s_openapi::api::apps::v1beta2::DaemonSet[src]

const API_VERSION: &'static str[src]

const GROUP: &'static str[src]

const KIND: &'static str[src]

const VERSION: &'static str[src]

impl Resource for k8s_openapi::api::apps::v1beta2::Deployment[src]

const API_VERSION: &'static str[src]

const GROUP: &'static str[src]

const KIND: &'static str[src]

const VERSION: &'static str[src]

impl Resource for k8s_openapi::api::apps::v1beta2::ReplicaSet[src]

const API_VERSION: &'static str[src]

const GROUP: &'static str[src]

const KIND: &'static str[src]

const VERSION: &'static str[src]

impl Resource for k8s_openapi::api::apps::v1beta2::Scale[src]

const API_VERSION: &'static str[src]

const GROUP: &'static str[src]

const KIND: &'static str[src]

const VERSION: &'static str[src]

impl Resource for k8s_openapi::api::apps::v1beta2::StatefulSet[src]

const API_VERSION: &'static str[src]

const GROUP: &'static str[src]

const KIND: &'static str[src]

const VERSION: &'static str[src]

impl Resource for AuditSink[src]

const API_VERSION: &'static str[src]

const GROUP: &'static str[src]

const KIND: &'static str[src]

const VERSION: &'static str[src]

impl Resource for k8s_openapi::api::authentication::v1::TokenReview[src]

const API_VERSION: &'static str[src]

const GROUP: &'static str[src]

const KIND: &'static str[src]

const VERSION: &'static str[src]

impl Resource for k8s_openapi::api::authentication::v1beta1::TokenReview[src]

const API_VERSION: &'static str[src]

const GROUP: &'static str[src]

const KIND: &'static str[src]

const VERSION: &'static str[src]

impl Resource for k8s_openapi::api::authorization::v1::LocalSubjectAccessReview[src]

const API_VERSION: &'static str[src]

const GROUP: &'static str[src]

const KIND: &'static str[src]

const VERSION: &'static str[src]

impl Resource for k8s_openapi::api::authorization::v1::SelfSubjectAccessReview[src]

const API_VERSION: &'static str[src]

const GROUP: &'static str[src]

const KIND: &'static str[src]

const VERSION: &'static str[src]

impl Resource for k8s_openapi::api::authorization::v1::SelfSubjectRulesReview[src]

const API_VERSION: &'static str[src]

const GROUP: &'static str[src]

const KIND: &'static str[src]

const VERSION: &'static str[src]

impl Resource for k8s_openapi::api::authorization::v1::SubjectAccessReview[src]

const API_VERSION: &'static str[src]

const GROUP: &'static str[src]

const KIND: &'static str[src]

const VERSION: &'static str[src]

impl Resource for k8s_openapi::api::authorization::v1beta1::LocalSubjectAccessReview[src]

const API_VERSION: &'static str[src]

const GROUP: &'static str[src]

const KIND: &'static str[src]

const VERSION: &'static str[src]

impl Resource for k8s_openapi::api::authorization::v1beta1::SelfSubjectAccessReview[src]

const API_VERSION: &'static str[src]

const GROUP: &'static str[src]

const KIND: &'static str[src]

const VERSION: &'static str[src]

impl Resource for k8s_openapi::api::authorization::v1beta1::SelfSubjectRulesReview[src]

const API_VERSION: &'static str[src]

const GROUP: &'static str[src]

const KIND: &'static str[src]

const VERSION: &'static str[src]

impl Resource for k8s_openapi::api::authorization::v1beta1::SubjectAccessReview[src]

const API_VERSION: &'static str[src]

const GROUP: &'static str[src]

const KIND: &'static str[src]

const VERSION: &'static str[src]

impl Resource for k8s_openapi::api::autoscaling::v1::HorizontalPodAutoscaler[src]

const API_VERSION: &'static str[src]

const GROUP: &'static str[src]

const KIND: &'static str[src]

const VERSION: &'static str[src]

impl Resource for k8s_openapi::api::autoscaling::v1::Scale[src]

const API_VERSION: &'static str[src]

const GROUP: &'static str[src]

const KIND: &'static str[src]

const VERSION: &'static str[src]

impl Resource for k8s_openapi::api::autoscaling::v2beta1::HorizontalPodAutoscaler[src]

const API_VERSION: &'static str[src]

const GROUP: &'static str[src]

const KIND: &'static str[src]

const VERSION: &'static str[src]

impl Resource for k8s_openapi::api::autoscaling::v2beta2::HorizontalPodAutoscaler[src]

const API_VERSION: &'static str[src]

const GROUP: &'static str[src]

const KIND: &'static str[src]

const VERSION: &'static str[src]

impl Resource for Job[src]

const API_VERSION: &'static str[src]

const GROUP: &'static str[src]

const KIND: &'static str[src]

const VERSION: &'static str[src]

impl Resource for k8s_openapi::api::batch::v1beta1::CronJob[src]

const API_VERSION: &'static str[src]

const GROUP: &'static str[src]

const KIND: &'static str[src]

const VERSION: &'static str[src]

impl Resource for k8s_openapi::api::batch::v2alpha1::CronJob[src]

const API_VERSION: &'static str[src]

const GROUP: &'static str[src]

const KIND: &'static str[src]

const VERSION: &'static str[src]

impl Resource for CertificateSigningRequest[src]

const API_VERSION: &'static str[src]

const GROUP: &'static str[src]

const KIND: &'static str[src]

const VERSION: &'static str[src]

impl Resource for k8s_openapi::api::coordination::v1::Lease[src]

const API_VERSION: &'static str[src]

const GROUP: &'static str[src]

const KIND: &'static str[src]

const VERSION: &'static str[src]

impl Resource for k8s_openapi::api::coordination::v1beta1::Lease[src]

const API_VERSION: &'static str[src]

const GROUP: &'static str[src]

const KIND: &'static str[src]

const VERSION: &'static str[src]

impl Resource for Binding[src]

const API_VERSION: &'static str[src]

const GROUP: &'static str[src]

const KIND: &'static str[src]

const VERSION: &'static str[src]

impl Resource for ComponentStatus[src]

const API_VERSION: &'static str[src]

const GROUP: &'static str[src]

const KIND: &'static str[src]

const VERSION: &'static str[src]

impl Resource for ConfigMap[src]

const API_VERSION: &'static str[src]

const GROUP: &'static str[src]

const KIND: &'static str[src]

const VERSION: &'static str[src]

impl Resource for Endpoints[src]

const API_VERSION: &'static str[src]

const GROUP: &'static str[src]

const KIND: &'static str[src]

const VERSION: &'static str[src]

impl Resource for k8s_openapi::api::core::v1::Event[src]

const API_VERSION: &'static str[src]

const GROUP: &'static str[src]

const KIND: &'static str[src]

const VERSION: &'static str[src]

impl Resource for LimitRange[src]

const API_VERSION: &'static str[src]

const GROUP: &'static str[src]

const KIND: &'static str[src]

const VERSION: &'static str[src]

impl Resource for Namespace[src]

const API_VERSION: &'static str[src]

const GROUP: &'static str[src]

const KIND: &'static str[src]

const VERSION: &'static str[src]

impl Resource for Node[src]

const API_VERSION: &'static str[src]

const GROUP: &'static str[src]

const KIND: &'static str[src]

const VERSION: &'static str[src]

impl Resource for PersistentVolume[src]

const API_VERSION: &'static str[src]

const GROUP: &'static str[src]

const KIND: &'static str[src]

const VERSION: &'static str[src]

impl Resource for PersistentVolumeClaim[src]

const API_VERSION: &'static str[src]

const GROUP: &'static str[src]

const KIND: &'static str[src]

const VERSION: &'static str[src]

impl Resource for Pod[src]

const API_VERSION: &'static str[src]

const GROUP: &'static str[src]

const KIND: &'static str[src]

const VERSION: &'static str[src]

impl Resource for PodTemplate[src]

const API_VERSION: &'static str[src]

const GROUP: &'static str[src]

const KIND: &'static str[src]

const VERSION: &'static str[src]

impl Resource for ReplicationController[src]

const API_VERSION: &'static str[src]

const GROUP: &'static str[src]

const KIND: &'static str[src]

const VERSION: &'static str[src]

impl Resource for ResourceQuota[src]

const API_VERSION: &'static str[src]

const GROUP: &'static str[src]

const KIND: &'static str[src]

const VERSION: &'static str[src]

impl Resource for Secret[src]

const API_VERSION: &'static str[src]

const GROUP: &'static str[src]

const KIND: &'static str[src]

const VERSION: &'static str[src]

impl Resource for Service[src]

const API_VERSION: &'static str[src]

const GROUP: &'static str[src]

const KIND: &'static str[src]

const VERSION: &'static str[src]

impl Resource for ServiceAccount[src]

const API_VERSION: &'static str[src]

const GROUP: &'static str[src]

const KIND: &'static str[src]

const VERSION: &'static str[src]

impl Resource for k8s_openapi::api::events::v1beta1::Event[src]

const API_VERSION: &'static str[src]

const GROUP: &'static str[src]

const KIND: &'static str[src]

const VERSION: &'static str[src]

impl Resource for k8s_openapi::api::extensions::v1beta1::DaemonSet[src]

const API_VERSION: &'static str[src]

const GROUP: &'static str[src]

const KIND: &'static str[src]

const VERSION: &'static str[src]

impl Resource for k8s_openapi::api::extensions::v1beta1::Deployment[src]

const API_VERSION: &'static str[src]

const GROUP: &'static str[src]

const KIND: &'static str[src]

const VERSION: &'static str[src]

impl Resource for k8s_openapi::api::extensions::v1beta1::DeploymentRollback[src]

const API_VERSION: &'static str[src]

const GROUP: &'static str[src]

const KIND: &'static str[src]

const VERSION: &'static str[src]

impl Resource for k8s_openapi::api::extensions::v1beta1::Ingress[src]

const API_VERSION: &'static str[src]

const GROUP: &'static str[src]

const KIND: &'static str[src]

const VERSION: &'static str[src]

impl Resource for k8s_openapi::api::extensions::v1beta1::NetworkPolicy[src]

const API_VERSION: &'static str[src]

const GROUP: &'static str[src]

const KIND: &'static str[src]

const VERSION: &'static str[src]

impl Resource for k8s_openapi::api::extensions::v1beta1::PodSecurityPolicy[src]

const API_VERSION: &'static str[src]

const GROUP: &'static str[src]

const KIND: &'static str[src]

const VERSION: &'static str[src]

impl Resource for k8s_openapi::api::extensions::v1beta1::ReplicaSet[src]

const API_VERSION: &'static str[src]

const GROUP: &'static str[src]

const KIND: &'static str[src]

const VERSION: &'static str[src]

impl Resource for k8s_openapi::api::extensions::v1beta1::Scale[src]

const API_VERSION: &'static str[src]

const GROUP: &'static str[src]

const KIND: &'static str[src]

const VERSION: &'static str[src]

impl Resource for k8s_openapi::api::networking::v1::NetworkPolicy[src]

const API_VERSION: &'static str[src]

const GROUP: &'static str[src]

const KIND: &'static str[src]

const VERSION: &'static str[src]

impl Resource for k8s_openapi::api::networking::v1beta1::Ingress[src]

const API_VERSION: &'static str[src]

const GROUP: &'static str[src]

const KIND: &'static str[src]

const VERSION: &'static str[src]

impl Resource for k8s_openapi::api::node::v1alpha1::RuntimeClass[src]

const API_VERSION: &'static str[src]

const GROUP: &'static str[src]

const KIND: &'static str[src]

const VERSION: &'static str[src]

impl Resource for k8s_openapi::api::node::v1beta1::RuntimeClass[src]

const API_VERSION: &'static str[src]

const GROUP: &'static str[src]

const KIND: &'static str[src]

const VERSION: &'static str[src]

impl Resource for Eviction[src]

const API_VERSION: &'static str[src]

const GROUP: &'static str[src]

const KIND: &'static str[src]

const VERSION: &'static str[src]

impl Resource for PodDisruptionBudget[src]

const API_VERSION: &'static str[src]

const GROUP: &'static str[src]

const KIND: &'static str[src]

const VERSION: &'static str[src]

impl Resource for k8s_openapi::api::policy::v1beta1::PodSecurityPolicy[src]

const API_VERSION: &'static str[src]

const GROUP: &'static str[src]

const KIND: &'static str[src]

const VERSION: &'static str[src]

impl Resource for k8s_openapi::api::rbac::v1::ClusterRole[src]

const API_VERSION: &'static str[src]

const GROUP: &'static str[src]

const KIND: &'static str[src]

const VERSION: &'static str[src]

impl Resource for k8s_openapi::api::rbac::v1::ClusterRoleBinding[src]

const API_VERSION: &'static str[src]

const GROUP: &'static str[src]

const KIND: &'static str[src]

const VERSION: &'static str[src]

impl Resource for k8s_openapi::api::rbac::v1::Role[src]

const API_VERSION: &'static str[src]

const GROUP: &'static str[src]

const KIND: &'static str[src]

const VERSION: &'static str[src]

impl Resource for k8s_openapi::api::rbac::v1::RoleBinding[src]

const API_VERSION: &'static str[src]

const GROUP: &'static str[src]

const KIND: &'static str[src]

const VERSION: &'static str[src]

impl Resource for k8s_openapi::api::rbac::v1alpha1::ClusterRole[src]

const API_VERSION: &'static str[src]

const GROUP: &'static str[src]

const KIND: &'static str[src]

const VERSION: &'static str[src]

impl Resource for k8s_openapi::api::rbac::v1alpha1::ClusterRoleBinding[src]

const API_VERSION: &'static str[src]

const GROUP: &'static str[src]

const KIND: &'static str[src]

const VERSION: &'static str[src]

impl Resource for k8s_openapi::api::rbac::v1alpha1::Role[src]

const API_VERSION: &'static str[src]

const GROUP: &'static str[src]

const KIND: &'static str[src]

const VERSION: &'static str[src]

impl Resource for k8s_openapi::api::rbac::v1alpha1::RoleBinding[src]

const API_VERSION: &'static str[src]

const GROUP: &'static str[src]

const KIND: &'static str[src]

const VERSION: &'static str[src]

impl Resource for k8s_openapi::api::rbac::v1beta1::ClusterRole[src]

const API_VERSION: &'static str[src]

const GROUP: &'static str[src]

const KIND: &'static str[src]

const VERSION: &'static str[src]

impl Resource for k8s_openapi::api::rbac::v1beta1::ClusterRoleBinding[src]

const API_VERSION: &'static str[src]

const GROUP: &'static str[src]

const KIND: &'static str[src]

const VERSION: &'static str[src]

impl Resource for k8s_openapi::api::rbac::v1beta1::Role[src]

const API_VERSION: &'static str[src]

const GROUP: &'static str[src]

const KIND: &'static str[src]

const VERSION: &'static str[src]

impl Resource for k8s_openapi::api::rbac::v1beta1::RoleBinding[src]

const API_VERSION: &'static str[src]

const GROUP: &'static str[src]

const KIND: &'static str[src]

const VERSION: &'static str[src]

impl Resource for k8s_openapi::api::scheduling::v1::PriorityClass[src]

const API_VERSION: &'static str[src]

const GROUP: &'static str[src]

const KIND: &'static str[src]

const VERSION: &'static str[src]

impl Resource for k8s_openapi::api::scheduling::v1alpha1::PriorityClass[src]

const API_VERSION: &'static str[src]

const GROUP: &'static str[src]

const KIND: &'static str[src]

const VERSION: &'static str[src]

impl Resource for k8s_openapi::api::scheduling::v1beta1::PriorityClass[src]

const API_VERSION: &'static str[src]

const GROUP: &'static str[src]

const KIND: &'static str[src]

const VERSION: &'static str[src]

impl Resource for PodPreset[src]

const API_VERSION: &'static str[src]

const GROUP: &'static str[src]

const KIND: &'static str[src]

const VERSION: &'static str[src]

impl Resource for k8s_openapi::api::storage::v1::StorageClass[src]

const API_VERSION: &'static str[src]

const GROUP: &'static str[src]

const KIND: &'static str[src]

const VERSION: &'static str[src]

impl Resource for k8s_openapi::api::storage::v1::VolumeAttachment[src]

const API_VERSION: &'static str[src]

const GROUP: &'static str[src]

const KIND: &'static str[src]

const VERSION: &'static str[src]

impl Resource for k8s_openapi::api::storage::v1alpha1::VolumeAttachment[src]

const API_VERSION: &'static str[src]

const GROUP: &'static str[src]

const KIND: &'static str[src]

const VERSION: &'static str[src]

impl Resource for CSIDriver[src]

const API_VERSION: &'static str[src]

const GROUP: &'static str[src]

const KIND: &'static str[src]

const VERSION: &'static str[src]

impl Resource for CSINode[src]

const API_VERSION: &'static str[src]

const GROUP: &'static str[src]

const KIND: &'static str[src]

const VERSION: &'static str[src]

impl Resource for k8s_openapi::api::storage::v1beta1::StorageClass[src]

const API_VERSION: &'static str[src]

const GROUP: &'static str[src]

const KIND: &'static str[src]

const VERSION: &'static str[src]

impl Resource for k8s_openapi::api::storage::v1beta1::VolumeAttachment[src]

const API_VERSION: &'static str[src]

const GROUP: &'static str[src]

const KIND: &'static str[src]

const VERSION: &'static str[src]

impl Resource for CustomResourceDefinition[src]

const API_VERSION: &'static str[src]

const GROUP: &'static str[src]

const KIND: &'static str[src]

const VERSION: &'static str[src]

impl Resource for APIGroup[src]

const API_VERSION: &'static str[src]

const GROUP: &'static str[src]

const KIND: &'static str[src]

const VERSION: &'static str[src]

impl Resource for APIGroupList[src]

const API_VERSION: &'static str[src]

const GROUP: &'static str[src]

const KIND: &'static str[src]

const VERSION: &'static str[src]

impl Resource for APIResourceList[src]

const API_VERSION: &'static str[src]

const GROUP: &'static str[src]

const KIND: &'static str[src]

const VERSION: &'static str[src]

impl Resource for APIVersions[src]

const API_VERSION: &'static str[src]

const GROUP: &'static str[src]

const KIND: &'static str[src]

const VERSION: &'static str[src]

impl Resource for Status[src]

const API_VERSION: &'static str[src]

const GROUP: &'static str[src]

const KIND: &'static str[src]

const VERSION: &'static str[src]

impl Resource for k8s_openapi::kube_aggregator::pkg::apis::apiregistration::v1::APIService[src]

const API_VERSION: &'static str[src]

const GROUP: &'static str[src]

const KIND: &'static str[src]

const VERSION: &'static str[src]

impl Resource for k8s_openapi::kube_aggregator::pkg::apis::apiregistration::v1beta1::APIService[src]

const API_VERSION: &'static str[src]

const GROUP: &'static str[src]

const KIND: &'static str[src]

const VERSION: &'static str[src]

impl<T> Resource for List<T> where
    T: ListableResource
[src]

const API_VERSION: &'static str[src]

const GROUP: &'static str[src]

const KIND: &'static str[src]

const VERSION: &'static str[src]