Enum google_api_proto::google::cloud::orchestration::airflow::service::v1::ip_allocation_policy::ClusterIpAllocation
source · pub enum ClusterIpAllocation {
ClusterSecondaryRangeName(String),
ClusterIpv4CidrBlock(String),
}
Expand description
Configuration of allocating IP addresses for pods in the GKE cluster.
Variants§
ClusterSecondaryRangeName(String)
Optional. The name of the GKE cluster’s secondary range used to allocate IP addresses to pods.
For Cloud Composer environments in versions composer-1..-airflow-..*,
this field is applicable only when use_ip_aliases
is true.
ClusterIpv4CidrBlock(String)
Optional. The IP address range used to allocate IP addresses to pods in the GKE cluster.
For Cloud Composer environments in versions composer-1..-airflow-..*,
this field is applicable only when use_ip_aliases
is true.
Set to blank to have GKE choose a range with the default size.
Set to /netmask (e.g. /14
) to have GKE choose a range with a specific
netmask.
Set to a
CIDR
notation (e.g. 10.96.0.0/14
) from the RFC-1918 private networks (e.g.
10.0.0.0/8
, 172.16.0.0/12
, 192.168.0.0/16
) to pick a specific range
to use.
Implementations§
source§impl ClusterIpAllocation
impl ClusterIpAllocation
sourcepub fn merge<B>(
field: &mut Option<ClusterIpAllocation>,
tag: u32,
wire_type: WireType,
buf: &mut B,
ctx: DecodeContext
) -> Result<(), DecodeError>where
B: Buf,
pub fn merge<B>(
field: &mut Option<ClusterIpAllocation>,
tag: u32,
wire_type: WireType,
buf: &mut B,
ctx: DecodeContext
) -> Result<(), DecodeError>where
B: Buf,
Decodes an instance of the message from a buffer, and merges it into self.
sourcepub fn encoded_len(&self) -> usize
pub fn encoded_len(&self) -> usize
Returns the encoded length of the message without a length delimiter.
Trait Implementations§
source§impl Clone for ClusterIpAllocation
impl Clone for ClusterIpAllocation
source§fn clone(&self) -> ClusterIpAllocation
fn clone(&self) -> ClusterIpAllocation
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ClusterIpAllocation
impl Debug for ClusterIpAllocation
source§impl PartialEq for ClusterIpAllocation
impl PartialEq for ClusterIpAllocation
source§fn eq(&self, other: &ClusterIpAllocation) -> bool
fn eq(&self, other: &ClusterIpAllocation) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ClusterIpAllocation
Auto Trait Implementations§
impl Freeze for ClusterIpAllocation
impl RefUnwindSafe for ClusterIpAllocation
impl Send for ClusterIpAllocation
impl Sync for ClusterIpAllocation
impl Unpin for ClusterIpAllocation
impl UnwindSafe for ClusterIpAllocation
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T
in a tonic::Request