Skip to content

Commit

Permalink
Cleanup docs (#129)
Browse files Browse the repository at this point in the history
  • Loading branch information
abrisco authored Jan 6, 2025
1 parent 20525d1 commit adf15d7
Showing 1 changed file with 23 additions and 18 deletions.
41 changes: 23 additions & 18 deletions helm/extensions.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -93,26 +93,31 @@ def _register_go_yaml():
build_file = Label("//3rdparty/yaml:BUILD.yaml.bazel"),
)

options = tag_class(attrs = {
"helm_url_templates": attr.string_list(
doc = (
"A url template used to download helm. The template can contain the following " +
"format strings `{platform}` for the helm platform, `{version}` for the helm " +
"version, and `{compression}` for the archive type containing the helm binary."
options = tag_class(
doc = "Options used to configure helm toolchains.",
attrs = {
"helm_url_templates": attr.string_list(
doc = (
"A url template used to download helm. The template can contain the following " +
"format strings `{platform}` for the helm platform, `{version}` for the helm " +
"version, and `{compression}` for the archive type containing the helm binary."
),
default = DEFAULT_HELM_URL_TEMPLATES,
),
default = DEFAULT_HELM_URL_TEMPLATES,
),
"plugins": attr.string_list(
doc = "A list of plugins to add to the generated toolchain.",
default = [],
),
"version": attr.string(
doc = "The version of helm to download for the toolchain.",
default = DEFAULT_HELM_VERSION,
),
})
"plugins": attr.string_list(
doc = "A list of plugins to add to the generated toolchain.",
default = [],
),
"version": attr.string(
doc = "The version of helm to download for the toolchain.",
default = DEFAULT_HELM_VERSION,
),
},
)

helm = module_extension(
implementation = _helm_impl,
tag_classes = {"options": options},
tag_classes = {
"options": options,
},
)

0 comments on commit adf15d7

Please sign in to comment.