helm-oci-release
This module has been generated via dagger init and serves as a reference tobasic module structure as you get started with Dagger.
Two functions have been pre-created. You can modify, delete, or add to them,
as needed. They demonstrate usage of arguments and return types using simple
echo and grep commands. The functions can be called from the dagger CLI or
from one of the SDKs.
The first line in this comment block is a short description line and the
rest is a long description with more detail on the module's purpose or usage,
if appropriate. All modules should have a short description.
Installation
dagger install github.com/BCIT-LTC/daggerverse/helm-oci-release@7054cb9ee13e094ebd55b080bebceaeb44535c6c
Entrypoint
Return Type
HelmOciRelease !
Example
dagger -m github.com/BCIT-LTC/daggerverse/helm-oci-release@7054cb9ee13e094ebd55b080bebceaeb44535c6c call \
func (m *MyModule) Example() *dagger.HelmOciRelease {
return dag.
HelmOciRelease()
}
@function
def example() -> dagger.HelmOciRelease:
return (
dag.helm_oci_release()
)
@func()
example(): HelmOciRelease {
return dag
.helmOciRelease()
}
Types
HelmOciRelease 🔗
run() 🔗
Return Type
String !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
source | Directory | - | Source directory |
githubToken | Secret | - | Github Token |
appname | String ! | "SomeApp" | Application Name |
Example
dagger -m github.com/BCIT-LTC/daggerverse/helm-oci-release@7054cb9ee13e094ebd55b080bebceaeb44535c6c call \
run --appname string
func (m *MyModule) Example(ctx context.Context, appname string) string {
return dag.
HelmOciRelease().
Run(ctxappname)
}
@function
async def example(appname: str) -> str:
return await (
dag.helm_oci_release()
.run(appname)
)
@func()
async example(appname: string): Promise<string> {
return dag
.helmOciRelease()
.run(appname)
}