File tree Expand file tree Collapse file tree 1 file changed +5
-0
lines changed
crates/stackable-versioned-macros/src/codegen/container Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -80,6 +80,9 @@ impl Container {
80
80
}
81
81
}
82
82
83
+ /// Generates Kubernetes specific code for the container.
84
+ ///
85
+ /// This includes CRD merging, CRD conversion, and the conversion tracking status struct.
83
86
pub fn generate_kubernetes_code (
84
87
& self ,
85
88
versions : & [ VersionDefinition ] ,
@@ -93,6 +96,7 @@ impl Container {
93
96
}
94
97
}
95
98
99
+ /// Generates KUbernetes specific code for individual versions.
96
100
pub fn generate_kubernetes_version_items (
97
101
& self ,
98
102
version : & VersionDefinition ,
@@ -103,6 +107,7 @@ impl Container {
103
107
}
104
108
}
105
109
110
+ /// Returns the original ident of the container.
106
111
pub fn get_original_ident ( & self ) -> & Ident {
107
112
match & self {
108
113
Container :: Struct ( s) => s. common . idents . original . as_ident ( ) ,
You can’t perform that action at this time.
0 commit comments