#[non_exhaustive]pub struct ClusterNetworking {
pub cluster_ipv4_cidr_blocks: Vec<String>,
pub services_ipv4_cidr_blocks: Vec<String>,
/* private fields */
}Expand description
Cluster-wide networking configuration.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.cluster_ipv4_cidr_blocks: Vec<String>Required. All pods in the cluster are assigned an RFC1918 IPv4 address from these blocks. Only a single block is supported. This field cannot be changed after creation.
services_ipv4_cidr_blocks: Vec<String>Required. All services in the cluster are assigned an RFC1918 IPv4 address from these blocks. Only a single block is supported. This field cannot be changed after creation.
Implementations§
Source§impl ClusterNetworking
impl ClusterNetworking
pub fn new() -> Self
Sourcepub fn set_cluster_ipv4_cidr_blocks<T, V>(self, v: T) -> Self
pub fn set_cluster_ipv4_cidr_blocks<T, V>(self, v: T) -> Self
Sets the value of cluster_ipv4_cidr_blocks.
Sourcepub fn set_services_ipv4_cidr_blocks<T, V>(self, v: T) -> Self
pub fn set_services_ipv4_cidr_blocks<T, V>(self, v: T) -> Self
Sets the value of services_ipv4_cidr_blocks.
Trait Implementations§
Source§impl Clone for ClusterNetworking
impl Clone for ClusterNetworking
Source§fn clone(&self) -> ClusterNetworking
fn clone(&self) -> ClusterNetworking
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ClusterNetworking
impl Debug for ClusterNetworking
Source§impl Default for ClusterNetworking
impl Default for ClusterNetworking
Source§fn default() -> ClusterNetworking
fn default() -> ClusterNetworking
Returns the “default value” for a type. Read more
Source§impl Message for ClusterNetworking
impl Message for ClusterNetworking
Source§impl PartialEq for ClusterNetworking
impl PartialEq for ClusterNetworking
impl StructuralPartialEq for ClusterNetworking
Auto Trait Implementations§
impl Freeze for ClusterNetworking
impl RefUnwindSafe for ClusterNetworking
impl Send for ClusterNetworking
impl Sync for ClusterNetworking
impl Unpin for ClusterNetworking
impl UnwindSafe for ClusterNetworking
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more