pub struct GenerateOptions {
pub keep_full_comment: bool,
pub uncomment: bool,
pub helm_docs_compatibility_mode: bool,
pub dont_strip_helm_docs_prefix: bool,
pub dont_add_global: bool,
pub skip_auto_generation: Vec<SkipField>,
pub no_dependencies: bool,
pub dependencies_filter: Vec<String>,
pub skip_dependencies_schema_validation: bool,
pub keep_existing_dep_schemas: bool,
pub files: BTreeMap<String, String>,
}Expand description
The options of helm-schema that change the generated schema (the flags of its CLI).
Fields§
§keep_full_comment: boolFlag --keep-full-comment: keep the whole leading comment instead of cutting at the
last empty line.
uncomment: boolFlag --uncomment: read comments that hold valid YAML as YAML.
helm_docs_compatibility_mode: boolFlag --helm-docs-compatibility-mode: read helm-docs comments (# -- ...).
dont_strip_helm_docs_prefix: boolFlag --dont-strip-helm-docs-prefix: keep helm-docs -- prefixes and @tags in
descriptions.
dont_add_global: boolFlag --dont-add-global: do not add the global property.
skip_auto_generation: Vec<SkipField>Flag --skip-auto-generation: fields that are not generated by default.
no_dependencies: boolFlag --no-dependencies: do not merge subcharts into the schema.
dependencies_filter: Vec<String>Flag --dependencies-filter: merge only the dependencies with these names (all when
empty).
skip_dependencies_schema_validation: boolFlag --skip-dependencies-schema-validation: remove dependencies from required and let
them accept additional properties.
keep_existing_dep_schemas: boolFlag --keep-existing-dep-schemas: use the values.schema.json a subchart already has
instead of generating one from its values.
files: BTreeMap<String, String>The files a relative $ref can name, by path relative to the chart root, with their
content. super::generate_chart adds the files of the chart.
Implementations§
Source§impl GenerateOptions
impl GenerateOptions
Sourcepub fn builder() -> GenerateOptionsBuilder
pub fn builder() -> GenerateOptionsBuilder
Create an instance of GenerateOptions using the builder syntax
Trait Implementations§
Source§impl Clone for GenerateOptions
impl Clone for GenerateOptions
Source§impl Debug for GenerateOptions
impl Debug for GenerateOptions
Source§impl Default for GenerateOptions
impl Default for GenerateOptions
Source§impl PartialEq for GenerateOptions
impl PartialEq for GenerateOptions
impl StructuralPartialEq for GenerateOptions
Auto Trait Implementations§
impl Forget for GenerateOptions
impl Freeze for GenerateOptionswhere
*const u8 is !null: Freeze,
PhantomData<SkipField>: Freeze,
PhantomData<String>: Freeze,
*const LeafNode<String, String> is !null: Freeze,
PhantomData<(Owned, LeafOrInternal)>: Freeze,
PhantomData<Box<(String, String)>>: Freeze,
impl Move for GenerateOptions
impl RefUnwindSafe for GenerateOptions
impl Send for GenerateOptions
impl Sync for GenerateOptions
impl Unpin for GenerateOptions
impl UnsafeUnpin for GenerateOptionswhere
*const u8 is !null: UnsafeUnpin,
PhantomData<SkipField>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
*const LeafNode<String, String> is !null: UnsafeUnpin,
PhantomData<(Owned, LeafOrInternal)>: UnsafeUnpin,
PhantomData<Box<(String, String)>>: UnsafeUnpin,
impl UnwindSafe for GenerateOptions
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more