with enum

This commit is contained in:
2023-01-29 20:14:52 +01:00
parent 0bf6b0e91e
commit 2a1f7c3f26
14 changed files with 97 additions and 19 deletions

View File

@@ -9,4 +9,6 @@ description = "A dagger sdk for rust, written in rust"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
dagger-core = { path = "../dagger-core" }
genco = "0.17.3"

View File

@@ -1,23 +1,25 @@
use dagger_core::Scalar;
// code generated by dagger. DO NOT EDIT.
/// A global cache volume identifier.
pub struct CacheID(Scalar);
/// A content-addressed directory identifier.
pub struct DirectoryID(Scalar);
/// A content-addressed socket identifier.
pub struct SocketID(Scalar);
/// A unique container identifier. Null designates an empty container (scratch).
pub struct ContainerID(Scalar);
/// A file identifier.
pub struct FileID(Scalar);
/// The platform config OS and architecture in a Container.
/// The format is [os]/[platform]/[version] (e.g. darwin/arm64/v7, windows/amd64, linux/arm64).
pub struct Platform(Scalar);
/// A unique container identifier. Null designates an empty container (scratch).
pub struct ContainerID(Scalar);
/// A content-addressed directory identifier.
pub struct DirectoryID(Scalar);
/// A unique identifier for a secret.
pub struct SecretID(Scalar);
/// A file identifier.
pub struct FileID(Scalar);
/// A global cache volume identifier.
pub struct CacheID(Scalar);