pub struct DeploymentResponse {Show 22 fields
pub created_at: String,
pub current_release_id: Option<String>,
pub deployment_group: Option<DeploymentGroupMinimal>,
pub deployment_group_id: String,
pub deployment_protocol_version: i32,
pub desired_release_id: Option<String>,
pub environment_info: Option<Value>,
pub error: Option<Value>,
pub id: String,
pub import_source: Option<ImportSourceKind>,
pub name: String,
pub operator_behind_target: Option<bool>,
pub operator_version: Option<String>,
pub platform: Platform,
pub project_id: String,
pub retry_requested: bool,
pub runtime_metadata: Option<Value>,
pub stack_settings: Option<Value>,
pub stack_state: Option<Value>,
pub status: String,
pub updated_at: Option<String>,
pub workspace_id: String,
}Expand description
DeploymentResponse
JSON schema
{
"type": "object",
"required": [
"createdAt",
"deploymentGroupId",
"deploymentProtocolVersion",
"id",
"name",
"platform",
"projectId",
"retryRequested",
"status",
"workspaceId"
],
"properties": {
"createdAt": {
"type": "string"
},
"currentReleaseId": {
"type": [
"string",
"null"
]
},
"deploymentGroup": {
"oneOf": [
{
"type": "null"
},
{
"allOf": [
{
"$ref": "#/components/schemas/DeploymentGroupMinimal"
}
]
}
]
},
"deploymentGroupId": {
"type": "string"
},
"deploymentProtocolVersion": {
"description": "State protocol stored on this deployment and required by its runtime.",
"type": "integer",
"format": "int32",
"minimum": 0.0
},
"desiredReleaseId": {
"type": [
"string",
"null"
]
},
"environmentInfo": {},
"error": {},
"id": {
"type": "string"
},
"importSource": {
"oneOf": [
{
"type": "null"
},
{
"allOf": [
{
"$ref": "#/components/schemas/ImportSourceKind"
}
]
}
]
},
"name": {
"type": "string"
},
"operatorBehindTarget": {
"description": "Whether that Operator is older than the Operator this manager's charts\ninstall, so the next chart version would upgrade it. Absent when the\nOperator version is unknown, isn't a release version, or this manager\nserves no charts.",
"type": [
"boolean",
"null"
]
},
"operatorVersion": {
"description": "Version of the Operator that last reported this deployment.",
"type": [
"string",
"null"
]
},
"platform": {
"$ref": "#/components/schemas/Platform"
},
"projectId": {
"description": "Required by the platform-SDK Deployment schema. Standalone is\nsingle-tenant; reuse the same synthetic project id used in the\ndeployment-groups route.",
"type": "string"
},
"retryRequested": {
"type": "boolean"
},
"runtimeMetadata": {},
"stackSettings": {},
"stackState": {},
"status": {
"type": "string"
},
"updatedAt": {
"type": [
"string",
"null"
]
},
"workspaceId": {
"description": "Required by the platform-SDK Deployment schema.",
"type": "string"
}
}
}Fields§
§created_at: String§current_release_id: Option<String>§deployment_group: Option<DeploymentGroupMinimal>§deployment_group_id: String§deployment_protocol_version: i32State protocol stored on this deployment and required by its runtime.
desired_release_id: Option<String>§environment_info: Option<Value>§error: Option<Value>§id: String§import_source: Option<ImportSourceKind>§name: String§operator_behind_target: Option<bool>Whether that Operator is older than the Operator this manager’s charts install, so the next chart version would upgrade it. Absent when the Operator version is unknown, isn’t a release version, or this manager serves no charts.
operator_version: Option<String>Version of the Operator that last reported this deployment.
platform: Platform§project_id: StringRequired by the platform-SDK Deployment schema. Standalone is single-tenant; reuse the same synthetic project id used in the deployment-groups route.
retry_requested: bool§runtime_metadata: Option<Value>§stack_settings: Option<Value>§stack_state: Option<Value>§status: String§updated_at: Option<String>§workspace_id: StringRequired by the platform-SDK Deployment schema.
Implementations§
Source§impl DeploymentResponse
impl DeploymentResponse
pub fn builder() -> DeploymentResponse
Trait Implementations§
Source§impl Clone for DeploymentResponse
impl Clone for DeploymentResponse
Source§impl Debug for DeploymentResponse
impl Debug for DeploymentResponse
Source§impl<'de> Deserialize<'de> for DeploymentResponse
impl<'de> Deserialize<'de> for DeploymentResponse
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<&DeploymentResponse> for DeploymentResponse
impl From<&DeploymentResponse> for DeploymentResponse
Source§fn from(value: &DeploymentResponse) -> Self
fn from(value: &DeploymentResponse) -> Self
Converts to this type from the input type.
Source§impl From<DeploymentResponse> for DeploymentResponse
impl From<DeploymentResponse> for DeploymentResponse
Source§fn from(value: DeploymentResponse) -> Self
fn from(value: DeploymentResponse) -> Self
Converts to this type from the input type.
Source§impl Serialize for DeploymentResponse
impl Serialize for DeploymentResponse
Source§impl TryFrom<DeploymentResponse> for DeploymentResponse
impl TryFrom<DeploymentResponse> for DeploymentResponse
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: DeploymentResponse) -> Result<Self, ConversionError>
fn try_from(value: DeploymentResponse) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Forget for DeploymentResponse
impl Freeze for DeploymentResponse
impl Move for DeploymentResponse
impl RefUnwindSafe for DeploymentResponse
impl Send for DeploymentResponse
impl Sync for DeploymentResponse
impl Unpin for DeploymentResponse
impl UnsafeUnpin for DeploymentResponse
impl UnwindSafe for DeploymentResponse
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