pub struct PlanNode {
pub name: String,
pub kind: String,
pub spec: ContainerSpec,
pub outputs: ResourceOutputs,
pub depends_on: Vec<String>,
}Expand description
A single resource to manage, with its resolved ContainerSpec,
its exposed outputs and its explicit dependencies.
Fields§
§name: StringResource name as declared in the manifest.
kind: StringResource kind discriminant (postgres, redis, container,
dockerfile), mirrored from the manifest.
spec: ContainerSpecContainer specification derived from the manifest.
outputs: ResourceOutputsOutputs the resource exposes to its dependents (host, port, password, url, …).
depends_on: Vec<String>Names of resources this one depends on.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for PlanNode
impl RefUnwindSafe for PlanNode
impl Send for PlanNode
impl Sync for PlanNode
impl Unpin for PlanNode
impl UnsafeUnpin for PlanNode
impl UnwindSafe for PlanNode
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§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>
Wrap the input message
T in a tonic::Request