hydrate-kubernetes
No long description provided.
Installation
dagger install github.com/prefapp/daggerverse/hydrate-kubernetes@31ab07d91ca46886e566bc4d7e9e386a65371df5
Entrypoint
Return Type
HydrateKubernetes !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
helmfileImageTag | String | "latest" | The Helmfile image tag to use https://github.com/helmfile/helmfile/pkgs/container/helmfile |
helmfileImage | String | "ghcr.io/helmfile/helmfile" | The Helmfile image to use |
valuesDir | Directory ! | - | The path to the values directory, where the helm values are stored |
wetRepoDir | Directory ! | - | The path to the wet repo directory, where the wet manifests are stored |
helmfile | File | - | The path to the helmfile.yaml file |
valuesGoTmpl | File | - | The path to the values.go.tmpl file |
helmRegistryLoginNeeded | Boolean | false | No description provided |
helmRegistry | String | - | No description provided |
helmRegistryUser | String | - | No description provided |
helmRegistryPassword | Secret | - | No description provided |
Example
dagger -m github.com/prefapp/daggerverse/hydrate-kubernetes@31ab07d91ca46886e566bc4d7e9e386a65371df5 call \
--values-dir DIR_PATH --wet-repo-dir DIR_PATH
func (m *myModule) example(valuesDir *Directory, wetRepoDir *Directory) *HydrateKubernetes {
return dag.
HydrateKubernetes(valuesDir, wetRepoDir)
}
@function
def example(values_dir: dagger.Directory, wet_repo_dir: dagger.Directory, ) -> dag.HydrateKubernetes:
return (
dag.hydrate_kubernetes(values_dir, wet_repo_dir)
)
@func()
example(valuesDir: Directory, wetRepoDir: Directory, ): HydrateKubernetes {
return dag
.hydrateKubernetes(valuesDir, wetRepoDir)
}
Types
HydrateKubernetes 🔗
container() 🔗
Return Type
Container !
Example
dagger -m github.com/prefapp/daggerverse/hydrate-kubernetes@31ab07d91ca46886e566bc4d7e9e386a65371df5 call \
--values-dir DIR_PATH --wet-repo-dir DIR_PATH container
func (m *myModule) example(valuesDir *Directory, wetRepoDir *Directory) *Container {
return dag.
HydrateKubernetes(valuesDir, wetRepoDir).
Container()
}
@function
def example(values_dir: dagger.Directory, wet_repo_dir: dagger.Directory, ) -> dagger.Container:
return (
dag.hydrate_kubernetes(values_dir, wet_repo_dir)
.container()
)
@func()
example(valuesDir: Directory, wetRepoDir: Directory, ): Container {
return dag
.hydrateKubernetes(valuesDir, wetRepoDir)
.container()
}
valuesDir() 🔗
Return Type
Directory !
Example
dagger -m github.com/prefapp/daggerverse/hydrate-kubernetes@31ab07d91ca46886e566bc4d7e9e386a65371df5 call \
--values-dir DIR_PATH --wet-repo-dir DIR_PATH values-dir
func (m *myModule) example(valuesDir *Directory, wetRepoDir *Directory) *Directory {
return dag.
HydrateKubernetes(valuesDir, wetRepoDir).
ValuesDir()
}
@function
def example(values_dir: dagger.Directory, wet_repo_dir: dagger.Directory, ) -> dagger.Directory:
return (
dag.hydrate_kubernetes(values_dir, wet_repo_dir)
.values_dir()
)
@func()
example(valuesDir: Directory, wetRepoDir: Directory, ): Directory {
return dag
.hydrateKubernetes(valuesDir, wetRepoDir)
.valuesDir()
}
wetRepoDir() 🔗
Return Type
Directory !
Example
dagger -m github.com/prefapp/daggerverse/hydrate-kubernetes@31ab07d91ca46886e566bc4d7e9e386a65371df5 call \
--values-dir DIR_PATH --wet-repo-dir DIR_PATH wet-repo-dir
func (m *myModule) example(valuesDir *Directory, wetRepoDir *Directory) *Directory {
return dag.
HydrateKubernetes(valuesDir, wetRepoDir).
WetRepoDir()
}
@function
def example(values_dir: dagger.Directory, wet_repo_dir: dagger.Directory, ) -> dagger.Directory:
return (
dag.hydrate_kubernetes(values_dir, wet_repo_dir)
.wet_repo_dir()
)
@func()
example(valuesDir: Directory, wetRepoDir: Directory, ): Directory {
return dag
.hydrateKubernetes(valuesDir, wetRepoDir)
.wetRepoDir()
}
helmfile() 🔗
Return Type
File !
Example
dagger -m github.com/prefapp/daggerverse/hydrate-kubernetes@31ab07d91ca46886e566bc4d7e9e386a65371df5 call \
--values-dir DIR_PATH --wet-repo-dir DIR_PATH helmfile
func (m *myModule) example(valuesDir *Directory, wetRepoDir *Directory) *File {
return dag.
HydrateKubernetes(valuesDir, wetRepoDir).
Helmfile()
}
@function
def example(values_dir: dagger.Directory, wet_repo_dir: dagger.Directory, ) -> dagger.File:
return (
dag.hydrate_kubernetes(values_dir, wet_repo_dir)
.helmfile()
)
@func()
example(valuesDir: Directory, wetRepoDir: Directory, ): File {
return dag
.hydrateKubernetes(valuesDir, wetRepoDir)
.helmfile()
}
valuesGoTmpl() 🔗
Return Type
File !
Example
dagger -m github.com/prefapp/daggerverse/hydrate-kubernetes@31ab07d91ca46886e566bc4d7e9e386a65371df5 call \
--values-dir DIR_PATH --wet-repo-dir DIR_PATH values-go-tmpl
func (m *myModule) example(valuesDir *Directory, wetRepoDir *Directory) *File {
return dag.
HydrateKubernetes(valuesDir, wetRepoDir).
ValuesGoTmpl()
}
@function
def example(values_dir: dagger.Directory, wet_repo_dir: dagger.Directory, ) -> dagger.File:
return (
dag.hydrate_kubernetes(values_dir, wet_repo_dir)
.values_go_tmpl()
)
@func()
example(valuesDir: Directory, wetRepoDir: Directory, ): File {
return dag
.hydrateKubernetes(valuesDir, wetRepoDir)
.valuesGoTmpl()
}
helmRegistryLoginNeeded() 🔗
Return Type
Boolean !
Example
dagger -m github.com/prefapp/daggerverse/hydrate-kubernetes@31ab07d91ca46886e566bc4d7e9e386a65371df5 call \
--values-dir DIR_PATH --wet-repo-dir DIR_PATH helm-registry-login-needed
func (m *myModule) example(ctx context.Context, valuesDir *Directory, wetRepoDir *Directory) bool {
return dag.
HydrateKubernetes(valuesDir, wetRepoDir).
HelmRegistryLoginNeeded(ctx)
}
@function
async def example(values_dir: dagger.Directory, wet_repo_dir: dagger.Directory, ) -> bool:
return await (
dag.hydrate_kubernetes(values_dir, wet_repo_dir)
.helm_registry_login_needed()
)
@func()
async example(valuesDir: Directory, wetRepoDir: Directory, ): Promise<boolean> {
return dag
.hydrateKubernetes(valuesDir, wetRepoDir)
.helmRegistryLoginNeeded()
}
helmRegistry() 🔗
Return Type
String !
Example
dagger -m github.com/prefapp/daggerverse/hydrate-kubernetes@31ab07d91ca46886e566bc4d7e9e386a65371df5 call \
--values-dir DIR_PATH --wet-repo-dir DIR_PATH helm-registry
func (m *myModule) example(ctx context.Context, valuesDir *Directory, wetRepoDir *Directory) string {
return dag.
HydrateKubernetes(valuesDir, wetRepoDir).
HelmRegistry(ctx)
}
@function
async def example(values_dir: dagger.Directory, wet_repo_dir: dagger.Directory, ) -> str:
return await (
dag.hydrate_kubernetes(values_dir, wet_repo_dir)
.helm_registry()
)
@func()
async example(valuesDir: Directory, wetRepoDir: Directory, ): Promise<string> {
return dag
.hydrateKubernetes(valuesDir, wetRepoDir)
.helmRegistry()
}
helmRegistryUser() 🔗
Return Type
String !
Example
dagger -m github.com/prefapp/daggerverse/hydrate-kubernetes@31ab07d91ca46886e566bc4d7e9e386a65371df5 call \
--values-dir DIR_PATH --wet-repo-dir DIR_PATH helm-registry-user
func (m *myModule) example(ctx context.Context, valuesDir *Directory, wetRepoDir *Directory) string {
return dag.
HydrateKubernetes(valuesDir, wetRepoDir).
HelmRegistryUser(ctx)
}
@function
async def example(values_dir: dagger.Directory, wet_repo_dir: dagger.Directory, ) -> str:
return await (
dag.hydrate_kubernetes(values_dir, wet_repo_dir)
.helm_registry_user()
)
@func()
async example(valuesDir: Directory, wetRepoDir: Directory, ): Promise<string> {
return dag
.hydrateKubernetes(valuesDir, wetRepoDir)
.helmRegistryUser()
}
helmRegistryPassword() 🔗
Return Type
Secret !
Example
dagger -m github.com/prefapp/daggerverse/hydrate-kubernetes@31ab07d91ca46886e566bc4d7e9e386a65371df5 call \
--values-dir DIR_PATH --wet-repo-dir DIR_PATH helm-registry-password
func (m *myModule) example(valuesDir *Directory, wetRepoDir *Directory) *Secret {
return dag.
HydrateKubernetes(valuesDir, wetRepoDir).
HelmRegistryPassword()
}
@function
def example(values_dir: dagger.Directory, wet_repo_dir: dagger.Directory, ) -> dagger.Secret:
return (
dag.hydrate_kubernetes(values_dir, wet_repo_dir)
.helm_registry_password()
)
@func()
example(valuesDir: Directory, wetRepoDir: Directory, ): Secret {
return dag
.hydrateKubernetes(valuesDir, wetRepoDir)
.helmRegistryPassword()
}
buildPreviousImagesApp() 🔗
Return Type
String !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
manifestsDir | Directory ! | - | No description provided |
Example
dagger -m github.com/prefapp/daggerverse/hydrate-kubernetes@31ab07d91ca46886e566bc4d7e9e386a65371df5 call \
--values-dir DIR_PATH --wet-repo-dir DIR_PATH build-previous-images-app --manifests-dir DIR_PATH
func (m *myModule) example(ctx context.Context, valuesDir *Directory, wetRepoDir *Directory, manifestsDir *Directory) string {
return dag.
HydrateKubernetes(valuesDir, wetRepoDir).
BuildPreviousImagesApp(ctx, manifestsDir)
}
@function
async def example(values_dir: dagger.Directory, wet_repo_dir: dagger.Directory, manifests_dir: dagger.Directory) -> str:
return await (
dag.hydrate_kubernetes(values_dir, wet_repo_dir)
.build_previous_images_app(manifests_dir)
)
@func()
async example(valuesDir: Directory, wetRepoDir: Directory, manifestsDir: Directory): Promise<string> {
return dag
.hydrateKubernetes(valuesDir, wetRepoDir)
.buildPreviousImagesApp(manifestsDir)
}
splitRenderInFiles() 🔗
Return Type
Directory !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
renderFile | File ! | - | No description provided |
Example
dagger -m github.com/prefapp/daggerverse/hydrate-kubernetes@31ab07d91ca46886e566bc4d7e9e386a65371df5 call \
--values-dir DIR_PATH --wet-repo-dir DIR_PATH split-render-in-files --render-file file:path
func (m *myModule) example(valuesDir *Directory, wetRepoDir *Directory, renderFile *File) *Directory {
return dag.
HydrateKubernetes(valuesDir, wetRepoDir).
SplitRenderInFiles(renderFile)
}
@function
def example(values_dir: dagger.Directory, wet_repo_dir: dagger.Directory, render_file: dagger.File) -> dagger.Directory:
return (
dag.hydrate_kubernetes(values_dir, wet_repo_dir)
.split_render_in_files(render_file)
)
@func()
example(valuesDir: Directory, wetRepoDir: Directory, renderFile: File): Directory {
return dag
.hydrateKubernetes(valuesDir, wetRepoDir)
.splitRenderInFiles(renderFile)
}
renderApp() 🔗
Return Type
String !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
env | String ! | - | No description provided |
app | String ! | - | No description provided |
cluster | String ! | - | No description provided |
tenant | String ! | - | No description provided |
newImagesMatrix | String | "{\"images\":[]}" | No description provided |
Example
dagger -m github.com/prefapp/daggerverse/hydrate-kubernetes@31ab07d91ca46886e566bc4d7e9e386a65371df5 call \
--values-dir DIR_PATH --wet-repo-dir DIR_PATH render-app --env string --app string --cluster string --tenant string
func (m *myModule) example(ctx context.Context, valuesDir *Directory, wetRepoDir *Directory, env string, app string, cluster string, tenant string) string {
return dag.
HydrateKubernetes(valuesDir, wetRepoDir).
RenderApp(ctx, env, app, cluster, tenant)
}
@function
async def example(values_dir: dagger.Directory, wet_repo_dir: dagger.Directory, env: str, app: str, cluster: str, tenant: str) -> str:
return await (
dag.hydrate_kubernetes(values_dir, wet_repo_dir)
.render_app(env, app, cluster, tenant)
)
@func()
async example(valuesDir: Directory, wetRepoDir: Directory, env: string, app: string, cluster: string, tenant: string): Promise<string> {
return dag
.hydrateKubernetes(valuesDir, wetRepoDir)
.renderApp(env, app, cluster, tenant)
}
render() 🔗
Return Type
Directory !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
app | String ! | - | No description provided |
cluster | String ! | - | No description provided |
tenant | String ! | - | No description provided |
env | String ! | - | No description provided |
newImagesMatrix | String | "{\"images\":[]}" | No description provided |
Example
dagger -m github.com/prefapp/daggerverse/hydrate-kubernetes@31ab07d91ca46886e566bc4d7e9e386a65371df5 call \
--values-dir DIR_PATH --wet-repo-dir DIR_PATH render --app string --cluster string --tenant string --env string
func (m *myModule) example(valuesDir *Directory, wetRepoDir *Directory, app string, cluster string, tenant string, env string) *Directory {
return dag.
HydrateKubernetes(valuesDir, wetRepoDir).
Render(app, cluster, tenant, env)
}
@function
def example(values_dir: dagger.Directory, wet_repo_dir: dagger.Directory, app: str, cluster: str, tenant: str, env: str) -> dagger.Directory:
return (
dag.hydrate_kubernetes(values_dir, wet_repo_dir)
.render(app, cluster, tenant, env)
)
@func()
example(valuesDir: Directory, wetRepoDir: Directory, app: string, cluster: string, tenant: string, env: string): Directory {
return dag
.hydrateKubernetes(valuesDir, wetRepoDir)
.render(app, cluster, tenant, env)
}
buildNewImages() 🔗
Return Type
File !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
matrix | String ! | - | No description provided |
Example
dagger -m github.com/prefapp/daggerverse/hydrate-kubernetes@31ab07d91ca46886e566bc4d7e9e386a65371df5 call \
--values-dir DIR_PATH --wet-repo-dir DIR_PATH build-new-images --matrix string
func (m *myModule) example(valuesDir *Directory, wetRepoDir *Directory, matrix string) *File {
return dag.
HydrateKubernetes(valuesDir, wetRepoDir).
BuildNewImages(matrix)
}
@function
def example(values_dir: dagger.Directory, wet_repo_dir: dagger.Directory, matrix: str) -> dagger.File:
return (
dag.hydrate_kubernetes(values_dir, wet_repo_dir)
.build_new_images(matrix)
)
@func()
example(valuesDir: Directory, wetRepoDir: Directory, matrix: string): File {
return dag
.hydrateKubernetes(valuesDir, wetRepoDir)
.buildNewImages(matrix)
}