Struct k8s_openapi::api::networking::v1alpha1::IPAddress
source · pub struct IPAddress {
pub metadata: ObjectMeta,
pub spec: Option<IPAddressSpec>,
}
Expand description
IPAddress represents a single IP of a single IP Family. The object is designed to be used by APIs that operate on IP addresses. The object is used by the Service core API for allocation of IP addresses. An IP address can be represented in different formats, to guarantee the uniqueness of the IP, the name of the object is the IP address in canonical format, four decimal digits separated by dots suppressing leading zeros for IPv4 and the representation defined by RFC 5952 for IPv6. Valid: 192.168.1.5 or 2001:db8::1 or 2001:db8:aaaa:bbbb:cccc:dddd:eeee:1 Invalid: 10.01.2.3 or 2001:db8:0:0:0::1
Fields§
§metadata: ObjectMeta
Standard object’s metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
spec: Option<IPAddressSpec>
spec is the desired state of the IPAddress. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
Trait Implementations§
source§impl DeepMerge for IPAddress
impl DeepMerge for IPAddress
source§fn merge_from(&mut self, other: Self)
fn merge_from(&mut self, other: Self)
other
into self
.source§impl<'de> Deserialize<'de> for IPAddress
impl<'de> Deserialize<'de> for IPAddress
source§fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
source§impl ListableResource for IPAddress
impl ListableResource for IPAddress
source§impl PartialEq for IPAddress
impl PartialEq for IPAddress
source§impl Resource for IPAddress
impl Resource for IPAddress
source§const API_VERSION: &'static str = "networking.k8s.io/v1alpha1"
const API_VERSION: &'static str = "networking.k8s.io/v1alpha1"
Resource::GROUP
and Resource::VERSION
(eg "apiextensions.k8s.io/v1beta1"
)
or just the version for resources without a group (eg "v1"
). Read more