pub enum RuntimePurpose {
Telemetry,
OperatorSync,
RegistryPull,
OperatorOperations,
OperationRelay(CommandTarget),
ReceiveCommands(CommandTarget),
}Expand description
Runtime operations cannot administer deployments or mint credentials.
JSON schema
{
"description": "Runtime operations cannot administer deployments or mint credentials.",
"oneOf": [
{
"description": "Ingest telemetry for the recorded deployment.",
"type": "object",
"required": [
"type"
],
"properties": {
"type": {
"type": "string",
"enum": [
"telemetry"
]
}
}
},
{
"description": "Reconcile the recorded operator deployment.",
"type": "object",
"required": [
"type"
],
"properties": {
"type": {
"type": "string",
"enum": [
"operatorSync"
]
}
}
},
{
"description": "Pull deployment images through the registry receiver.",
"type": "object",
"required": [
"type"
],
"properties": {
"type": {
"type": "string",
"enum": [
"registryPull"
]
}
}
},
{
"description": "Receive the operator's fixed operations queue.",
"type": "object",
"required": [
"type"
],
"properties": {
"type": {
"type": "string",
"enum": [
"operatorOperations"
]
}
}
},
{
"description": "Relay commands to one app worker, without dispatch or administrative rights.",
"type": "object",
"required": [
"target",
"type"
],
"properties": {
"target": {
"$ref": "#/components/schemas/CommandTarget"
},
"type": {
"type": "string",
"enum": [
"operationRelay"
]
}
}
},
{
"description": "Receive commands for one app-owned target.",
"type": "object",
"required": [
"target",
"type"
],
"properties": {
"target": {
"$ref": "#/components/schemas/CommandTarget"
},
"type": {
"type": "string",
"enum": [
"receiveCommands"
]
}
}
}
]
}Variants§
Telemetry
OperatorSync
RegistryPull
OperatorOperations
OperationRelay(CommandTarget)
Relay commands to one app worker, without dispatch or administrative rights.
ReceiveCommands(CommandTarget)
Receive commands for one app-owned target.
Trait Implementations§
Source§impl Clone for RuntimePurpose
impl Clone for RuntimePurpose
Source§impl Debug for RuntimePurpose
impl Debug for RuntimePurpose
Source§impl<'de> Deserialize<'de> for RuntimePurpose
impl<'de> Deserialize<'de> for RuntimePurpose
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<&RuntimePurpose> for RuntimePurpose
impl From<&RuntimePurpose> for RuntimePurpose
Source§fn from(value: &RuntimePurpose) -> Self
fn from(value: &RuntimePurpose) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Forget for RuntimePurpose
impl Freeze for RuntimePurpose
impl Move for RuntimePurpose
impl RefUnwindSafe for RuntimePurpose
impl Send for RuntimePurpose
impl Sync for RuntimePurpose
impl Unpin for RuntimePurpose
impl UnsafeUnpin for RuntimePurpose
impl UnwindSafe for RuntimePurpose
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