Enum google_api_proto::google::cloud::gkehub::servicemesh::v1beta::membership_state::condition::Code
source · #[repr(i32)]pub enum Code {
Show 27 variants
Unspecified = 0,
MeshIamPermissionDenied = 100,
CniConfigUnsupported = 201,
GkeSandboxUnsupported = 202,
NodepoolWorkloadIdentityFederationRequired = 203,
CniInstallationFailed = 204,
CniPodUnschedulable = 205,
UnsupportedMultipleControlPlanes = 301,
VpcscGaSupported = 302,
ConfigApplyInternalError = 401,
ConfigValidationError = 402,
ConfigValidationWarning = 403,
QuotaExceededBackendServices = 404,
QuotaExceededHealthChecks = 405,
QuotaExceededHttpRoutes = 406,
QuotaExceededTcpRoutes = 407,
QuotaExceededTlsRoutes = 408,
QuotaExceededTrafficPolicies = 409,
QuotaExceededEndpointPolicies = 410,
QuotaExceededGateways = 411,
QuotaExceededMeshes = 412,
QuotaExceededServerTlsPolicies = 413,
QuotaExceededClientTlsPolicies = 414,
QuotaExceededServiceLbPolicies = 415,
QuotaExceededHttpFilters = 416,
QuotaExceededTcpFilters = 417,
QuotaExceededNetworkEndpointGroups = 418,
}
Expand description
Unique identifier of the condition which describes the condition recognizable to the user.
Variants§
Unspecified = 0
Default Unspecified code
MeshIamPermissionDenied = 100
Mesh IAM permission denied error code
CniConfigUnsupported = 201
CNI config unsupported error code
GkeSandboxUnsupported = 202
GKE sandbox unsupported error code
NodepoolWorkloadIdentityFederationRequired = 203
Nodepool workload identity federation required error code
CniInstallationFailed = 204
CNI installation failed error code
CniPodUnschedulable = 205
CNI pod unschedulable error code
UnsupportedMultipleControlPlanes = 301
Multiple control planes unsupported error code
VpcscGaSupported = 302
VPC-SC GA is supported for this control plane.
ConfigApplyInternalError = 401
Configuration (Istio/k8s resources) failed to apply due to internal error.
ConfigValidationError = 402
Configuration failed to be applied due to being invalid.
ConfigValidationWarning = 403
Encountered configuration(s) with possible unintended behavior or invalid configuration. These configs may not have been applied.
QuotaExceededBackendServices = 404
BackendService quota exceeded error code.
QuotaExceededHealthChecks = 405
HealthCheck quota exceeded error code.
QuotaExceededHttpRoutes = 406
HTTPRoute quota exceeded error code.
QuotaExceededTcpRoutes = 407
TCPRoute quota exceeded error code.
QuotaExceededTlsRoutes = 408
TLS routes quota exceeded error code.
QuotaExceededTrafficPolicies = 409
TrafficPolicy quota exceeded error code.
QuotaExceededEndpointPolicies = 410
EndpointPolicy quota exceeded error code.
QuotaExceededGateways = 411
Gateway quota exceeded error code.
QuotaExceededMeshes = 412
Mesh quota exceeded error code.
QuotaExceededServerTlsPolicies = 413
ServerTLSPolicy quota exceeded error code.
QuotaExceededClientTlsPolicies = 414
ClientTLSPolicy quota exceeded error code.
QuotaExceededServiceLbPolicies = 415
ServiceLBPolicy quota exceeded error code.
QuotaExceededHttpFilters = 416
HTTPFilter quota exceeded error code.
QuotaExceededTcpFilters = 417
TCPFilter quota exceeded error code.
QuotaExceededNetworkEndpointGroups = 418
NetworkEndpointGroup quota exceeded error code.
Implementations§
source§impl Code
impl Code
sourcepub fn as_str_name(&self) -> &'static str
pub fn as_str_name(&self) -> &'static str
String value of the enum field names used in the ProtoBuf definition.
The values are not transformed in any way and thus are considered stable (if the ProtoBuf definition does not change) and safe for programmatic use.
sourcepub fn from_str_name(value: &str) -> Option<Self>
pub fn from_str_name(value: &str) -> Option<Self>
Creates an enum from field names used in the ProtoBuf definition.
Trait Implementations§
source§impl Ord for Code
impl Ord for Code
source§impl PartialEq for Code
impl PartialEq for Code
source§impl PartialOrd for Code
impl PartialOrd for Code
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
self
and other
) and is used by the <=
operator. Read moresource§impl TryFrom<i32> for Code
impl TryFrom<i32> for Code
§type Error = UnknownEnumValue
type Error = UnknownEnumValue
impl Copy for Code
impl Eq for Code
impl StructuralPartialEq for Code
Auto Trait Implementations§
impl Freeze for Code
impl RefUnwindSafe for Code
impl Send for Code
impl Sync for Code
impl Unpin for Code
impl UnwindSafe for Code
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<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key
and return true
if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key
and return true
if they are equal.§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