Dagger
Search

hydrate-orchestrator

No long description provided.

Installation

dagger install github.com/prefapp/daggerverse/hydrate-orchestrator@52b6d94a05d8e2f02655d850100752f31cd3f389

Entrypoint

Return Type
HydrateOrchestrator !
Arguments
NameTypeDefault ValueDescription
repoString !-Github repository name <owner>/<repo>
ghTokenSecret !-GitHub token
appString ""Application name
valuesStateDirDirectory !-State values directory (e.g. state-app-<app>#main)
wetStateDirDirectory !-Wet state directory (e.g. wet-state-app-<app>#<deployment-branch>)
authDirDirectory !-Auth directory
deploymentBranchString "deployment"Deployment branch to hydrate
eventEnum "pr"Event that triggered the workflow
dotFirestartrDirectory !-No description provided
Example
dagger -m github.com/prefapp/daggerverse/hydrate-orchestrator@52b6d94a05d8e2f02655d850100752f31cd3f389 call \
 --repo string --gh-token env:MYSECRET --values-state-dir DIR_PATH --wet-state-dir DIR_PATH --auth-dir DIR_PATH --dot-firestartr DIR_PATH
func (m *myModule) example(repo string, ghToken *Secret, valuesStateDir *Directory, wetStateDir *Directory, authDir *Directory, dotFirestartr *Directory) *HydrateOrchestrator  {
	return dag.
			HydrateOrchestrator(repo, ghToken, valuesStateDir, wetStateDir, authDir, dotFirestartr)
}
@function
def example(repo: str, gh_token: dagger.Secret, values_state_dir: dagger.Directory, wet_state_dir: dagger.Directory, auth_dir: dagger.Directory, dot_firestartr: dagger.Directory) -> dag.HydrateOrchestrator:
	return (
		dag.hydrate_orchestrator(repo, gh_token, values_state_dir, wet_state_dir, auth_dir, dot_firestartr)
	)
@func()
example(repo: string, ghToken: Secret, valuesStateDir: Directory, wetStateDir: Directory, authDir: Directory, dotFirestartr: Directory): HydrateOrchestrator {
	return dag
		.hydrateOrchestrator(repo, ghToken, valuesStateDir, wetStateDir, authDir, dotFirestartr)
}

Types

HydrateOrchestrator 🔗

repo() 🔗

Return Type
String !
Example
dagger -m github.com/prefapp/daggerverse/hydrate-orchestrator@52b6d94a05d8e2f02655d850100752f31cd3f389 call \
 --repo string --gh-token env:MYSECRET --values-state-dir DIR_PATH --wet-state-dir DIR_PATH --auth-dir DIR_PATH --dot-firestartr DIR_PATH repo
func (m *myModule) example(ctx context.Context, repo string, ghToken *Secret, valuesStateDir *Directory, wetStateDir *Directory, authDir *Directory, dotFirestartr *Directory) string  {
	return dag.
			HydrateOrchestrator(repo, ghToken, valuesStateDir, wetStateDir, authDir, dotFirestartr).
			Repo(ctx)
}
@function
async def example(repo: str, gh_token: dagger.Secret, values_state_dir: dagger.Directory, wet_state_dir: dagger.Directory, auth_dir: dagger.Directory, dot_firestartr: dagger.Directory) -> str:
	return await (
		dag.hydrate_orchestrator(repo, gh_token, values_state_dir, wet_state_dir, auth_dir, dot_firestartr)
		.repo()
	)
@func()
async example(repo: string, ghToken: Secret, valuesStateDir: Directory, wetStateDir: Directory, authDir: Directory, dotFirestartr: Directory): Promise<string> {
	return dag
		.hydrateOrchestrator(repo, ghToken, valuesStateDir, wetStateDir, authDir, dotFirestartr)
		.repo()
}

ghToken() 🔗

Return Type
Secret !
Example
dagger -m github.com/prefapp/daggerverse/hydrate-orchestrator@52b6d94a05d8e2f02655d850100752f31cd3f389 call \
 --repo string --gh-token env:MYSECRET --values-state-dir DIR_PATH --wet-state-dir DIR_PATH --auth-dir DIR_PATH --dot-firestartr DIR_PATH gh-token
func (m *myModule) example(repo string, ghToken *Secret, valuesStateDir *Directory, wetStateDir *Directory, authDir *Directory, dotFirestartr *Directory) *Secret  {
	return dag.
			HydrateOrchestrator(repo, ghToken, valuesStateDir, wetStateDir, authDir, dotFirestartr).
			GhToken()
}
@function
def example(repo: str, gh_token: dagger.Secret, values_state_dir: dagger.Directory, wet_state_dir: dagger.Directory, auth_dir: dagger.Directory, dot_firestartr: dagger.Directory) -> dagger.Secret:
	return (
		dag.hydrate_orchestrator(repo, gh_token, values_state_dir, wet_state_dir, auth_dir, dot_firestartr)
		.gh_token()
	)
@func()
example(repo: string, ghToken: Secret, valuesStateDir: Directory, wetStateDir: Directory, authDir: Directory, dotFirestartr: Directory): Secret {
	return dag
		.hydrateOrchestrator(repo, ghToken, valuesStateDir, wetStateDir, authDir, dotFirestartr)
		.ghToken()
}

app() 🔗

Return Type
String !
Example
dagger -m github.com/prefapp/daggerverse/hydrate-orchestrator@52b6d94a05d8e2f02655d850100752f31cd3f389 call \
 --repo string --gh-token env:MYSECRET --values-state-dir DIR_PATH --wet-state-dir DIR_PATH --auth-dir DIR_PATH --dot-firestartr DIR_PATH app
func (m *myModule) example(ctx context.Context, repo string, ghToken *Secret, valuesStateDir *Directory, wetStateDir *Directory, authDir *Directory, dotFirestartr *Directory) string  {
	return dag.
			HydrateOrchestrator(repo, ghToken, valuesStateDir, wetStateDir, authDir, dotFirestartr).
			App(ctx)
}
@function
async def example(repo: str, gh_token: dagger.Secret, values_state_dir: dagger.Directory, wet_state_dir: dagger.Directory, auth_dir: dagger.Directory, dot_firestartr: dagger.Directory) -> str:
	return await (
		dag.hydrate_orchestrator(repo, gh_token, values_state_dir, wet_state_dir, auth_dir, dot_firestartr)
		.app()
	)
@func()
async example(repo: string, ghToken: Secret, valuesStateDir: Directory, wetStateDir: Directory, authDir: Directory, dotFirestartr: Directory): Promise<string> {
	return dag
		.hydrateOrchestrator(repo, ghToken, valuesStateDir, wetStateDir, authDir, dotFirestartr)
		.app()
}

valuesStateDir() 🔗

Return Type
Directory !
Example
dagger -m github.com/prefapp/daggerverse/hydrate-orchestrator@52b6d94a05d8e2f02655d850100752f31cd3f389 call \
 --repo string --gh-token env:MYSECRET --values-state-dir DIR_PATH --wet-state-dir DIR_PATH --auth-dir DIR_PATH --dot-firestartr DIR_PATH values-state-dir
func (m *myModule) example(repo string, ghToken *Secret, valuesStateDir *Directory, wetStateDir *Directory, authDir *Directory, dotFirestartr *Directory) *Directory  {
	return dag.
			HydrateOrchestrator(repo, ghToken, valuesStateDir, wetStateDir, authDir, dotFirestartr).
			ValuesStateDir()
}
@function
def example(repo: str, gh_token: dagger.Secret, values_state_dir: dagger.Directory, wet_state_dir: dagger.Directory, auth_dir: dagger.Directory, dot_firestartr: dagger.Directory) -> dagger.Directory:
	return (
		dag.hydrate_orchestrator(repo, gh_token, values_state_dir, wet_state_dir, auth_dir, dot_firestartr)
		.values_state_dir()
	)
@func()
example(repo: string, ghToken: Secret, valuesStateDir: Directory, wetStateDir: Directory, authDir: Directory, dotFirestartr: Directory): Directory {
	return dag
		.hydrateOrchestrator(repo, ghToken, valuesStateDir, wetStateDir, authDir, dotFirestartr)
		.valuesStateDir()
}

wetStateDir() 🔗

Return Type
Directory !
Example
dagger -m github.com/prefapp/daggerverse/hydrate-orchestrator@52b6d94a05d8e2f02655d850100752f31cd3f389 call \
 --repo string --gh-token env:MYSECRET --values-state-dir DIR_PATH --wet-state-dir DIR_PATH --auth-dir DIR_PATH --dot-firestartr DIR_PATH wet-state-dir
func (m *myModule) example(repo string, ghToken *Secret, valuesStateDir *Directory, wetStateDir *Directory, authDir *Directory, dotFirestartr *Directory) *Directory  {
	return dag.
			HydrateOrchestrator(repo, ghToken, valuesStateDir, wetStateDir, authDir, dotFirestartr).
			WetStateDir()
}
@function
def example(repo: str, gh_token: dagger.Secret, values_state_dir: dagger.Directory, wet_state_dir: dagger.Directory, auth_dir: dagger.Directory, dot_firestartr: dagger.Directory) -> dagger.Directory:
	return (
		dag.hydrate_orchestrator(repo, gh_token, values_state_dir, wet_state_dir, auth_dir, dot_firestartr)
		.wet_state_dir()
	)
@func()
example(repo: string, ghToken: Secret, valuesStateDir: Directory, wetStateDir: Directory, authDir: Directory, dotFirestartr: Directory): Directory {
	return dag
		.hydrateOrchestrator(repo, ghToken, valuesStateDir, wetStateDir, authDir, dotFirestartr)
		.wetStateDir()
}

authDir() 🔗

Return Type
Directory !
Example
dagger -m github.com/prefapp/daggerverse/hydrate-orchestrator@52b6d94a05d8e2f02655d850100752f31cd3f389 call \
 --repo string --gh-token env:MYSECRET --values-state-dir DIR_PATH --wet-state-dir DIR_PATH --auth-dir DIR_PATH --dot-firestartr DIR_PATH auth-dir
func (m *myModule) example(repo string, ghToken *Secret, valuesStateDir *Directory, wetStateDir *Directory, authDir *Directory, dotFirestartr *Directory) *Directory  {
	return dag.
			HydrateOrchestrator(repo, ghToken, valuesStateDir, wetStateDir, authDir, dotFirestartr).
			AuthDir()
}
@function
def example(repo: str, gh_token: dagger.Secret, values_state_dir: dagger.Directory, wet_state_dir: dagger.Directory, auth_dir: dagger.Directory, dot_firestartr: dagger.Directory) -> dagger.Directory:
	return (
		dag.hydrate_orchestrator(repo, gh_token, values_state_dir, wet_state_dir, auth_dir, dot_firestartr)
		.auth_dir()
	)
@func()
example(repo: string, ghToken: Secret, valuesStateDir: Directory, wetStateDir: Directory, authDir: Directory, dotFirestartr: Directory): Directory {
	return dag
		.hydrateOrchestrator(repo, ghToken, valuesStateDir, wetStateDir, authDir, dotFirestartr)
		.authDir()
}

deploymentBranch() 🔗

Return Type
String !
Example
dagger -m github.com/prefapp/daggerverse/hydrate-orchestrator@52b6d94a05d8e2f02655d850100752f31cd3f389 call \
 --repo string --gh-token env:MYSECRET --values-state-dir DIR_PATH --wet-state-dir DIR_PATH --auth-dir DIR_PATH --dot-firestartr DIR_PATH deployment-branch
func (m *myModule) example(ctx context.Context, repo string, ghToken *Secret, valuesStateDir *Directory, wetStateDir *Directory, authDir *Directory, dotFirestartr *Directory) string  {
	return dag.
			HydrateOrchestrator(repo, ghToken, valuesStateDir, wetStateDir, authDir, dotFirestartr).
			DeploymentBranch(ctx)
}
@function
async def example(repo: str, gh_token: dagger.Secret, values_state_dir: dagger.Directory, wet_state_dir: dagger.Directory, auth_dir: dagger.Directory, dot_firestartr: dagger.Directory) -> str:
	return await (
		dag.hydrate_orchestrator(repo, gh_token, values_state_dir, wet_state_dir, auth_dir, dot_firestartr)
		.deployment_branch()
	)
@func()
async example(repo: string, ghToken: Secret, valuesStateDir: Directory, wetStateDir: Directory, authDir: Directory, dotFirestartr: Directory): Promise<string> {
	return dag
		.hydrateOrchestrator(repo, ghToken, valuesStateDir, wetStateDir, authDir, dotFirestartr)
		.deploymentBranch()
}

event() 🔗

Return Type
Enum !
Example
dagger -m github.com/prefapp/daggerverse/hydrate-orchestrator@52b6d94a05d8e2f02655d850100752f31cd3f389 call \
 --repo string --gh-token env:MYSECRET --values-state-dir DIR_PATH --wet-state-dir DIR_PATH --auth-dir DIR_PATH --dot-firestartr DIR_PATH event
func (m *myModule) example(repo string, ghToken *Secret, valuesStateDir *Directory, wetStateDir *Directory, authDir *Directory, dotFirestartr *Directory)   {
	return dag.
			HydrateOrchestrator(repo, ghToken, valuesStateDir, wetStateDir, authDir, dotFirestartr).
			Event()
}
@function
def example(repo: str, gh_token: dagger.Secret, values_state_dir: dagger.Directory, wet_state_dir: dagger.Directory, auth_dir: dagger.Directory, dot_firestartr: dagger.Directory) -> :
	return (
		dag.hydrate_orchestrator(repo, gh_token, values_state_dir, wet_state_dir, auth_dir, dot_firestartr)
		.event()
	)
@func()
example(repo: string, ghToken: Secret, valuesStateDir: Directory, wetStateDir: Directory, authDir: Directory, dotFirestartr: Directory):  {
	return dag
		.hydrateOrchestrator(repo, ghToken, valuesStateDir, wetStateDir, authDir, dotFirestartr)
		.event()
}

dotFirestartr() 🔗

Return Type
Directory !
Example
dagger -m github.com/prefapp/daggerverse/hydrate-orchestrator@52b6d94a05d8e2f02655d850100752f31cd3f389 call \
 --repo string --gh-token env:MYSECRET --values-state-dir DIR_PATH --wet-state-dir DIR_PATH --auth-dir DIR_PATH --dot-firestartr DIR_PATH dot-firestartr
func (m *myModule) example(repo string, ghToken *Secret, valuesStateDir *Directory, wetStateDir *Directory, authDir *Directory, dotFirestartr *Directory) *Directory  {
	return dag.
			HydrateOrchestrator(repo, ghToken, valuesStateDir, wetStateDir, authDir, dotFirestartr).
			DotFirestartr()
}
@function
def example(repo: str, gh_token: dagger.Secret, values_state_dir: dagger.Directory, wet_state_dir: dagger.Directory, auth_dir: dagger.Directory, dot_firestartr: dagger.Directory) -> dagger.Directory:
	return (
		dag.hydrate_orchestrator(repo, gh_token, values_state_dir, wet_state_dir, auth_dir, dot_firestartr)
		.dot_firestartr()
	)
@func()
example(repo: string, ghToken: Secret, valuesStateDir: Directory, wetStateDir: Directory, authDir: Directory, dotFirestartr: Directory): Directory {
	return dag
		.hydrateOrchestrator(repo, ghToken, valuesStateDir, wetStateDir, authDir, dotFirestartr)
		.dotFirestartr()
}

deploymentSummaryToFile() 🔗

Function that creates a dagger.File object from a DeploymentSummary object

Return Type
File !
Arguments
NameTypeDefault ValueDescription
deploymentSummaryHydrateOrchestratorDeploymentSummary !-No description provided
Example
echo 'Custom types are not supported in shell examples'
func (m *myModule) example(repo string, ghToken *Secret, valuesStateDir *Directory, wetStateDir *Directory, authDir *Directory, dotFirestartr *Directory, deploymentSummary *HydrateOrchestratorDeploymentSummary) *File  {
	return dag.
			HydrateOrchestrator(repo, ghToken, valuesStateDir, wetStateDir, authDir, dotFirestartr).
			DeploymentSummaryToFile(deploymentSummary)
}
@function
def example(repo: str, gh_token: dagger.Secret, values_state_dir: dagger.Directory, wet_state_dir: dagger.Directory, auth_dir: dagger.Directory, dot_firestartr: dagger.Directory, deployment_summary: dag.HydrateOrchestratorDeploymentSummary) -> dagger.File:
	return (
		dag.hydrate_orchestrator(repo, gh_token, values_state_dir, wet_state_dir, auth_dir, dot_firestartr)
		.deployment_summary_to_file(deployment_summary)
	)
@func()
example(repo: string, ghToken: Secret, valuesStateDir: Directory, wetStateDir: Directory, authDir: Directory, dotFirestartr: Directory, deploymentSummary: HydrateOrchestratorDeploymentSummary): File {
	return dag
		.hydrateOrchestrator(repo, ghToken, valuesStateDir, wetStateDir, authDir, dotFirestartr)
		.deploymentSummaryToFile(deploymentSummary)
}

runDispatch() 🔗

Return Type
Void !
Arguments
NameTypeDefault ValueDescription
idInteger !-Workflow run id
newImagesMatrixString "{\"images\":[]}"No description provided
Example
dagger -m github.com/prefapp/daggerverse/hydrate-orchestrator@52b6d94a05d8e2f02655d850100752f31cd3f389 call \
 --repo string --gh-token env:MYSECRET --values-state-dir DIR_PATH --wet-state-dir DIR_PATH --auth-dir DIR_PATH --dot-firestartr DIR_PATH run-dispatch --id integer
func (m *myModule) example(ctx context.Context, repo string, ghToken *Secret, valuesStateDir *Directory, wetStateDir *Directory, authDir *Directory, dotFirestartr *Directory, id int)   {
	return dag.
			HydrateOrchestrator(repo, ghToken, valuesStateDir, wetStateDir, authDir, dotFirestartr).
			RunDispatch(ctx, id)
}
@function
async def example(repo: str, gh_token: dagger.Secret, values_state_dir: dagger.Directory, wet_state_dir: dagger.Directory, auth_dir: dagger.Directory, dot_firestartr: dagger.Directory, id: int) -> None:
	return await (
		dag.hydrate_orchestrator(repo, gh_token, values_state_dir, wet_state_dir, auth_dir, dot_firestartr)
		.run_dispatch(id)
	)
@func()
async example(repo: string, ghToken: Secret, valuesStateDir: Directory, wetStateDir: Directory, authDir: Directory, dotFirestartr: Directory, id: number): Promise<void> {
	return dag
		.hydrateOrchestrator(repo, ghToken, valuesStateDir, wetStateDir, authDir, dotFirestartr)
		.runDispatch(id)
}

generateDeployment() 🔗

Hydrate deployments based on the updated deployments

Return Type
File !
Arguments
NameTypeDefault ValueDescription
idInteger 0Identifier that triggered the render, this could be a PR number or a workflow run id
authorString "author"Author of the PR
globPatternString !-Glob Pattern
Example
dagger -m github.com/prefapp/daggerverse/hydrate-orchestrator@52b6d94a05d8e2f02655d850100752f31cd3f389 call \
 --repo string --gh-token env:MYSECRET --values-state-dir DIR_PATH --wet-state-dir DIR_PATH --auth-dir DIR_PATH --dot-firestartr DIR_PATH generate-deployment --glob-pattern string
func (m *myModule) example(repo string, ghToken *Secret, valuesStateDir *Directory, wetStateDir *Directory, authDir *Directory, dotFirestartr *Directory, globPattern string) *File  {
	return dag.
			HydrateOrchestrator(repo, ghToken, valuesStateDir, wetStateDir, authDir, dotFirestartr).
			GenerateDeployment(globPattern)
}
@function
def example(repo: str, gh_token: dagger.Secret, values_state_dir: dagger.Directory, wet_state_dir: dagger.Directory, auth_dir: dagger.Directory, dot_firestartr: dagger.Directory, glob_pattern: str) -> dagger.File:
	return (
		dag.hydrate_orchestrator(repo, gh_token, values_state_dir, wet_state_dir, auth_dir, dot_firestartr)
		.generate_deployment(glob_pattern)
	)
@func()
example(repo: string, ghToken: Secret, valuesStateDir: Directory, wetStateDir: Directory, authDir: Directory, dotFirestartr: Directory, globPattern: string): File {
	return dag
		.hydrateOrchestrator(repo, ghToken, valuesStateDir, wetStateDir, authDir, dotFirestartr)
		.generateDeployment(globPattern)
}

validateChanges() 🔗

Hydrate deployments based on the updated deployments

Return Type
Void !
Arguments
NameTypeDefault ValueDescription
updatedDeploymentsString !-Updated deployments in JSON format
Example
dagger -m github.com/prefapp/daggerverse/hydrate-orchestrator@52b6d94a05d8e2f02655d850100752f31cd3f389 call \
 --repo string --gh-token env:MYSECRET --values-state-dir DIR_PATH --wet-state-dir DIR_PATH --auth-dir DIR_PATH --dot-firestartr DIR_PATH validate-changes --updated-deployments string
func (m *myModule) example(ctx context.Context, repo string, ghToken *Secret, valuesStateDir *Directory, wetStateDir *Directory, authDir *Directory, dotFirestartr *Directory, updatedDeployments string)   {
	return dag.
			HydrateOrchestrator(repo, ghToken, valuesStateDir, wetStateDir, authDir, dotFirestartr).
			ValidateChanges(ctx, updatedDeployments)
}
@function
async def example(repo: str, gh_token: dagger.Secret, values_state_dir: dagger.Directory, wet_state_dir: dagger.Directory, auth_dir: dagger.Directory, dot_firestartr: dagger.Directory, updated_deployments: str) -> None:
	return await (
		dag.hydrate_orchestrator(repo, gh_token, values_state_dir, wet_state_dir, auth_dir, dot_firestartr)
		.validate_changes(updated_deployments)
	)
@func()
async example(repo: string, ghToken: Secret, valuesStateDir: Directory, wetStateDir: Directory, authDir: Directory, dotFirestartr: Directory, updatedDeployments: string): Promise<void> {
	return dag
		.hydrateOrchestrator(repo, ghToken, valuesStateDir, wetStateDir, authDir, dotFirestartr)
		.validateChanges(updatedDeployments)
}

HydrateOrchestratorDeploymentSummary 🔗

items() 🔗

Return Type
[HydrateOrchestratorDeploymentSummaryRow ! ] !
Example
Function HydrateOrchestratorDeploymentSummary.items is not accessible from the hydrate-orchestrator module
Function HydrateOrchestratorDeploymentSummary.items is not accessible from the hydrate-orchestrator module
Function HydrateOrchestratorDeploymentSummary.items is not accessible from the hydrate-orchestrator module
Function HydrateOrchestratorDeploymentSummary.items is not accessible from the hydrate-orchestrator module

deploymentSummaryToMarkdownTable() 🔗

Function that converts a DeploymentSummary object to a markdown table

Return Type
String !
Example
Function HydrateOrchestratorDeploymentSummary.deploymentSummaryToMarkdownTable is not accessible from the hydrate-orchestrator module
Function HydrateOrchestratorDeploymentSummary.deploymentSummaryToMarkdownTable is not accessible from the hydrate-orchestrator module
Function HydrateOrchestratorDeploymentSummary.deploymentSummaryToMarkdownTable is not accessible from the hydrate-orchestrator module
Function HydrateOrchestratorDeploymentSummary.deploymentSummaryToMarkdownTable is not accessible from the hydrate-orchestrator module

HydrateOrchestratorDeploymentSummaryRow 🔗

deploymentPath() 🔗

Deployment path

Return Type
String !
Example
Function HydrateOrchestratorDeploymentSummaryRow.deploymentPath is not accessible from the hydrate-orchestrator module
Function HydrateOrchestratorDeploymentSummaryRow.deploymentPath is not accessible from the hydrate-orchestrator module
Function HydrateOrchestratorDeploymentSummaryRow.deploymentPath is not accessible from the hydrate-orchestrator module
Function HydrateOrchestratorDeploymentSummaryRow.deploymentPath is not accessible from the hydrate-orchestrator module

status() 🔗

Status of the deployment

Return Type
String !
Example
Function HydrateOrchestratorDeploymentSummaryRow.status is not accessible from the hydrate-orchestrator module
Function HydrateOrchestratorDeploymentSummaryRow.status is not accessible from the hydrate-orchestrator module
Function HydrateOrchestratorDeploymentSummaryRow.status is not accessible from the hydrate-orchestrator module
Function HydrateOrchestratorDeploymentSummaryRow.status is not accessible from the hydrate-orchestrator module