pub struct ARecordParams<'a> {
pub name: &'a str,
pub target_namespace: &'a str,
pub record_name: &'a str,
pub ips: &'a [String],
pub ttl: Option<i32>,
pub cluster_name: &'a str,
pub ingress_namespace: &'a str,
pub ingress_name: &'a str,
pub zone: &'a str,
}Expand description
Parameters for building an ARecord CR.
Fields§
§name: &'a strKubernetes resource name for the ARecord CR
target_namespace: &'a strNamespace where the ARecord CR will be created
record_name: &'a strDNS record name within the zone (e.g. "app" or "@")
ips: &'a [String]IPv4 addresses to use for the record (one or more)
ttl: Option<i32>Optional TTL override in seconds
cluster_name: &'a strLogical name of the source cluster (for labels)
ingress_namespace: &'a strSource Ingress namespace (for labels)
ingress_name: &'a strSource Ingress name (for labels)
zone: &'a strDNS zone name (for labels)
Auto Trait Implementations§
impl<'a> Freeze for ARecordParams<'a>
impl<'a> RefUnwindSafe for ARecordParams<'a>
impl<'a> Send for ARecordParams<'a>
impl<'a> Sync for ARecordParams<'a>
impl<'a> Unpin for ARecordParams<'a>
impl<'a> UnwindSafe for ARecordParams<'a>
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
§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> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request§impl<L> LayerExt<L> for L
impl<L> LayerExt<L> for L
§fn named_layer<S>(&self, service: S) -> Layered<<L as Layer<S>>::Service, S>where
L: Layer<S>,
fn named_layer<S>(&self, service: S) -> Layered<<L as Layer<S>>::Service, S>where
L: Layer<S>,
Applies the layer to a service and wraps it in [
Layered].§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
§impl<T> ServiceExt for T
impl<T> ServiceExt for T
§fn map_response_body<F>(self, f: F) -> MapResponseBody<Self, F>where
Self: Sized,
fn map_response_body<F>(self, f: F) -> MapResponseBody<Self, F>where
Self: Sized,
Apply a transformation to the response body. Read more
§fn trace_for_http(self) -> Trace<Self, SharedClassifier<ServerErrorsAsFailures>>where
Self: Sized,
fn trace_for_http(self) -> Trace<Self, SharedClassifier<ServerErrorsAsFailures>>where
Self: Sized,
High level tracing that classifies responses using HTTP status codes. Read more
§fn trace_for_grpc(self) -> Trace<Self, SharedClassifier<GrpcErrorsAsFailures>>where
Self: Sized,
fn trace_for_grpc(self) -> Trace<Self, SharedClassifier<GrpcErrorsAsFailures>>where
Self: Sized,
High level tracing that classifies responses using gRPC headers. Read more