hydrate-kubernetes
No long description provided.
Installation
dagger install github.com/prefapp/daggerverse/hydrate-kubernetes@237ec029fd7112829d0660e93596ccd79e7f70a3
Entrypoint
Return Type
HydrateKubernetes !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
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 |
renderType | String | "apps" | Type of the render, it can be apps or sys-apps |
Example
dagger -m github.com/prefapp/daggerverse/hydrate-kubernetes@237ec029fd7112829d0660e93596ccd79e7f70a3 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@237ec029fd7112829d0660e93596ccd79e7f70a3 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@237ec029fd7112829d0660e93596ccd79e7f70a3 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@237ec029fd7112829d0660e93596ccd79e7f70a3 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@237ec029fd7112829d0660e93596ccd79e7f70a3 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@237ec029fd7112829d0660e93596ccd79e7f70a3 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@237ec029fd7112829d0660e93596ccd79e7f70a3 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@237ec029fd7112829d0660e93596ccd79e7f70a3 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@237ec029fd7112829d0660e93596ccd79e7f70a3 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@237ec029fd7112829d0660e93596ccd79e7f70a3 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()
}
renderType() 🔗
Return Type
String !
Example
dagger -m github.com/prefapp/daggerverse/hydrate-kubernetes@237ec029fd7112829d0660e93596ccd79e7f70a3 call \
--values-dir DIR_PATH --wet-repo-dir DIR_PATH render-type
func (m *myModule) example(ctx context.Context, valuesDir *Directory, wetRepoDir *Directory) string {
return dag.
HydrateKubernetes(valuesDir, wetRepoDir).
RenderType(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)
.render_type()
)
@func()
async example(valuesDir: Directory, wetRepoDir: Directory, ): Promise<string> {
return dag
.hydrateKubernetes(valuesDir, wetRepoDir)
.renderType()
}
buildPreviousImagesApp() 🔗
Return Type
String !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
cluster | String ! | - | No description provided |
tenant | String ! | - | No description provided |
env | String ! | - | No description provided |
Example
dagger -m github.com/prefapp/daggerverse/hydrate-kubernetes@237ec029fd7112829d0660e93596ccd79e7f70a3 call \
--values-dir DIR_PATH --wet-repo-dir DIR_PATH build-previous-images-app --cluster string --tenant string --env string
func (m *myModule) example(ctx context.Context, valuesDir *Directory, wetRepoDir *Directory, cluster string, tenant string, env string) string {
return dag.
HydrateKubernetes(valuesDir, wetRepoDir).
BuildPreviousImagesApp(ctx, cluster, tenant, env)
}
@function
async def example(values_dir: dagger.Directory, wet_repo_dir: dagger.Directory, cluster: str, tenant: str, env: str) -> str:
return await (
dag.hydrate_kubernetes(values_dir, wet_repo_dir)
.build_previous_images_app(cluster, tenant, env)
)
@func()
async example(valuesDir: Directory, wetRepoDir: Directory, cluster: string, tenant: string, env: string): Promise<string> {
return dag
.hydrateKubernetes(valuesDir, wetRepoDir)
.buildPreviousImagesApp(cluster, tenant, env)
}
render() 🔗
This function renders the apps or sys-apps based on the render type It returns the wet directory where the rendered files are stored
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@237ec029fd7112829d0660e93596ccd79e7f70a3 call \
--values-dir DIR_PATH --wet-repo-dir DIR_PATH render --app string --cluster string
func (m *myModule) example(valuesDir *Directory, wetRepoDir *Directory, app string, cluster string) *Directory {
return dag.
HydrateKubernetes(valuesDir, wetRepoDir).
Render(app, cluster)
}
@function
def example(values_dir: dagger.Directory, wet_repo_dir: dagger.Directory, app: str, cluster: str) -> dagger.Directory:
return (
dag.hydrate_kubernetes(values_dir, wet_repo_dir)
.render(app, cluster)
)
@func()
example(valuesDir: Directory, wetRepoDir: Directory, app: string, cluster: string): Directory {
return dag
.hydrateKubernetes(valuesDir, wetRepoDir)
.render(app, cluster)
}
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@237ec029fd7112829d0660e93596ccd79e7f70a3 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)
}
buildNewImages() 🔗
Return Type
File !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
matrix | String ! | - | No description provided |
Example
dagger -m github.com/prefapp/daggerverse/hydrate-kubernetes@237ec029fd7112829d0660e93596ccd79e7f70a3 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)
}
splitRenderInFiles() 🔗
Return Type
Directory !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
renderFile | File ! | - | No description provided |
Example
dagger -m github.com/prefapp/daggerverse/hydrate-kubernetes@237ec029fd7112829d0660e93596ccd79e7f70a3 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)
}
dumpSysAppRenderToWetDir() 🔗
Return Type
Directory !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
app | String ! | - | No description provided |
cluster | String ! | - | No description provided |
Example
dagger -m github.com/prefapp/daggerverse/hydrate-kubernetes@237ec029fd7112829d0660e93596ccd79e7f70a3 call \
--values-dir DIR_PATH --wet-repo-dir DIR_PATH dump-sys-app-render-to-wet-dir --app string --cluster string
func (m *myModule) example(valuesDir *Directory, wetRepoDir *Directory, app string, cluster string) *Directory {
return dag.
HydrateKubernetes(valuesDir, wetRepoDir).
DumpSysAppRenderToWetDir(app, cluster)
}
@function
def example(values_dir: dagger.Directory, wet_repo_dir: dagger.Directory, app: str, cluster: str) -> dagger.Directory:
return (
dag.hydrate_kubernetes(values_dir, wet_repo_dir)
.dump_sys_app_render_to_wet_dir(app, cluster)
)
@func()
example(valuesDir: Directory, wetRepoDir: Directory, app: string, cluster: string): Directory {
return dag
.hydrateKubernetes(valuesDir, wetRepoDir)
.dumpSysAppRenderToWetDir(app, cluster)
}
dumpAppRenderToWetDir() 🔗
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@237ec029fd7112829d0660e93596ccd79e7f70a3 call \
--values-dir DIR_PATH --wet-repo-dir DIR_PATH dump-app-render-to-wet-dir --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).
DumpAppRenderToWetDir(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)
.dump_app_render_to_wet_dir(app, cluster, tenant, env)
)
@func()
example(valuesDir: Directory, wetRepoDir: Directory, app: string, cluster: string, tenant: string, env: string): Directory {
return dag
.hydrateKubernetes(valuesDir, wetRepoDir)
.dumpAppRenderToWetDir(app, cluster, tenant, env)
}
renderSysService() 🔗
Return Type
String !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
cluster | String ! | - | No description provided |
app | String ! | - | No description provided |
Example
dagger -m github.com/prefapp/daggerverse/hydrate-kubernetes@237ec029fd7112829d0660e93596ccd79e7f70a3 call \
--values-dir DIR_PATH --wet-repo-dir DIR_PATH render-sys-service --cluster string --app string
func (m *myModule) example(ctx context.Context, valuesDir *Directory, wetRepoDir *Directory, cluster string, app string) string {
return dag.
HydrateKubernetes(valuesDir, wetRepoDir).
RenderSysService(ctx, cluster, app)
}
@function
async def example(values_dir: dagger.Directory, wet_repo_dir: dagger.Directory, cluster: str, app: str) -> str:
return await (
dag.hydrate_kubernetes(values_dir, wet_repo_dir)
.render_sys_service(cluster, app)
)
@func()
async example(valuesDir: Directory, wetRepoDir: Directory, cluster: string, app: string): Promise<string> {
return dag
.hydrateKubernetes(valuesDir, wetRepoDir)
.renderSysService(cluster, app)
}