helm-docs
A tool for automatically generating markdown documentation for helm charts.
Installation
dagger install github.com/jedevc/daggerverse-sagikazarmark/helm-docs@a104424df38ca8b0b758f699dcfeeb0c2210cc2e
Entrypoint
Return Type
HelmDocs !
Arguments
Name | Type | Description |
---|---|---|
version | String | Version (image tag) to use from the official image repository as a base container. |
container | Container | Custom container to use as a base container. |
Example
dagger -m github.com/jedevc/daggerverse-sagikazarmark/helm-docs@a104424df38ca8b0b758f699dcfeeb0c2210cc2e call \
func (m *myModule) example() *HelmDocs {
return dag.
HelmDocs()
}
@function
def example() -> dag.HelmDocs:
return (
dag.helm_docs()
)
@func()
example(): HelmDocs {
return dag
.helmDocs()
}
Types
HelmDocs 🔗
generate() 🔗
Generate markdown documentation for Helm charts from requirements and values files.
Return Type
File !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
chart | Directory ! | - | A directory containing a Helm chart. |
templates | [File ! ] | - | A list of Go template files to use for rendering the documentation. |
sortValuesOrder | String | - | Order in which to sort the values table ("alphanum" or "file"). (default "alphanum") |
Example
dagger -m github.com/jedevc/daggerverse-sagikazarmark/helm-docs@a104424df38ca8b0b758f699dcfeeb0c2210cc2e call \
generate --chart DIR_PATH
func (m *myModule) example(chart *Directory) *File {
return dag.
HelmDocs().
Generate(chart)
}
@function
def example(chart: dagger.Directory) -> dagger.File:
return (
dag.helm_docs()
.generate(chart)
)
@func()
example(chart: Directory): File {
return dag
.helmDocs()
.generate(chart)
}