notify-and-hydrate-state
This module has been generated via dagger init and serves as a reference to basic module structure as you get started with Dagger.Two functions have been pre-created. You can modify, delete, or add to them, as needed. They demonstrate usage of arguments and return types using simple echo and grep commands. The functions can be called from the dagger CLI or from one of the SDKs.
The first line in this comment block is a short description line and the rest is a long description with more detail on the module's purpose or usage, if appropriate. All modules should have a short description.
Installation
dagger install github.com/prefapp/daggerverse/notify-and-hydrate-state@5525e7662a93e1c68d7291073121f48682be1552Entrypoint
Return Type
NotifyAndHydrateState !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| firestarterImageTag | String | "latest-slim" | No description provided |
| firestarterImage | String | "ghcr.io/prefapp/gitops-k8s" | No description provided |
| githubAppId | String ! | - | Github application ID |
| githubInstallationId | String ! | - | Github installation ID |
| githubPrefappInstallationId | String ! | - | Github prefapp installation ID |
| githubPrivateKey | Secret ! | - | Github private key |
| githubOrganization | String ! | - | Github organization |
| ghToken | Secret ! | - | Github token |
Example
dagger -m github.com/prefapp/daggerverse/notify-and-hydrate-state@5525e7662a93e1c68d7291073121f48682be1552 call \
--github-app-id string --github-installation-id string --github-prefapp-installation-id string --github-private-key env:MYSECRET --github-organization string --gh-token env:MYSECRETfunc (m *MyModule) Example(githubAppId string, githubInstallationId string, githubPrefappInstallationId string, githubPrivateKey *dagger.Secret, githubOrganization string, ghToken *dagger.Secret) *dagger.NotifyAndHydrateState {
return dag.
NotifyAndHydrateState(githubAppId, githubInstallationId, githubPrefappInstallationId, githubPrivateKey, githubOrganization, ghToken)
}@function
def example(github_app_id: str, github_installation_id: str, github_prefapp_installation_id: str, github_private_key: dagger.Secret, github_organization: str, gh_token: dagger.Secret) -> dagger.NotifyAndHydrateState:
return (
dag.notify_and_hydrate_state(github_app_id, github_installation_id, github_prefapp_installation_id, github_private_key, github_organization, gh_token)
)@func()
example(githubAppId: string, githubInstallationId: string, githubPrefappInstallationId: string, githubPrivateKey: Secret, githubOrganization: string, ghToken: Secret): NotifyAndHydrateState {
return dag
.notifyAndHydrateState(githubAppId, githubInstallationId, githubPrefappInstallationId, githubPrivateKey, githubOrganization, ghToken)
}Types
NotifyAndHydrateState 🔗
firestarterImage() 🔗
Return Type
String ! Example
dagger -m github.com/prefapp/daggerverse/notify-and-hydrate-state@5525e7662a93e1c68d7291073121f48682be1552 call \
--github-app-id string --github-installation-id string --github-prefapp-installation-id string --github-private-key env:MYSECRET --github-organization string --gh-token env:MYSECRET firestarter-imagefunc (m *MyModule) Example(ctx context.Context, githubAppId string, githubInstallationId string, githubPrefappInstallationId string, githubPrivateKey *dagger.Secret, githubOrganization string, ghToken *dagger.Secret) string {
return dag.
NotifyAndHydrateState(githubAppId, githubInstallationId, githubPrefappInstallationId, githubPrivateKey, githubOrganization, ghToken).
FirestarterImage(ctx)
}@function
async def example(github_app_id: str, github_installation_id: str, github_prefapp_installation_id: str, github_private_key: dagger.Secret, github_organization: str, gh_token: dagger.Secret) -> str:
return await (
dag.notify_and_hydrate_state(github_app_id, github_installation_id, github_prefapp_installation_id, github_private_key, github_organization, gh_token)
.firestarter_image()
)@func()
async example(githubAppId: string, githubInstallationId: string, githubPrefappInstallationId: string, githubPrivateKey: Secret, githubOrganization: string, ghToken: Secret): Promise<string> {
return dag
.notifyAndHydrateState(githubAppId, githubInstallationId, githubPrefappInstallationId, githubPrivateKey, githubOrganization, ghToken)
.firestarterImage()
}firestarterImageTag() 🔗
Return Type
String ! Example
dagger -m github.com/prefapp/daggerverse/notify-and-hydrate-state@5525e7662a93e1c68d7291073121f48682be1552 call \
--github-app-id string --github-installation-id string --github-prefapp-installation-id string --github-private-key env:MYSECRET --github-organization string --gh-token env:MYSECRET firestarter-image-tagfunc (m *MyModule) Example(ctx context.Context, githubAppId string, githubInstallationId string, githubPrefappInstallationId string, githubPrivateKey *dagger.Secret, githubOrganization string, ghToken *dagger.Secret) string {
return dag.
NotifyAndHydrateState(githubAppId, githubInstallationId, githubPrefappInstallationId, githubPrivateKey, githubOrganization, ghToken).
FirestarterImageTag(ctx)
}@function
async def example(github_app_id: str, github_installation_id: str, github_prefapp_installation_id: str, github_private_key: dagger.Secret, github_organization: str, gh_token: dagger.Secret) -> str:
return await (
dag.notify_and_hydrate_state(github_app_id, github_installation_id, github_prefapp_installation_id, github_private_key, github_organization, gh_token)
.firestarter_image_tag()
)@func()
async example(githubAppId: string, githubInstallationId: string, githubPrefappInstallationId: string, githubPrivateKey: Secret, githubOrganization: string, ghToken: Secret): Promise<string> {
return dag
.notifyAndHydrateState(githubAppId, githubInstallationId, githubPrefappInstallationId, githubPrivateKey, githubOrganization, ghToken)
.firestarterImageTag()
}githubAppId() 🔗
Return Type
String ! Example
dagger -m github.com/prefapp/daggerverse/notify-and-hydrate-state@5525e7662a93e1c68d7291073121f48682be1552 call \
--github-app-id string --github-installation-id string --github-prefapp-installation-id string --github-private-key env:MYSECRET --github-organization string --gh-token env:MYSECRET github-app-idfunc (m *MyModule) Example(ctx context.Context, githubAppId string, githubInstallationId string, githubPrefappInstallationId string, githubPrivateKey *dagger.Secret, githubOrganization string, ghToken *dagger.Secret) string {
return dag.
NotifyAndHydrateState(githubAppId, githubInstallationId, githubPrefappInstallationId, githubPrivateKey, githubOrganization, ghToken).
GithubAppId(ctx)
}@function
async def example(github_app_id: str, github_installation_id: str, github_prefapp_installation_id: str, github_private_key: dagger.Secret, github_organization: str, gh_token: dagger.Secret) -> str:
return await (
dag.notify_and_hydrate_state(github_app_id, github_installation_id, github_prefapp_installation_id, github_private_key, github_organization, gh_token)
.github_app_id()
)@func()
async example(githubAppId: string, githubInstallationId: string, githubPrefappInstallationId: string, githubPrivateKey: Secret, githubOrganization: string, ghToken: Secret): Promise<string> {
return dag
.notifyAndHydrateState(githubAppId, githubInstallationId, githubPrefappInstallationId, githubPrivateKey, githubOrganization, ghToken)
.githubAppId()
}githubInstallationId() 🔗
Return Type
String ! Example
dagger -m github.com/prefapp/daggerverse/notify-and-hydrate-state@5525e7662a93e1c68d7291073121f48682be1552 call \
--github-app-id string --github-installation-id string --github-prefapp-installation-id string --github-private-key env:MYSECRET --github-organization string --gh-token env:MYSECRET github-installation-idfunc (m *MyModule) Example(ctx context.Context, githubAppId string, githubInstallationId string, githubPrefappInstallationId string, githubPrivateKey *dagger.Secret, githubOrganization string, ghToken *dagger.Secret) string {
return dag.
NotifyAndHydrateState(githubAppId, githubInstallationId, githubPrefappInstallationId, githubPrivateKey, githubOrganization, ghToken).
GithubInstallationId(ctx)
}@function
async def example(github_app_id: str, github_installation_id: str, github_prefapp_installation_id: str, github_private_key: dagger.Secret, github_organization: str, gh_token: dagger.Secret) -> str:
return await (
dag.notify_and_hydrate_state(github_app_id, github_installation_id, github_prefapp_installation_id, github_private_key, github_organization, gh_token)
.github_installation_id()
)@func()
async example(githubAppId: string, githubInstallationId: string, githubPrefappInstallationId: string, githubPrivateKey: Secret, githubOrganization: string, ghToken: Secret): Promise<string> {
return dag
.notifyAndHydrateState(githubAppId, githubInstallationId, githubPrefappInstallationId, githubPrivateKey, githubOrganization, ghToken)
.githubInstallationId()
}githubPrefappInstallationId() 🔗
Return Type
String ! Example
dagger -m github.com/prefapp/daggerverse/notify-and-hydrate-state@5525e7662a93e1c68d7291073121f48682be1552 call \
--github-app-id string --github-installation-id string --github-prefapp-installation-id string --github-private-key env:MYSECRET --github-organization string --gh-token env:MYSECRET github-prefapp-installation-idfunc (m *MyModule) Example(ctx context.Context, githubAppId string, githubInstallationId string, githubPrefappInstallationId string, githubPrivateKey *dagger.Secret, githubOrganization string, ghToken *dagger.Secret) string {
return dag.
NotifyAndHydrateState(githubAppId, githubInstallationId, githubPrefappInstallationId, githubPrivateKey, githubOrganization, ghToken).
GithubPrefappInstallationId(ctx)
}@function
async def example(github_app_id: str, github_installation_id: str, github_prefapp_installation_id: str, github_private_key: dagger.Secret, github_organization: str, gh_token: dagger.Secret) -> str:
return await (
dag.notify_and_hydrate_state(github_app_id, github_installation_id, github_prefapp_installation_id, github_private_key, github_organization, gh_token)
.github_prefapp_installation_id()
)@func()
async example(githubAppId: string, githubInstallationId: string, githubPrefappInstallationId: string, githubPrivateKey: Secret, githubOrganization: string, ghToken: Secret): Promise<string> {
return dag
.notifyAndHydrateState(githubAppId, githubInstallationId, githubPrefappInstallationId, githubPrivateKey, githubOrganization, ghToken)
.githubPrefappInstallationId()
}githubPrivateKey() 🔗
Return Type
Secret ! Example
dagger -m github.com/prefapp/daggerverse/notify-and-hydrate-state@5525e7662a93e1c68d7291073121f48682be1552 call \
--github-app-id string --github-installation-id string --github-prefapp-installation-id string --github-private-key env:MYSECRET --github-organization string --gh-token env:MYSECRET github-private-keyfunc (m *MyModule) Example(githubAppId string, githubInstallationId string, githubPrefappInstallationId string, githubPrivateKey *dagger.Secret, githubOrganization string, ghToken *dagger.Secret) *dagger.Secret {
return dag.
NotifyAndHydrateState(githubAppId, githubInstallationId, githubPrefappInstallationId, githubPrivateKey, githubOrganization, ghToken).
GithubPrivateKey()
}@function
def example(github_app_id: str, github_installation_id: str, github_prefapp_installation_id: str, github_private_key: dagger.Secret, github_organization: str, gh_token: dagger.Secret) -> dagger.Secret:
return (
dag.notify_and_hydrate_state(github_app_id, github_installation_id, github_prefapp_installation_id, github_private_key, github_organization, gh_token)
.github_private_key()
)@func()
example(githubAppId: string, githubInstallationId: string, githubPrefappInstallationId: string, githubPrivateKey: Secret, githubOrganization: string, ghToken: Secret): Secret {
return dag
.notifyAndHydrateState(githubAppId, githubInstallationId, githubPrefappInstallationId, githubPrivateKey, githubOrganization, ghToken)
.githubPrivateKey()
}githubOrganization() 🔗
Return Type
String ! Example
dagger -m github.com/prefapp/daggerverse/notify-and-hydrate-state@5525e7662a93e1c68d7291073121f48682be1552 call \
--github-app-id string --github-installation-id string --github-prefapp-installation-id string --github-private-key env:MYSECRET --github-organization string --gh-token env:MYSECRET github-organizationfunc (m *MyModule) Example(ctx context.Context, githubAppId string, githubInstallationId string, githubPrefappInstallationId string, githubPrivateKey *dagger.Secret, githubOrganization string, ghToken *dagger.Secret) string {
return dag.
NotifyAndHydrateState(githubAppId, githubInstallationId, githubPrefappInstallationId, githubPrivateKey, githubOrganization, ghToken).
GithubOrganization(ctx)
}@function
async def example(github_app_id: str, github_installation_id: str, github_prefapp_installation_id: str, github_private_key: dagger.Secret, github_organization: str, gh_token: dagger.Secret) -> str:
return await (
dag.notify_and_hydrate_state(github_app_id, github_installation_id, github_prefapp_installation_id, github_private_key, github_organization, gh_token)
.github_organization()
)@func()
async example(githubAppId: string, githubInstallationId: string, githubPrefappInstallationId: string, githubPrivateKey: Secret, githubOrganization: string, ghToken: Secret): Promise<string> {
return dag
.notifyAndHydrateState(githubAppId, githubInstallationId, githubPrefappInstallationId, githubPrivateKey, githubOrganization, ghToken)
.githubOrganization()
}ghToken() 🔗
Return Type
Secret ! Example
dagger -m github.com/prefapp/daggerverse/notify-and-hydrate-state@5525e7662a93e1c68d7291073121f48682be1552 call \
--github-app-id string --github-installation-id string --github-prefapp-installation-id string --github-private-key env:MYSECRET --github-organization string --gh-token env:MYSECRET gh-tokenfunc (m *MyModule) Example(githubAppId string, githubInstallationId string, githubPrefappInstallationId string, githubPrivateKey *dagger.Secret, githubOrganization string, ghToken *dagger.Secret) *dagger.Secret {
return dag.
NotifyAndHydrateState(githubAppId, githubInstallationId, githubPrefappInstallationId, githubPrivateKey, githubOrganization, ghToken).
GhToken()
}@function
def example(github_app_id: str, github_installation_id: str, github_prefapp_installation_id: str, github_private_key: dagger.Secret, github_organization: str, gh_token: dagger.Secret) -> dagger.Secret:
return (
dag.notify_and_hydrate_state(github_app_id, github_installation_id, github_prefapp_installation_id, github_private_key, github_organization, gh_token)
.gh_token()
)@func()
example(githubAppId: string, githubInstallationId: string, githubPrefappInstallationId: string, githubPrivateKey: Secret, githubOrganization: string, ghToken: Secret): Secret {
return dag
.notifyAndHydrateState(githubAppId, githubInstallationId, githubPrefappInstallationId, githubPrivateKey, githubOrganization, ghToken)
.ghToken()
}verify() 🔗
Return Type
Boolean !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| claimsPr | String ! | - | PR number ("<owner>/<repo>#<pr-number>") |
| ghRepo | String ! | - | Repository name ("<owner>/<repo>") |
| crs | [File ! ] ! | - | CRs to verify |
| prs | [NotifyAndHydrateStatePrBranchName ! ] ! | - | No description provided |
Example
echo 'Custom types are not supported in shell examples'func (m *MyModule) Example(ctx context.Context, githubAppId string, githubInstallationId string, githubPrefappInstallationId string, githubPrivateKey *dagger.Secret, githubOrganization string, ghToken *dagger.Secret, claimsPr string, ghRepo string, crs []*dagger.File, prs []*dagger.NotifyAndHydrateStatePrBranchName) bool {
return dag.
NotifyAndHydrateState(githubAppId, githubInstallationId, githubPrefappInstallationId, githubPrivateKey, githubOrganization, ghToken).
Verify(ctx, claimsPr, ghRepo, crs, prs)
}@function
async def example(github_app_id: str, github_installation_id: str, github_prefapp_installation_id: str, github_private_key: dagger.Secret, github_organization: str, gh_token: dagger.Secret, claims_pr: str, gh_repo: str, crs: List[dagger.File], prs: List[dagger.NotifyAndHydrateStatePrBranchName]) -> bool:
return await (
dag.notify_and_hydrate_state(github_app_id, github_installation_id, github_prefapp_installation_id, github_private_key, github_organization, gh_token)
.verify(claims_pr, gh_repo, crs, prs)
)@func()
async example(githubAppId: string, githubInstallationId: string, githubPrefappInstallationId: string, githubPrivateKey: Secret, githubOrganization: string, ghToken: Secret, claimsPr: string, ghRepo: string, crs: File[], prs: NotifyAndHydrateStatePrBranchName[]): Promise<boolean> {
return dag
.notifyAndHydrateState(githubAppId, githubInstallationId, githubPrefappInstallationId, githubPrivateKey, githubOrganization, ghToken)
.verify(claimsPr, ghRepo, crs, prs)
}crHasPendingPr() 🔗
Return Type
Boolean !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| prs | [NotifyAndHydrateStatePrBranchName ! ] ! | - | No description provided |
| currentPrNumber | String ! | - | No description provided |
| cr | NotifyAndHydrateStateCr ! | - | No description provided |
Example
echo 'Custom types are not supported in shell examples'func (m *MyModule) Example(ctx context.Context, githubAppId string, githubInstallationId string, githubPrefappInstallationId string, githubPrivateKey *dagger.Secret, githubOrganization string, ghToken *dagger.Secret, prs []*dagger.NotifyAndHydrateStatePrBranchName, currentPrNumber string, cr *dagger.NotifyAndHydrateStateCr) bool {
return dag.
NotifyAndHydrateState(githubAppId, githubInstallationId, githubPrefappInstallationId, githubPrivateKey, githubOrganization, ghToken).
CrHasPendingPr(ctx, prs, currentPrNumber, cr)
}@function
async def example(github_app_id: str, github_installation_id: str, github_prefapp_installation_id: str, github_private_key: dagger.Secret, github_organization: str, gh_token: dagger.Secret, prs: List[dagger.NotifyAndHydrateStatePrBranchName], current_pr_number: str, cr: dagger.NotifyAndHydrateStateCr) -> bool:
return await (
dag.notify_and_hydrate_state(github_app_id, github_installation_id, github_prefapp_installation_id, github_private_key, github_organization, gh_token)
.cr_has_pending_pr(prs, current_pr_number, cr)
)@func()
async example(githubAppId: string, githubInstallationId: string, githubPrefappInstallationId: string, githubPrivateKey: Secret, githubOrganization: string, ghToken: Secret, prs: NotifyAndHydrateStatePrBranchName[], currentPrNumber: string, cr: NotifyAndHydrateStateCr): Promise<boolean> {
return dag
.notifyAndHydrateState(githubAppId, githubInstallationId, githubPrefappInstallationId, githubPrivateKey, githubOrganization, ghToken)
.crHasPendingPr(prs, currentPrNumber, cr)
}getRepoPrs() 🔗
Return Type
[NotifyAndHydrateStatePrBranchName ! ] !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| ghRepo | String ! | - | Repository name ("<owner>/<repo>") |
Example
dagger -m github.com/prefapp/daggerverse/notify-and-hydrate-state@5525e7662a93e1c68d7291073121f48682be1552 call \
--github-app-id string --github-installation-id string --github-prefapp-installation-id string --github-private-key env:MYSECRET --github-organization string --gh-token env:MYSECRET get-repo-prs --gh-repo stringfunc (m *MyModule) Example(githubAppId string, githubInstallationId string, githubPrefappInstallationId string, githubPrivateKey *dagger.Secret, githubOrganization string, ghToken *dagger.Secret, ghRepo string) []*dagger.NotifyAndHydrateStatePrBranchName {
return dag.
NotifyAndHydrateState(githubAppId, githubInstallationId, githubPrefappInstallationId, githubPrivateKey, githubOrganization, ghToken).
GetRepoPrs(ghRepo)
}@function
def example(github_app_id: str, github_installation_id: str, github_prefapp_installation_id: str, github_private_key: dagger.Secret, github_organization: str, gh_token: dagger.Secret, gh_repo: str) -> List[dagger.NotifyAndHydrateStatePrBranchName]:
return (
dag.notify_and_hydrate_state(github_app_id, github_installation_id, github_prefapp_installation_id, github_private_key, github_organization, gh_token)
.get_repo_prs(gh_repo)
)@func()
example(githubAppId: string, githubInstallationId: string, githubPrefappInstallationId: string, githubPrivateKey: Secret, githubOrganization: string, ghToken: Secret, ghRepo: string): NotifyAndHydrateStatePrBranchName[] {
return dag
.notifyAndHydrateState(githubAppId, githubInstallationId, githubPrefappInstallationId, githubPrivateKey, githubOrganization, ghToken)
.getRepoPrs(ghRepo)
}compareDirs() 🔗
Return Type
NotifyAndHydrateStateDiffResult !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| oldCrs | Directory ! | - | No description provided |
| newCrs | Directory ! | - | No description provided |
Example
dagger -m github.com/prefapp/daggerverse/notify-and-hydrate-state@5525e7662a93e1c68d7291073121f48682be1552 call \
--github-app-id string --github-installation-id string --github-prefapp-installation-id string --github-private-key env:MYSECRET --github-organization string --gh-token env:MYSECRET compare-dirs --old-crs DIR_PATH --new-crs DIR_PATHfunc (m *MyModule) Example(githubAppId string, githubInstallationId string, githubPrefappInstallationId string, githubPrivateKey *dagger.Secret, githubOrganization string, ghToken *dagger.Secret, oldCrs *dagger.Directory, newCrs *dagger.Directory) *dagger.NotifyAndHydrateStateDiffResult {
return dag.
NotifyAndHydrateState(githubAppId, githubInstallationId, githubPrefappInstallationId, githubPrivateKey, githubOrganization, ghToken).
CompareDirs(oldCrs, newCrs)
}@function
def example(github_app_id: str, github_installation_id: str, github_prefapp_installation_id: str, github_private_key: dagger.Secret, github_organization: str, gh_token: dagger.Secret, old_crs: dagger.Directory, new_crs: dagger.Directory) -> dagger.NotifyAndHydrateStateDiffResult:
return (
dag.notify_and_hydrate_state(github_app_id, github_installation_id, github_prefapp_installation_id, github_private_key, github_organization, gh_token)
.compare_dirs(old_crs, new_crs)
)@func()
example(githubAppId: string, githubInstallationId: string, githubPrefappInstallationId: string, githubPrivateKey: Secret, githubOrganization: string, ghToken: Secret, oldCrs: Directory, newCrs: Directory): NotifyAndHydrateStateDiffResult {
return dag
.notifyAndHydrateState(githubAppId, githubInstallationId, githubPrefappInstallationId, githubPrivateKey, githubOrganization, ghToken)
.compareDirs(oldCrs, newCrs)
}areYamlsEqual() 🔗
Return Type
Boolean !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| yamlA | String ! | - | No description provided |
| yamlB | String ! | - | No description provided |
Example
dagger -m github.com/prefapp/daggerverse/notify-and-hydrate-state@5525e7662a93e1c68d7291073121f48682be1552 call \
--github-app-id string --github-installation-id string --github-prefapp-installation-id string --github-private-key env:MYSECRET --github-organization string --gh-token env:MYSECRET are-yamls-equal --yaml-a string --yaml-b stringfunc (m *MyModule) Example(ctx context.Context, githubAppId string, githubInstallationId string, githubPrefappInstallationId string, githubPrivateKey *dagger.Secret, githubOrganization string, ghToken *dagger.Secret, yamlA string, yamlB string) bool {
return dag.
NotifyAndHydrateState(githubAppId, githubInstallationId, githubPrefappInstallationId, githubPrivateKey, githubOrganization, ghToken).
AreYamlsEqual(ctx, yamlA, yamlB)
}@function
async def example(github_app_id: str, github_installation_id: str, github_prefapp_installation_id: str, github_private_key: dagger.Secret, github_organization: str, gh_token: dagger.Secret, yaml_a: str, yaml_b: str) -> bool:
return await (
dag.notify_and_hydrate_state(github_app_id, github_installation_id, github_prefapp_installation_id, github_private_key, github_organization, gh_token)
.are_yamls_equal(yaml_a, yaml_b)
)@func()
async example(githubAppId: string, githubInstallationId: string, githubPrefappInstallationId: string, githubPrivateKey: Secret, githubOrganization: string, ghToken: Secret, yamlA: string, yamlB: string): Promise<boolean> {
return dag
.notifyAndHydrateState(githubAppId, githubInstallationId, githubPrefappInstallationId, githubPrivateKey, githubOrganization, ghToken)
.areYamlsEqual(yamlA, yamlB)
}addPrReferences() 🔗
Return Type
String !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| claimsRepo | String ! | - | Claims repository name |
| claimPrNumber | String ! | - | Claim PR number |
| prLinks | [String ! ] ! | - | List of PR links |
Example
dagger -m github.com/prefapp/daggerverse/notify-and-hydrate-state@5525e7662a93e1c68d7291073121f48682be1552 call \
--github-app-id string --github-installation-id string --github-prefapp-installation-id string --github-private-key env:MYSECRET --github-organization string --gh-token env:MYSECRET add-pr-references --claims-repo string --claim-pr-number string --pr-links string1 --pr-links string2func (m *MyModule) Example(ctx context.Context, githubAppId string, githubInstallationId string, githubPrefappInstallationId string, githubPrivateKey *dagger.Secret, githubOrganization string, ghToken *dagger.Secret, claimsRepo string, claimPrNumber string, prLinks []string) string {
return dag.
NotifyAndHydrateState(githubAppId, githubInstallationId, githubPrefappInstallationId, githubPrivateKey, githubOrganization, ghToken).
AddPrReferences(ctx, claimsRepo, claimPrNumber, prLinks)
}@function
async def example(github_app_id: str, github_installation_id: str, github_prefapp_installation_id: str, github_private_key: dagger.Secret, github_organization: str, gh_token: dagger.Secret, claims_repo: str, claim_pr_number: str, pr_links: List[str]) -> str:
return await (
dag.notify_and_hydrate_state(github_app_id, github_installation_id, github_prefapp_installation_id, github_private_key, github_organization, gh_token)
.add_pr_references(claims_repo, claim_pr_number, pr_links)
)@func()
async example(githubAppId: string, githubInstallationId: string, githubPrefappInstallationId: string, githubPrivateKey: Secret, githubOrganization: string, ghToken: Secret, claimsRepo: string, claimPrNumber: string, prLinks: string[]): Promise<string> {
return dag
.notifyAndHydrateState(githubAppId, githubInstallationId, githubPrefappInstallationId, githubPrivateKey, githubOrganization, ghToken)
.addPrReferences(claimsRepo, claimPrNumber, prLinks)
}workflow() 🔗
Return Type
NotifyAndHydrateStateDiffResult !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| claimsRepo | String ! | - | Claims repository name |
| wetRepo | String ! | - | Wet repository name |
| claimsDir | Directory ! | - | Claims directory |
| crsDir | Directory ! | - | Previous CRs directory |
| provider | String ! | - | Provider to render |
| claimsPr | String ! | - | Claims PR |
Example
dagger -m github.com/prefapp/daggerverse/notify-and-hydrate-state@5525e7662a93e1c68d7291073121f48682be1552 call \
--github-app-id string --github-installation-id string --github-prefapp-installation-id string --github-private-key env:MYSECRET --github-organization string --gh-token env:MYSECRET workflow --claims-repo string --wet-repo string --claims-dir DIR_PATH --crs-dir DIR_PATH --provider string --claims-pr stringfunc (m *MyModule) Example(githubAppId string, githubInstallationId string, githubPrefappInstallationId string, githubPrivateKey *dagger.Secret, githubOrganization string, ghToken *dagger.Secret, claimsRepo string, wetRepo string, claimsDir *dagger.Directory, crsDir *dagger.Directory, provider string, claimsPr string) *dagger.NotifyAndHydrateStateDiffResult {
return dag.
NotifyAndHydrateState(githubAppId, githubInstallationId, githubPrefappInstallationId, githubPrivateKey, githubOrganization, ghToken).
Workflow(claimsRepo, wetRepo, claimsDir, crsDir, provider, claimsPr)
}@function
def example(github_app_id: str, github_installation_id: str, github_prefapp_installation_id: str, github_private_key: dagger.Secret, github_organization: str, gh_token: dagger.Secret, claims_repo: str, wet_repo: str, claims_dir: dagger.Directory, crs_dir: dagger.Directory, provider: str, claims_pr: str) -> dagger.NotifyAndHydrateStateDiffResult:
return (
dag.notify_and_hydrate_state(github_app_id, github_installation_id, github_prefapp_installation_id, github_private_key, github_organization, gh_token)
.workflow(claims_repo, wet_repo, claims_dir, crs_dir, provider, claims_pr)
)@func()
example(githubAppId: string, githubInstallationId: string, githubPrefappInstallationId: string, githubPrivateKey: Secret, githubOrganization: string, ghToken: Secret, claimsRepo: string, wetRepo: string, claimsDir: Directory, crsDir: Directory, provider: string, claimsPr: string): NotifyAndHydrateStateDiffResult {
return dag
.notifyAndHydrateState(githubAppId, githubInstallationId, githubPrefappInstallationId, githubPrivateKey, githubOrganization, ghToken)
.workflow(claimsRepo, wetRepo, claimsDir, crsDir, provider, claimsPr)
}cmdContainer() 🔗
Return Type
Container ! Example
dagger -m github.com/prefapp/daggerverse/notify-and-hydrate-state@5525e7662a93e1c68d7291073121f48682be1552 call \
--github-app-id string --github-installation-id string --github-prefapp-installation-id string --github-private-key env:MYSECRET --github-organization string --gh-token env:MYSECRET cmd-containerfunc (m *MyModule) Example(githubAppId string, githubInstallationId string, githubPrefappInstallationId string, githubPrivateKey *dagger.Secret, githubOrganization string, ghToken *dagger.Secret) *dagger.Container {
return dag.
NotifyAndHydrateState(githubAppId, githubInstallationId, githubPrefappInstallationId, githubPrivateKey, githubOrganization, ghToken).
CmdContainer()
}@function
def example(github_app_id: str, github_installation_id: str, github_prefapp_installation_id: str, github_private_key: dagger.Secret, github_organization: str, gh_token: dagger.Secret) -> dagger.Container:
return (
dag.notify_and_hydrate_state(github_app_id, github_installation_id, github_prefapp_installation_id, github_private_key, github_organization, gh_token)
.cmd_container()
)@func()
example(githubAppId: string, githubInstallationId: string, githubPrefappInstallationId: string, githubPrivateKey: Secret, githubOrganization: string, ghToken: Secret): Container {
return dag
.notifyAndHydrateState(githubAppId, githubInstallationId, githubPrefappInstallationId, githubPrivateKey, githubOrganization, ghToken)
.cmdContainer()
}cmdHydrate() 🔗
Render claims into CRs
Return Type
Directory !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| claimsRepo | String ! | - | Claims repository name |
| claimsDir | Directory ! | - | Claims directory |
| crsDir | Directory ! | - | Previous CRs directory |
| provider | String ! | - | Provider to render |
Example
dagger -m github.com/prefapp/daggerverse/notify-and-hydrate-state@5525e7662a93e1c68d7291073121f48682be1552 call \
--github-app-id string --github-installation-id string --github-prefapp-installation-id string --github-private-key env:MYSECRET --github-organization string --gh-token env:MYSECRET cmd-hydrate --claims-repo string --claims-dir DIR_PATH --crs-dir DIR_PATH --provider stringfunc (m *MyModule) Example(githubAppId string, githubInstallationId string, githubPrefappInstallationId string, githubPrivateKey *dagger.Secret, githubOrganization string, ghToken *dagger.Secret, claimsRepo string, claimsDir *dagger.Directory, crsDir *dagger.Directory, provider string) *dagger.Directory {
return dag.
NotifyAndHydrateState(githubAppId, githubInstallationId, githubPrefappInstallationId, githubPrivateKey, githubOrganization, ghToken).
CmdHydrate(claimsRepo, claimsDir, crsDir, provider)
}@function
def example(github_app_id: str, github_installation_id: str, github_prefapp_installation_id: str, github_private_key: dagger.Secret, github_organization: str, gh_token: dagger.Secret, claims_repo: str, claims_dir: dagger.Directory, crs_dir: dagger.Directory, provider: str) -> dagger.Directory:
return (
dag.notify_and_hydrate_state(github_app_id, github_installation_id, github_prefapp_installation_id, github_private_key, github_organization, gh_token)
.cmd_hydrate(claims_repo, claims_dir, crs_dir, provider)
)@func()
example(githubAppId: string, githubInstallationId: string, githubPrefappInstallationId: string, githubPrivateKey: Secret, githubOrganization: string, ghToken: Secret, claimsRepo: string, claimsDir: Directory, crsDir: Directory, provider: string): Directory {
return dag
.notifyAndHydrateState(githubAppId, githubInstallationId, githubPrefappInstallationId, githubPrivateKey, githubOrganization, ghToken)
.cmdHydrate(claimsRepo, claimsDir, crsDir, provider)
}cmdAnnotateCrPr() 🔗
Render claims into CRs
Return Type
Directory !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| lastClaimPrLink | String ! | - | Last claim PR link (https://...//pulls/123) |
| lastStatePrLink | String ! | - | Last state PR link (https://...//pulls/123) |
| wetRepo | Directory ! | - | Previous CRs directory |
| crFileName | String ! | - | Path to the cr |
Example
dagger -m github.com/prefapp/daggerverse/notify-and-hydrate-state@5525e7662a93e1c68d7291073121f48682be1552 call \
--github-app-id string --github-installation-id string --github-prefapp-installation-id string --github-private-key env:MYSECRET --github-organization string --gh-token env:MYSECRET cmd-annotate-cr-pr --last-claim-pr-link string --last-state-pr-link string --wet-repo DIR_PATH --cr-file-name stringfunc (m *MyModule) Example(githubAppId string, githubInstallationId string, githubPrefappInstallationId string, githubPrivateKey *dagger.Secret, githubOrganization string, ghToken *dagger.Secret, lastClaimPrLink string, lastStatePrLink string, wetRepo *dagger.Directory, crFileName string) *dagger.Directory {
return dag.
NotifyAndHydrateState(githubAppId, githubInstallationId, githubPrefappInstallationId, githubPrivateKey, githubOrganization, ghToken).
CmdAnnotateCrPr(lastClaimPrLink, lastStatePrLink, wetRepo, crFileName)
}@function
def example(github_app_id: str, github_installation_id: str, github_prefapp_installation_id: str, github_private_key: dagger.Secret, github_organization: str, gh_token: dagger.Secret, last_claim_pr_link: str, last_state_pr_link: str, wet_repo: dagger.Directory, cr_file_name: str) -> dagger.Directory:
return (
dag.notify_and_hydrate_state(github_app_id, github_installation_id, github_prefapp_installation_id, github_private_key, github_organization, gh_token)
.cmd_annotate_cr_pr(last_claim_pr_link, last_state_pr_link, wet_repo, cr_file_name)
)@func()
example(githubAppId: string, githubInstallationId: string, githubPrefappInstallationId: string, githubPrivateKey: Secret, githubOrganization: string, ghToken: Secret, lastClaimPrLink: string, lastStatePrLink: string, wetRepo: Directory, crFileName: string): Directory {
return dag
.notifyAndHydrateState(githubAppId, githubInstallationId, githubPrefappInstallationId, githubPrivateKey, githubOrganization, ghToken)
.cmdAnnotateCrPr(lastClaimPrLink, lastStatePrLink, wetRepo, crFileName)
}cmdAffectedWetRepos() 🔗
Return Type
File !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| claimsFromMain | Directory ! | - | No description provided |
| claimsFromPr | Directory ! | - | No description provided |
| claimsDefaults | Directory ! | - | No description provided |
| wetReposConfig | File ! | - | No description provided |
Example
dagger -m github.com/prefapp/daggerverse/notify-and-hydrate-state@5525e7662a93e1c68d7291073121f48682be1552 call \
--github-app-id string --github-installation-id string --github-prefapp-installation-id string --github-private-key env:MYSECRET --github-organization string --gh-token env:MYSECRET cmd-affected-wet-repos --claims-from-main DIR_PATH --claims-from-pr DIR_PATH --claims-defaults DIR_PATH --wet-repos-config file:pathfunc (m *MyModule) Example(githubAppId string, githubInstallationId string, githubPrefappInstallationId string, githubPrivateKey *dagger.Secret, githubOrganization string, ghToken *dagger.Secret, claimsFromMain *dagger.Directory, claimsFromPr *dagger.Directory, claimsDefaults *dagger.Directory, wetReposConfig *dagger.File) *dagger.File {
return dag.
NotifyAndHydrateState(githubAppId, githubInstallationId, githubPrefappInstallationId, githubPrivateKey, githubOrganization, ghToken).
CmdAffectedWetRepos(claimsFromMain, claimsFromPr, claimsDefaults, wetReposConfig)
}@function
def example(github_app_id: str, github_installation_id: str, github_prefapp_installation_id: str, github_private_key: dagger.Secret, github_organization: str, gh_token: dagger.Secret, claims_from_main: dagger.Directory, claims_from_pr: dagger.Directory, claims_defaults: dagger.Directory, wet_repos_config: dagger.File) -> dagger.File:
return (
dag.notify_and_hydrate_state(github_app_id, github_installation_id, github_prefapp_installation_id, github_private_key, github_organization, gh_token)
.cmd_affected_wet_repos(claims_from_main, claims_from_pr, claims_defaults, wet_repos_config)
)@func()
example(githubAppId: string, githubInstallationId: string, githubPrefappInstallationId: string, githubPrivateKey: Secret, githubOrganization: string, ghToken: Secret, claimsFromMain: Directory, claimsFromPr: Directory, claimsDefaults: Directory, wetReposConfig: File): File {
return dag
.notifyAndHydrateState(githubAppId, githubInstallationId, githubPrefappInstallationId, githubPrivateKey, githubOrganization, ghToken)
.cmdAffectedWetRepos(claimsFromMain, claimsFromPr, claimsDefaults, wetReposConfig)
}cmdAnnotateCrs() 🔗
Return Type
Directory !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| claimsRepo | String ! | - | Claims repository name |
| wetRepo | String ! | - | Wet repository name |
| wetPrNumber | String ! | - | Wet PR number |
| crsDir | Directory ! | - | CRs directory |
Example
dagger -m github.com/prefapp/daggerverse/notify-and-hydrate-state@5525e7662a93e1c68d7291073121f48682be1552 call \
--github-app-id string --github-installation-id string --github-prefapp-installation-id string --github-private-key env:MYSECRET --github-organization string --gh-token env:MYSECRET cmd-annotate-crs --claims-repo string --wet-repo string --wet-pr-number string --crs-dir DIR_PATHfunc (m *MyModule) Example(githubAppId string, githubInstallationId string, githubPrefappInstallationId string, githubPrivateKey *dagger.Secret, githubOrganization string, ghToken *dagger.Secret, claimsRepo string, wetRepo string, wetPrNumber string, crsDir *dagger.Directory) *dagger.Directory {
return dag.
NotifyAndHydrateState(githubAppId, githubInstallationId, githubPrefappInstallationId, githubPrivateKey, githubOrganization, ghToken).
CmdAnnotateCrs(claimsRepo, wetRepo, wetPrNumber, crsDir)
}@function
def example(github_app_id: str, github_installation_id: str, github_prefapp_installation_id: str, github_private_key: dagger.Secret, github_organization: str, gh_token: dagger.Secret, claims_repo: str, wet_repo: str, wet_pr_number: str, crs_dir: dagger.Directory) -> dagger.Directory:
return (
dag.notify_and_hydrate_state(github_app_id, github_installation_id, github_prefapp_installation_id, github_private_key, github_organization, gh_token)
.cmd_annotate_crs(claims_repo, wet_repo, wet_pr_number, crs_dir)
)@func()
example(githubAppId: string, githubInstallationId: string, githubPrefappInstallationId: string, githubPrivateKey: Secret, githubOrganization: string, ghToken: Secret, claimsRepo: string, wetRepo: string, wetPrNumber: string, crsDir: Directory): Directory {
return dag
.notifyAndHydrateState(githubAppId, githubInstallationId, githubPrefappInstallationId, githubPrivateKey, githubOrganization, ghToken)
.cmdAnnotateCrs(claimsRepo, wetRepo, wetPrNumber, crsDir)
}createPrsFromDiff() 🔗
Return Type
[String ! ] !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| diff | NotifyAndHydrateStateDiffResult ! | - | No description provided |
| wetRepositoryDir | Directory ! | - | No description provided |
| wetRepoName | String ! | - | No description provided |
| claimPrNumber | String ! | - | No description provided |
| prs | [NotifyAndHydrateStatePrBranchName ! ] ! | - | No description provided |
Example
echo 'Custom types are not supported in shell examples'func (m *MyModule) Example(ctx context.Context, githubAppId string, githubInstallationId string, githubPrefappInstallationId string, githubPrivateKey *dagger.Secret, githubOrganization string, ghToken *dagger.Secret, diff *dagger.NotifyAndHydrateStateDiffResult, wetRepositoryDir *dagger.Directory, wetRepoName string, claimPrNumber string, prs []*dagger.NotifyAndHydrateStatePrBranchName) []string {
return dag.
NotifyAndHydrateState(githubAppId, githubInstallationId, githubPrefappInstallationId, githubPrivateKey, githubOrganization, ghToken).
CreatePrsFromDiff(ctx, diff, wetRepositoryDir, wetRepoName, claimPrNumber, prs)
}@function
async def example(github_app_id: str, github_installation_id: str, github_prefapp_installation_id: str, github_private_key: dagger.Secret, github_organization: str, gh_token: dagger.Secret, diff: dagger.NotifyAndHydrateStateDiffResult, wet_repository_dir: dagger.Directory, wet_repo_name: str, claim_pr_number: str, prs: List[dagger.NotifyAndHydrateStatePrBranchName]) -> List[str]:
return await (
dag.notify_and_hydrate_state(github_app_id, github_installation_id, github_prefapp_installation_id, github_private_key, github_organization, gh_token)
.create_prs_from_diff(diff, wet_repository_dir, wet_repo_name, claim_pr_number, prs)
)@func()
async example(githubAppId: string, githubInstallationId: string, githubPrefappInstallationId: string, githubPrivateKey: Secret, githubOrganization: string, ghToken: Secret, diff: NotifyAndHydrateStateDiffResult, wetRepositoryDir: Directory, wetRepoName: string, claimPrNumber: string, prs: NotifyAndHydrateStatePrBranchName[]): Promise<string[]> {
return dag
.notifyAndHydrateState(githubAppId, githubInstallationId, githubPrefappInstallationId, githubPrivateKey, githubOrganization, ghToken)
.createPrsFromDiff(diff, wetRepositoryDir, wetRepoName, claimPrNumber, prs)
}createPr() 🔗
Return Type
String !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| file | File ! | - | No description provided |
| wetRepositoryDir | Directory ! | - | No description provided |
| wetRepoName | String ! | - | No description provided |
| action | String ! | - | No description provided |
| claimPrNumber | String ! | - | No description provided |
| prs | [NotifyAndHydrateStatePrBranchName ! ] ! | - | No description provided |
Example
echo 'Custom types are not supported in shell examples'func (m *MyModule) Example(ctx context.Context, githubAppId string, githubInstallationId string, githubPrefappInstallationId string, githubPrivateKey *dagger.Secret, githubOrganization string, ghToken *dagger.Secret, file *dagger.File, wetRepositoryDir *dagger.Directory, wetRepoName string, action string, claimPrNumber string, prs []*dagger.NotifyAndHydrateStatePrBranchName) string {
return dag.
NotifyAndHydrateState(githubAppId, githubInstallationId, githubPrefappInstallationId, githubPrivateKey, githubOrganization, ghToken).
CreatePr(ctx, file, wetRepositoryDir, wetRepoName, action, claimPrNumber, prs)
}@function
async def example(github_app_id: str, github_installation_id: str, github_prefapp_installation_id: str, github_private_key: dagger.Secret, github_organization: str, gh_token: dagger.Secret, file: dagger.File, wet_repository_dir: dagger.Directory, wet_repo_name: str, action: str, claim_pr_number: str, prs: List[dagger.NotifyAndHydrateStatePrBranchName]) -> str:
return await (
dag.notify_and_hydrate_state(github_app_id, github_installation_id, github_prefapp_installation_id, github_private_key, github_organization, gh_token)
.create_pr(file, wet_repository_dir, wet_repo_name, action, claim_pr_number, prs)
)@func()
async example(githubAppId: string, githubInstallationId: string, githubPrefappInstallationId: string, githubPrivateKey: Secret, githubOrganization: string, ghToken: Secret, file: File, wetRepositoryDir: Directory, wetRepoName: string, action: string, claimPrNumber: string, prs: NotifyAndHydrateStatePrBranchName[]): Promise<string> {
return dag
.notifyAndHydrateState(githubAppId, githubInstallationId, githubPrefappInstallationId, githubPrivateKey, githubOrganization, ghToken)
.createPr(file, wetRepositoryDir, wetRepoName, action, claimPrNumber, prs)
}configGitContainer() 🔗
Return Type
Container ! Example
dagger -m github.com/prefapp/daggerverse/notify-and-hydrate-state@5525e7662a93e1c68d7291073121f48682be1552 call \
--github-app-id string --github-installation-id string --github-prefapp-installation-id string --github-private-key env:MYSECRET --github-organization string --gh-token env:MYSECRET config-git-containerfunc (m *MyModule) Example(githubAppId string, githubInstallationId string, githubPrefappInstallationId string, githubPrivateKey *dagger.Secret, githubOrganization string, ghToken *dagger.Secret) *dagger.Container {
return dag.
NotifyAndHydrateState(githubAppId, githubInstallationId, githubPrefappInstallationId, githubPrivateKey, githubOrganization, ghToken).
ConfigGitContainer()
}@function
def example(github_app_id: str, github_installation_id: str, github_prefapp_installation_id: str, github_private_key: dagger.Secret, github_organization: str, gh_token: dagger.Secret) -> dagger.Container:
return (
dag.notify_and_hydrate_state(github_app_id, github_installation_id, github_prefapp_installation_id, github_private_key, github_organization, gh_token)
.config_git_container()
)@func()
example(githubAppId: string, githubInstallationId: string, githubPrefappInstallationId: string, githubPrivateKey: Secret, githubOrganization: string, ghToken: Secret): Container {
return dag
.notifyAndHydrateState(githubAppId, githubInstallationId, githubPrefappInstallationId, githubPrivateKey, githubOrganization, ghToken)
.configGitContainer()
}createPrIfNotExists() 🔗
Return Type
String !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| branch | String ! | - | No description provided |
| repo | String ! | - | No description provided |
| title | String ! | - | No description provided |
| body | String ! | - | No description provided |
| prs | [NotifyAndHydrateStatePrBranchName ! ] ! | - | No description provided |
Example
echo 'Custom types are not supported in shell examples'func (m *MyModule) Example(ctx context.Context, githubAppId string, githubInstallationId string, githubPrefappInstallationId string, githubPrivateKey *dagger.Secret, githubOrganization string, ghToken *dagger.Secret, branch string, repo string, title string, body string, prs []*dagger.NotifyAndHydrateStatePrBranchName) string {
return dag.
NotifyAndHydrateState(githubAppId, githubInstallationId, githubPrefappInstallationId, githubPrivateKey, githubOrganization, ghToken).
CreatePrIfNotExists(ctx, branch, repo, title, body, prs)
}@function
async def example(github_app_id: str, github_installation_id: str, github_prefapp_installation_id: str, github_private_key: dagger.Secret, github_organization: str, gh_token: dagger.Secret, branch: str, repo: str, title: str, body: str, prs: List[dagger.NotifyAndHydrateStatePrBranchName]) -> str:
return await (
dag.notify_and_hydrate_state(github_app_id, github_installation_id, github_prefapp_installation_id, github_private_key, github_organization, gh_token)
.create_pr_if_not_exists(branch, repo, title, body, prs)
)@func()
async example(githubAppId: string, githubInstallationId: string, githubPrefappInstallationId: string, githubPrivateKey: Secret, githubOrganization: string, ghToken: Secret, branch: string, repo: string, title: string, body: string, prs: NotifyAndHydrateStatePrBranchName[]): Promise<string> {
return dag
.notifyAndHydrateState(githubAppId, githubInstallationId, githubPrefappInstallationId, githubPrivateKey, githubOrganization, ghToken)
.createPrIfNotExists(branch, repo, title, body, prs)
}NotifyAndHydrateStatePrBranchName 🔗
headRefName() 🔗
Return Type
String ! Example
Function NotifyAndHydrateStatePrBranchName.headRefName is not accessible from the notify-and-hydrate-state moduleFunction NotifyAndHydrateStatePrBranchName.headRefName is not accessible from the notify-and-hydrate-state moduleFunction NotifyAndHydrateStatePrBranchName.headRefName is not accessible from the notify-and-hydrate-state moduleFunction NotifyAndHydrateStatePrBranchName.headRefName is not accessible from the notify-and-hydrate-state moduleurl() 🔗
Return Type
String ! Example
Function NotifyAndHydrateStatePrBranchName.url is not accessible from the notify-and-hydrate-state moduleFunction NotifyAndHydrateStatePrBranchName.url is not accessible from the notify-and-hydrate-state moduleFunction NotifyAndHydrateStatePrBranchName.url is not accessible from the notify-and-hydrate-state moduleFunction NotifyAndHydrateStatePrBranchName.url is not accessible from the notify-and-hydrate-state moduleNotifyAndHydrateStateCr 🔗
metadata() 🔗
Return Type
NotifyAndHydrateStateMetadata ! Example
Function NotifyAndHydrateStateCr.metadata is not accessible from the notify-and-hydrate-state moduleFunction NotifyAndHydrateStateCr.metadata is not accessible from the notify-and-hydrate-state moduleFunction NotifyAndHydrateStateCr.metadata is not accessible from the notify-and-hydrate-state moduleFunction NotifyAndHydrateStateCr.metadata is not accessible from the notify-and-hydrate-state moduleNotifyAndHydrateStateDiffResult 🔗
addedFiles() 🔗
Return Type
[File ! ] ! Example
dagger -m github.com/prefapp/daggerverse/notify-and-hydrate-state@5525e7662a93e1c68d7291073121f48682be1552 call \
workflow --claims-repo string --wet-repo string --claims-dir DIR_PATH --crs-dir DIR_PATH --provider string --claims-pr string \
added-filesfunc (m *MyModule) Example(claimsRepo string, wetRepo string, claimsDir *dagger.Directory, crsDir *dagger.Directory, provider string, claimsPr string) []*dagger.File {
return dag.
NotifyAndHydrateState().
Workflow(claimsRepo, wetRepo, claimsDir, crsDir, provider, claimsPr).
AddedFiles()
}@function
def example(claims_repo: str, wet_repo: str, claims_dir: dagger.Directory, crs_dir: dagger.Directory, provider: str, claims_pr: str) -> List[dagger.File]:
return (
dag.notify_and_hydrate_state()
.workflow(claims_repo, wet_repo, claims_dir, crs_dir, provider, claims_pr)
.added_files()
)@func()
example(claimsRepo: string, wetRepo: string, claimsDir: Directory, crsDir: Directory, provider: string, claimsPr: string): File[] {
return dag
.notifyAndHydrateState()
.workflow(claimsRepo, wetRepo, claimsDir, crsDir, provider, claimsPr)
.addedFiles()
}deletedFiles() 🔗
Return Type
[File ! ] ! Example
dagger -m github.com/prefapp/daggerverse/notify-and-hydrate-state@5525e7662a93e1c68d7291073121f48682be1552 call \
workflow --claims-repo string --wet-repo string --claims-dir DIR_PATH --crs-dir DIR_PATH --provider string --claims-pr string \
deleted-filesfunc (m *MyModule) Example(claimsRepo string, wetRepo string, claimsDir *dagger.Directory, crsDir *dagger.Directory, provider string, claimsPr string) []*dagger.File {
return dag.
NotifyAndHydrateState().
Workflow(claimsRepo, wetRepo, claimsDir, crsDir, provider, claimsPr).
DeletedFiles()
}@function
def example(claims_repo: str, wet_repo: str, claims_dir: dagger.Directory, crs_dir: dagger.Directory, provider: str, claims_pr: str) -> List[dagger.File]:
return (
dag.notify_and_hydrate_state()
.workflow(claims_repo, wet_repo, claims_dir, crs_dir, provider, claims_pr)
.deleted_files()
)@func()
example(claimsRepo: string, wetRepo: string, claimsDir: Directory, crsDir: Directory, provider: string, claimsPr: string): File[] {
return dag
.notifyAndHydrateState()
.workflow(claimsRepo, wetRepo, claimsDir, crsDir, provider, claimsPr)
.deletedFiles()
}modifiedFiles() 🔗
Return Type
[File ! ] ! Example
dagger -m github.com/prefapp/daggerverse/notify-and-hydrate-state@5525e7662a93e1c68d7291073121f48682be1552 call \
workflow --claims-repo string --wet-repo string --claims-dir DIR_PATH --crs-dir DIR_PATH --provider string --claims-pr string \
modified-filesfunc (m *MyModule) Example(claimsRepo string, wetRepo string, claimsDir *dagger.Directory, crsDir *dagger.Directory, provider string, claimsPr string) []*dagger.File {
return dag.
NotifyAndHydrateState().
Workflow(claimsRepo, wetRepo, claimsDir, crsDir, provider, claimsPr).
ModifiedFiles()
}@function
def example(claims_repo: str, wet_repo: str, claims_dir: dagger.Directory, crs_dir: dagger.Directory, provider: str, claims_pr: str) -> List[dagger.File]:
return (
dag.notify_and_hydrate_state()
.workflow(claims_repo, wet_repo, claims_dir, crs_dir, provider, claims_pr)
.modified_files()
)@func()
example(claimsRepo: string, wetRepo: string, claimsDir: Directory, crsDir: Directory, provider: string, claimsPr: string): File[] {
return dag
.notifyAndHydrateState()
.workflow(claimsRepo, wetRepo, claimsDir, crsDir, provider, claimsPr)
.modifiedFiles()
}unmodifiedFiles() 🔗
Return Type
[File ! ] ! Example
dagger -m github.com/prefapp/daggerverse/notify-and-hydrate-state@5525e7662a93e1c68d7291073121f48682be1552 call \
workflow --claims-repo string --wet-repo string --claims-dir DIR_PATH --crs-dir DIR_PATH --provider string --claims-pr string \
unmodified-filesfunc (m *MyModule) Example(claimsRepo string, wetRepo string, claimsDir *dagger.Directory, crsDir *dagger.Directory, provider string, claimsPr string) []*dagger.File {
return dag.
NotifyAndHydrateState().
Workflow(claimsRepo, wetRepo, claimsDir, crsDir, provider, claimsPr).
UnmodifiedFiles()
}@function
def example(claims_repo: str, wet_repo: str, claims_dir: dagger.Directory, crs_dir: dagger.Directory, provider: str, claims_pr: str) -> List[dagger.File]:
return (
dag.notify_and_hydrate_state()
.workflow(claims_repo, wet_repo, claims_dir, crs_dir, provider, claims_pr)
.unmodified_files()
)@func()
example(claimsRepo: string, wetRepo: string, claimsDir: Directory, crsDir: Directory, provider: string, claimsPr: string): File[] {
return dag
.notifyAndHydrateState()
.workflow(claimsRepo, wetRepo, claimsDir, crsDir, provider, claimsPr)
.unmodifiedFiles()
}NotifyAndHydrateStateMetadata 🔗
name() 🔗
Return Type
String ! Example
Function NotifyAndHydrateStateMetadata.name is not accessible from the notify-and-hydrate-state moduleFunction NotifyAndHydrateStateMetadata.name is not accessible from the notify-and-hydrate-state moduleFunction NotifyAndHydrateStateMetadata.name is not accessible from the notify-and-hydrate-state moduleFunction NotifyAndHydrateStateMetadata.name is not accessible from the notify-and-hydrate-state module