File tree Expand file tree Collapse file tree 1 file changed +9
-0
lines changed
crates/stackable-versioned-macros/src/attrs/common Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -134,6 +134,7 @@ pub(crate) struct OptionAttributes {
134
134
///
135
135
/// Supported attributes are:
136
136
///
137
+ /// - `skip`, which controls skipping parts of the generation.
137
138
/// - `kind`, which allows overwriting the kind field of the CRD. This defaults
138
139
/// to the struct name (without the 'Spec' suffix).
139
140
/// - `group`, which sets the CRD group, usually the domain of the company.
@@ -144,8 +145,16 @@ pub(crate) struct KubernetesAttributes {
144
145
pub ( crate ) group : String ,
145
146
}
146
147
148
+ /// This struct contains supported kubernetes skip attributes.
149
+ ///
150
+ /// Supported attributes are:
151
+ ///
152
+ /// - `merged_crd` flag, which skips generating the `crd()` and `merged_crd()`
153
+ /// functions are generated.
147
154
#[ derive( Clone , Debug , FromMeta ) ]
148
155
pub ( crate ) struct KubernetesSkipAttributes {
156
+ /// Whether the `crd()` and `merged_crd()` generation should be skipped for
157
+ /// this container.
149
158
pub ( crate ) merged_crd : Flag ,
150
159
}
151
160
You can’t perform that action at this time.
0 commit comments