pub struct TypesProcessConfig {Show 28 fields
pub args: Vec<String>,
pub command: Option<String>,
pub depends_on: Option<TypesDependsOnConfig>,
pub description: Option<String>,
pub disable_ansi_colors: Option<bool>,
pub disabled: Option<bool>,
pub entrypoint: Vec<String>,
pub environment: Vec<String>,
pub executable: Option<String>,
pub extensions: Map<String, Value>,
pub is_daemon: Option<bool>,
pub is_elevated: Option<bool>,
pub is_foreground: Option<bool>,
pub is_tty: Option<bool>,
pub liveness_probe: Option<HealthProbe>,
pub log_location: Option<String>,
pub logger_config: Option<TypesLoggerConfig>,
pub name: Option<String>,
pub namespace: Option<String>,
pub readiness_probe: Option<HealthProbe>,
pub ready_log_line: Option<String>,
pub replica_name: Option<String>,
pub replica_num: Option<i64>,
pub replicas: Option<i64>,
pub restart_policy: Option<TypesRestartPolicyConfig>,
pub shut_down_params: Option<TypesShutDownParams>,
pub vars: Option<TypesVars>,
pub working_dir: Option<String>,
}Expand description
TypesProcessConfig
JSON schema
{
"type": "object",
"properties": {
"args": {
"type": "array",
"items": {
"type": "string"
}
},
"command": {
"type": "string"
},
"dependsOn": {
"$ref": "#/components/schemas/types.DependsOnConfig"
},
"description": {
"type": "string"
},
"disableAnsiColors": {
"type": "boolean"
},
"disabled": {
"type": "boolean"
},
"entrypoint": {
"type": "array",
"items": {
"type": "string"
}
},
"environment": {
"type": "array",
"items": {
"type": "string"
}
},
"executable": {
"type": "string"
},
"extensions": {
"type": "object",
"additionalProperties": true
},
"isDaemon": {
"type": "boolean"
},
"isElevated": {
"type": "boolean"
},
"isForeground": {
"type": "boolean"
},
"isTty": {
"type": "boolean"
},
"livenessProbe": {
"$ref": "#/components/schemas/health.Probe"
},
"logLocation": {
"type": "string"
},
"loggerConfig": {
"$ref": "#/components/schemas/types.LoggerConfig"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"readinessProbe": {
"$ref": "#/components/schemas/health.Probe"
},
"readyLogLine": {
"type": "string"
},
"replicaName": {
"type": "string"
},
"replicaNum": {
"type": "integer"
},
"replicas": {
"type": "integer"
},
"restartPolicy": {
"$ref": "#/components/schemas/types.RestartPolicyConfig"
},
"shutDownParams": {
"$ref": "#/components/schemas/types.ShutDownParams"
},
"vars": {
"$ref": "#/components/schemas/types.Vars"
},
"workingDir": {
"type": "string"
}
}
}Fields§
§args: Vec<String>§command: Option<String>§depends_on: Option<TypesDependsOnConfig>§description: Option<String>§disable_ansi_colors: Option<bool>§disabled: Option<bool>§entrypoint: Vec<String>§environment: Vec<String>§executable: Option<String>§extensions: Map<String, Value>§is_daemon: Option<bool>§is_elevated: Option<bool>§is_foreground: Option<bool>§is_tty: Option<bool>§liveness_probe: Option<HealthProbe>§log_location: Option<String>§logger_config: Option<TypesLoggerConfig>§name: Option<String>§namespace: Option<String>§readiness_probe: Option<HealthProbe>§ready_log_line: Option<String>§replica_name: Option<String>§replica_num: Option<i64>§replicas: Option<i64>§restart_policy: Option<TypesRestartPolicyConfig>§shut_down_params: Option<TypesShutDownParams>§vars: Option<TypesVars>§working_dir: Option<String>Trait Implementations§
source§impl Clone for TypesProcessConfig
impl Clone for TypesProcessConfig
source§fn clone(&self) -> TypesProcessConfig
fn clone(&self) -> TypesProcessConfig
Returns a copy 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 TypesProcessConfig
impl Debug for TypesProcessConfig
source§impl<'de> Deserialize<'de> for TypesProcessConfig
impl<'de> Deserialize<'de> for TypesProcessConfig
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl From<&TypesProcessConfig> for TypesProcessConfig
impl From<&TypesProcessConfig> for TypesProcessConfig
source§fn from(value: &TypesProcessConfig) -> Self
fn from(value: &TypesProcessConfig) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for TypesProcessConfig
impl RefUnwindSafe for TypesProcessConfig
impl Send for TypesProcessConfig
impl Sync for TypesProcessConfig
impl Unpin for TypesProcessConfig
impl UnwindSafe for TypesProcessConfig
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
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)
🔬This is a nightly-only experimental API. (
clone_to_uninit)