Dagger
Search

helm-oci-release

This module has been generated via dagger init and serves as a reference to
basic 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@6323884b00e44c9d88b58b55bd8cd34c1719041f

Entrypoint

Return Type
HelmOciRelease !
Arguments
NameTypeDefault ValueDescription
helmContainerContainer nullNo description provided
Example
dagger -m github.com/BCIT-LTC/daggerverse/helm-oci-release@6323884b00e44c9d88b58b55bd8cd34c1719041f 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
NameTypeDefault ValueDescription
sourceDirectory -Source directory
githubTokenSecret -Github Token
usernameString !"local"Github Username
appnameString !"SomeApp"Application Name
chartVersionString !"0.1.0"Chart Version
appVersionString !"0.1.0"Application Version
Example
dagger -m github.com/BCIT-LTC/daggerverse/helm-oci-release@6323884b00e44c9d88b58b55bd8cd34c1719041f call \
 run --username string --appname string --chart-version string --app-version string
func (m *MyModule) Example(ctx context.Context, username string, appname string, chartVersion string, appVersion string) string  {
	return dag.
			HelmOciRelease().
			Run(ctxusername, appname, chartVersion, appVersion)
}
@function
async def example(username: str, appname: str, chart_version: str, app_version: str) -> str:
	return await (
		dag.helm_oci_release()
		.run(username, appname, chart_version, app_version)
	)
@func()
async example(username: string, appname: string, chartVersion: string, appVersion: string): Promise<string> {
	return dag
		.helmOciRelease()
		.run(username, appname, chartVersion, appVersion)
}