Struct k8s_openapi::v1_11::api::extensions::v1beta1::NetworkPolicyList
source · pub struct NetworkPolicyList {
pub api_version: Option<String>,
pub items: Vec<NetworkPolicy>,
pub kind: Option<String>,
pub metadata: Option<ListMeta>,
}
Expand description
DEPRECATED 1.9 - This group version of NetworkPolicyList is deprecated by networking/v1/NetworkPolicyList. Network Policy List is a list of NetworkPolicy objects.
Fields§
§api_version: Option<String>
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
items: Vec<NetworkPolicy>
Items is a list of schema objects.
kind: Option<String>
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
metadata: Option<ListMeta>
Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata
Trait Implementations§
source§impl Clone for NetworkPolicyList
impl Clone for NetworkPolicyList
source§fn clone(&self) -> NetworkPolicyList
fn clone(&self) -> NetworkPolicyList
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more