buildkit-llb 0.2.0

Idiomatic high-level API to create BuildKit LLB graphs
Documentation
1
2
3
4
5
6
7
8
9
10
use std::fmt::Debug;

use super::{Context, OperationId};
use super::{Node, Result};

pub(crate) trait Operation: Debug + Send + Sync {
    fn id(&self) -> &OperationId;

    fn serialize(&self, cx: &mut Context) -> Result<Node>;
}