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@009cb993ad542852995276eb1f94c9c01747fbbdEntrypoint
Return Type
HelmOciRelease ! Example
dagger -m github.com/bcit-ltc/daggerverse/helm-oci-release@009cb993ad542852995276eb1f94c9c01747fbbd 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 |
| username | String ! | "local" | Github Username |
| organization | String ! | "bcit-ltc" | Organization Name |
| appName | String ! | "SomeApp" | Application Name |
| helmDirectoryPath | String ! | "." | Helm Chart Directory Path |
| chartVersion | String ! | "0.1.0" | Chart Version |
| appVersion | String ! | "0.1.0" | Application Version |
Example
dagger -m github.com/bcit-ltc/daggerverse/helm-oci-release@009cb993ad542852995276eb1f94c9c01747fbbd call \
run --github-token env:MYSECRET --username string --organization string --app-name string --helm-directory-path string --chart-version string --app-version stringfunc (m *MyModule) Example(ctx context.Context, githubToken *dagger.Secret, username string, organization string, appName string, helmDirectoryPath string, chartVersion string, appVersion string) string {
return dag.
HelmOciRelease().
Run(ctxgithubToken, username, organization, appName, helmDirectoryPath, chartVersion, appVersion)
}@function
async def example(github_token: dagger.Secret, username: str, organization: str, app_name: str, helm_directory_path: str, chart_version: str, app_version: str) -> str:
return await (
dag.helm_oci_release()
.run(github_token, username, organization, app_name, helm_directory_path, chart_version, app_version)
)@func()
async example(githubToken: Secret, username: string, organization: string, appName: string, helmDirectoryPath: string, chartVersion: string, appVersion: string): Promise<string> {
return dag
.helmOciRelease()
.run(githubToken, username, organization, appName, helmDirectoryPath, chartVersion, appVersion)
}