hydrate-kubernetes
No long description provided.
Installation
dagger install github.com/prefapp/daggerverse/hydrate-kubernetes@2b89969f0b589639cce3d76c626b6fdafa906cce
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 |
depsFile | File | - | extra packages to install |
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@2b89969f0b589639cce3d76c626b6fdafa906cce call \
--values-dir DIR_PATH
func (m *myModule) example(valuesDir *Directory) *HydrateKubernetes {
return dag.
HydrateKubernetes(valuesDir)
}
@function
def example(values_dir: dagger.Directory, ) -> dag.HydrateKubernetes:
return (
dag.hydrate_kubernetes(values_dir)
)
@func()
example(valuesDir: Directory, ): HydrateKubernetes {
return dag
.hydrateKubernetes(valuesDir)
}
Types
HydrateKubernetes 🔗
container() 🔗
Return Type
Container !
Example
dagger -m github.com/prefapp/daggerverse/hydrate-kubernetes@2b89969f0b589639cce3d76c626b6fdafa906cce call \
--values-dir DIR_PATH container
func (m *myModule) example(valuesDir *Directory) *Container {
return dag.
HydrateKubernetes(valuesDir).
Container()
}
@function
def example(values_dir: dagger.Directory, ) -> dagger.Container:
return (
dag.hydrate_kubernetes(values_dir)
.container()
)
@func()
example(valuesDir: Directory, ): Container {
return dag
.hydrateKubernetes(valuesDir)
.container()
}
valuesDir() 🔗
Return Type
Directory !
Example
dagger -m github.com/prefapp/daggerverse/hydrate-kubernetes@2b89969f0b589639cce3d76c626b6fdafa906cce call \
--values-dir DIR_PATH values-dir
func (m *myModule) example(valuesDir *Directory) *Directory {
return dag.
HydrateKubernetes(valuesDir).
ValuesDir()
}
@function
def example(values_dir: dagger.Directory, ) -> dagger.Directory:
return (
dag.hydrate_kubernetes(values_dir)
.values_dir()
)
@func()
example(valuesDir: Directory, ): Directory {
return dag
.hydrateKubernetes(valuesDir)
.valuesDir()
}
wetRepoDir() 🔗
Return Type
Directory !
Example
dagger -m github.com/prefapp/daggerverse/hydrate-kubernetes@2b89969f0b589639cce3d76c626b6fdafa906cce call \
--values-dir DIR_PATH wet-repo-dir
func (m *myModule) example(valuesDir *Directory) *Directory {
return dag.
HydrateKubernetes(valuesDir).
WetRepoDir()
}
@function
def example(values_dir: dagger.Directory, ) -> dagger.Directory:
return (
dag.hydrate_kubernetes(values_dir)
.wet_repo_dir()
)
@func()
example(valuesDir: Directory, ): Directory {
return dag
.hydrateKubernetes(valuesDir)
.wetRepoDir()
}
helmfile() 🔗
Return Type
File !
Example
dagger -m github.com/prefapp/daggerverse/hydrate-kubernetes@2b89969f0b589639cce3d76c626b6fdafa906cce call \
--values-dir DIR_PATH helmfile
func (m *myModule) example(valuesDir *Directory) *File {
return dag.
HydrateKubernetes(valuesDir).
Helmfile()
}
@function
def example(values_dir: dagger.Directory, ) -> dagger.File:
return (
dag.hydrate_kubernetes(values_dir)
.helmfile()
)
@func()
example(valuesDir: Directory, ): File {
return dag
.hydrateKubernetes(valuesDir)
.helmfile()
}
valuesGoTmpl() 🔗
Return Type
File !
Example
dagger -m github.com/prefapp/daggerverse/hydrate-kubernetes@2b89969f0b589639cce3d76c626b6fdafa906cce call \
--values-dir DIR_PATH values-go-tmpl
func (m *myModule) example(valuesDir *Directory) *File {
return dag.
HydrateKubernetes(valuesDir).
ValuesGoTmpl()
}
@function
def example(values_dir: dagger.Directory, ) -> dagger.File:
return (
dag.hydrate_kubernetes(values_dir)
.values_go_tmpl()
)
@func()
example(valuesDir: Directory, ): File {
return dag
.hydrateKubernetes(valuesDir)
.valuesGoTmpl()
}
helmRegistryLoginNeeded() 🔗
Return Type
Boolean !
Example
dagger -m github.com/prefapp/daggerverse/hydrate-kubernetes@2b89969f0b589639cce3d76c626b6fdafa906cce call \
--values-dir DIR_PATH helm-registry-login-needed
func (m *myModule) example(ctx context.Context, valuesDir *Directory) bool {
return dag.
HydrateKubernetes(valuesDir).
HelmRegistryLoginNeeded(ctx)
}
@function
async def example(values_dir: dagger.Directory, ) -> bool:
return await (
dag.hydrate_kubernetes(values_dir)
.helm_registry_login_needed()
)
@func()
async example(valuesDir: Directory, ): Promise<boolean> {
return dag
.hydrateKubernetes(valuesDir)
.helmRegistryLoginNeeded()
}
helmRegistry() 🔗
Return Type
String !
Example
dagger -m github.com/prefapp/daggerverse/hydrate-kubernetes@2b89969f0b589639cce3d76c626b6fdafa906cce call \
--values-dir DIR_PATH helm-registry
func (m *myModule) example(ctx context.Context, valuesDir *Directory) string {
return dag.
HydrateKubernetes(valuesDir).
HelmRegistry(ctx)
}
@function
async def example(values_dir: dagger.Directory, ) -> str:
return await (
dag.hydrate_kubernetes(values_dir)
.helm_registry()
)
@func()
async example(valuesDir: Directory, ): Promise<string> {
return dag
.hydrateKubernetes(valuesDir)
.helmRegistry()
}
helmRegistryUser() 🔗
Return Type
String !
Example
dagger -m github.com/prefapp/daggerverse/hydrate-kubernetes@2b89969f0b589639cce3d76c626b6fdafa906cce call \
--values-dir DIR_PATH helm-registry-user
func (m *myModule) example(ctx context.Context, valuesDir *Directory) string {
return dag.
HydrateKubernetes(valuesDir).
HelmRegistryUser(ctx)
}
@function
async def example(values_dir: dagger.Directory, ) -> str:
return await (
dag.hydrate_kubernetes(values_dir)
.helm_registry_user()
)
@func()
async example(valuesDir: Directory, ): Promise<string> {
return dag
.hydrateKubernetes(valuesDir)
.helmRegistryUser()
}
helmRegistryPassword() 🔗
Return Type
Secret !
Example
dagger -m github.com/prefapp/daggerverse/hydrate-kubernetes@2b89969f0b589639cce3d76c626b6fdafa906cce call \
--values-dir DIR_PATH helm-registry-password
func (m *myModule) example(valuesDir *Directory) *Secret {
return dag.
HydrateKubernetes(valuesDir).
HelmRegistryPassword()
}
@function
def example(values_dir: dagger.Directory, ) -> dagger.Secret:
return (
dag.hydrate_kubernetes(values_dir)
.helm_registry_password()
)
@func()
example(valuesDir: Directory, ): Secret {
return dag
.hydrateKubernetes(valuesDir)
.helmRegistryPassword()
}
buildNewImages() 🔗
Return Type
File !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
matrix | String ! | - | No description provided |
Example
dagger -m github.com/prefapp/daggerverse/hydrate-kubernetes@2b89969f0b589639cce3d76c626b6fdafa906cce call \
--values-dir DIR_PATH build-new-images --matrix string
func (m *myModule) example(valuesDir *Directory, matrix string) *File {
return dag.
HydrateKubernetes(valuesDir).
BuildNewImages(matrix)
}
@function
def example(values_dir: dagger.Directory, matrix: str) -> dagger.File:
return (
dag.hydrate_kubernetes(values_dir)
.build_new_images(matrix)
)
@func()
example(valuesDir: Directory, matrix: string): File {
return dag
.hydrateKubernetes(valuesDir)
.buildNewImages(matrix)
}
splitRenderInFiles() 🔗
Return Type
Directory !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
renderFile | File ! | - | No description provided |
Example
dagger -m github.com/prefapp/daggerverse/hydrate-kubernetes@2b89969f0b589639cce3d76c626b6fdafa906cce call \
--values-dir DIR_PATH split-render-in-files --render-file file:path
func (m *myModule) example(valuesDir *Directory, renderFile *File) *Directory {
return dag.
HydrateKubernetes(valuesDir).
SplitRenderInFiles(renderFile)
}
@function
def example(values_dir: dagger.Directory, render_file: dagger.File) -> dagger.Directory:
return (
dag.hydrate_kubernetes(values_dir)
.split_render_in_files(render_file)
)
@func()
example(valuesDir: Directory, renderFile: File): Directory {
return dag
.hydrateKubernetes(valuesDir)
.splitRenderInFiles(renderFile)
}
renderApps() 🔗
Return Type
Directory !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
affectedPaths | String | "[]" | No description provided |
newImagesMatrix | String | "{\"images\":[]}" | No description provided |
app | String ! | - | No description provided |
Example
dagger -m github.com/prefapp/daggerverse/hydrate-kubernetes@2b89969f0b589639cce3d76c626b6fdafa906cce call \
--values-dir DIR_PATH render-apps --app string
func (m *myModule) example(valuesDir *Directory, app string) *Directory {
return dag.
HydrateKubernetes(valuesDir).
RenderApps(app)
}
@function
def example(values_dir: dagger.Directory, app: str) -> dagger.Directory:
return (
dag.hydrate_kubernetes(values_dir)
.render_apps(app)
)
@func()
example(valuesDir: Directory, app: string): Directory {
return dag
.hydrateKubernetes(valuesDir)
.renderApps(app)
}
buildPreviousImagesApp() 🔗
Return Type
String !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
manifestsDir | Directory ! | - | No description provided |
Example
dagger -m github.com/prefapp/daggerverse/hydrate-kubernetes@2b89969f0b589639cce3d76c626b6fdafa906cce call \
--values-dir DIR_PATH build-previous-images-app --manifests-dir DIR_PATH
func (m *myModule) example(ctx context.Context, valuesDir *Directory, manifestsDir *Directory) string {
return dag.
HydrateKubernetes(valuesDir).
BuildPreviousImagesApp(ctx, manifestsDir)
}
@function
async def example(values_dir: dagger.Directory, manifests_dir: dagger.Directory) -> str:
return await (
dag.hydrate_kubernetes(values_dir)
.build_previous_images_app(manifests_dir)
)
@func()
async example(valuesDir: Directory, manifestsDir: Directory): Promise<string> {
return dag
.hydrateKubernetes(valuesDir)
.buildPreviousImagesApp(manifestsDir)
}
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@2b89969f0b589639cce3d76c626b6fdafa906cce call \
--values-dir DIR_PATH render-app --env string --app string --cluster string --tenant string
func (m *myModule) example(ctx context.Context, valuesDir *Directory, env string, app string, cluster string, tenant string) string {
return dag.
HydrateKubernetes(valuesDir).
RenderApp(ctx, env, app, cluster, tenant)
}
@function
async def example(values_dir: dagger.Directory, env: str, app: str, cluster: str, tenant: str) -> str:
return await (
dag.hydrate_kubernetes(values_dir)
.render_app(env, app, cluster, tenant)
)
@func()
async example(valuesDir: Directory, env: string, app: string, cluster: string, tenant: string): Promise<string> {
return dag
.hydrateKubernetes(valuesDir)
.renderApp(env, app, cluster, tenant)
}