pub struct KubernetesOrchestratorConfig {
pub context: String,
pub scheduler_name: Option<String>,
pub service_labels: BTreeMap<String, String>,
pub service_node_selector: BTreeMap<String, String>,
pub service_account: Option<String>,
pub image_pull_policy: KubernetesImagePullPolicy,
pub aws_external_id_prefix: Option<AwsExternalIdPrefix>,
pub coverage: bool,
pub ephemeral_volume_storage_class: Option<String>,
pub service_fs_group: Option<i64>,
pub name_prefix: Option<String>,
}
Expand description
Configures a KubernetesOrchestrator
.
Fields§
§context: String
The name of a Kubernetes context to use, if the Kubernetes configuration is loaded from the local kubeconfig.
scheduler_name: Option<String>
The name of a non-default Kubernetes scheduler to use, if any.
service_labels: BTreeMap<String, String>
Labels to install on every service created by the orchestrator.
service_node_selector: BTreeMap<String, String>
Node selector to install on every service created by the orchestrator.
service_account: Option<String>
The service account that each service should run as, if any.
image_pull_policy: KubernetesImagePullPolicy
The image pull policy to set for services created by the orchestrator.
aws_external_id_prefix: Option<AwsExternalIdPrefix>
An AWS external ID prefix to use when making AWS operations on behalf of the environment.
coverage: bool
Whether to use code coverage mode or not. Always false for production.
ephemeral_volume_storage_class: Option<String>
The Kubernetes StorageClass to use for the ephemeral volume attached to services that request disk.
If unspecified, the orchestrator will refuse to create services that request disk.
service_fs_group: Option<i64>
The optional fs group for service’s pods’ securityContext
.
name_prefix: Option<String>
The prefix to prepend to all object names
Trait Implementations§
Source§impl Clone for KubernetesOrchestratorConfig
impl Clone for KubernetesOrchestratorConfig
Source§fn clone(&self) -> KubernetesOrchestratorConfig
fn clone(&self) -> KubernetesOrchestratorConfig
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreAuto Trait Implementations§
impl Freeze for KubernetesOrchestratorConfig
impl RefUnwindSafe for KubernetesOrchestratorConfig
impl Send for KubernetesOrchestratorConfig
impl Sync for KubernetesOrchestratorConfig
impl Unpin for KubernetesOrchestratorConfig
impl UnwindSafe for KubernetesOrchestratorConfig
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)Source§impl<T> FutureExt for T
impl<T> FutureExt for T
Source§fn with_context(self, otel_cx: Context) -> WithContext<Self>
fn with_context(self, otel_cx: Context) -> WithContext<Self>
Source§fn with_current_context(self) -> WithContext<Self>
fn with_current_context(self) -> WithContext<Self>
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§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
Source§impl<T, U> OverrideFrom<Option<&T>> for Uwhere
U: OverrideFrom<T>,
impl<T, U> OverrideFrom<Option<&T>> for Uwhere
U: OverrideFrom<T>,
Source§impl<T> Pointable for T
impl<T> Pointable for T
Source§impl<T> ProgressEventTimestamp for T
impl<T> ProgressEventTimestamp for T
Source§impl<P, R> ProtoType<R> for Pwhere
R: RustType<P>,
impl<P, R> ProtoType<R> for Pwhere
R: RustType<P>,
Source§fn into_rust(self) -> Result<R, TryFromProtoError>
fn into_rust(self) -> Result<R, TryFromProtoError>
RustType::from_proto
.Source§fn from_rust(rust: &R) -> P
fn from_rust(rust: &R) -> P
RustType::into_proto
.Source§impl<'a, S, T> Semigroup<&'a S> for Twhere
T: Semigroup<S>,
impl<'a, S, T> Semigroup<&'a S> for Twhere
T: Semigroup<S>,
Source§fn plus_equals(&mut self, rhs: &&'a S)
fn plus_equals(&mut self, rhs: &&'a S)
std::ops::AddAssign
, for types that do not implement AddAssign
.