hydrate-orchestrator
No long description provided.
Installation
dagger install github.com/prefapp/daggerverse/hydrate-orchestrator@30763f0142320cf24262446751dad04fe7843ec2
Entrypoint
Return Type
HydrateOrchestrator !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
repo | String ! | - | Github repository name <owner>/<repo> |
ghToken | Secret ! | - | GitHub token |
app | String | "" | Application name |
valuesStateDir | Directory ! | - | State values directory (e.g. state-app-<app>#main) |
wetStateDir | Directory ! | - | Wet state directory (e.g. wet-state-app-<app>#<deployment-branch>) |
authDir | Directory ! | - | Auth directory |
deploymentBranch | String | "deployment" | Deployment branch to hydrate |
event | Enum | "pr" | Event that triggered the workflow |
dotFirestartr | Directory ! | - | No description provided |
Example
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)
}
Types
HydrateOrchestrator 🔗
repo() 🔗
Return Type
String !
Example
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)
}
ghToken() 🔗
Return Type
Secret !
Example
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()
}
app() 🔗
Return Type
String !
Example
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)
}
valuesStateDir() 🔗
Return Type
Directory !
Example
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()
}
wetStateDir() 🔗
Return Type
Directory !
Example
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()
}
authDir() 🔗
Return Type
Directory !
Example
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()
}
deploymentBranch() 🔗
Return Type
String !
Example
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)
}
event() 🔗
Return Type
Enum !
Example
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()
}
dotFirestartr() 🔗
Return Type
Directory !
Example
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()
}
runDispatch() 🔗
Return Type
Void !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
id | Integer ! | - | Workflow run id |
newImagesMatrix | String | "{\"images\":[]}" | No description provided |
Example
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)
}
deploymentSummaryToFile() 🔗
Function that creates a dagger.File object from a DeploymentSummary object
Return Type
File !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
deploymentSummary | HydrateOrchestratorDeploymentSummary ! | - | No description provided |
Example
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)
}
generateDeployment() 🔗
Hydrate deployments based on the updated deployments
Return Type
File !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
id | Integer | 0 | Identifier that triggered the render, this could be a PR number or a workflow run id |
author | String | "author" | Author of the PR |
globPattern | String ! | - | Glob Pattern |
Example
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)
}
validateChanges() 🔗
Hydrate deployments based on the updated deployments
Return Type
Void !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
updatedDeployments | String ! | - | Updated deployments in JSON format |
Example
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)
}
HydrateOrchestratorDeploymentSummary 🔗
items() 🔗
Return Type
[HydrateOrchestratorDeploymentSummaryRow ! ] !
Example
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
HydrateOrchestratorDeploymentSummaryRow 🔗
deploymentPath() 🔗
Deployment path
Return Type
String !
Example
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