Dagger
Search

update-claims-features

No long description provided.

Installation

dagger install github.com/prefapp/daggerverse/update-claims-features@dead76a84d758f452b7dc4507ba2e5b131f7f68e

Entrypoint

Return Type
UpdateClaimsFeatures
Example
dagger -m github.com/prefapp/daggerverse/update-claims-features@dead76a84d758f452b7dc4507ba2e5b131f7f68e call \
func (m *MyModule) Example() *dagger.UpdateClaimsFeatures  {
	return dag.
			UpdateClaimsFeatures()
}
@function
def example() -> dagger.UpdateClaimsFeatures:
	return (
		dag.update_claims_features()
	)
@func()
example(): UpdateClaimsFeatures {
	return dag
		.updateClaimsFeatures()
}

Types

UpdateClaimsFeatures 🔗

repo() 🔗

Return Type
String !
Example
dagger -m github.com/prefapp/daggerverse/update-claims-features@dead76a84d758f452b7dc4507ba2e5b131f7f68e call \
 repo
func (m *MyModule) Example(ctx context.Context) string  {
	return dag.
			UpdateClaimsFeatures().
			Repo(ctx)
}
@function
async def example() -> str:
	return await (
		dag.update_claims_features()
		.repo()
	)
@func()
async example(): Promise<string> {
	return dag
		.updateClaimsFeatures()
		.repo()
}

org() 🔗

Return Type
String !
Example
dagger -m github.com/prefapp/daggerverse/update-claims-features@dead76a84d758f452b7dc4507ba2e5b131f7f68e call \
 org
func (m *MyModule) Example(ctx context.Context) string  {
	return dag.
			UpdateClaimsFeatures().
			Org(ctx)
}
@function
async def example() -> str:
	return await (
		dag.update_claims_features()
		.org()
	)
@func()
async example(): Promise<string> {
	return dag
		.updateClaimsFeatures()
		.org()
}

ghToken() 🔗

Return Type
Secret !
Example
dagger -m github.com/prefapp/daggerverse/update-claims-features@dead76a84d758f452b7dc4507ba2e5b131f7f68e call \
 gh-token
func (m *MyModule) Example() *dagger.Secret  {
	return dag.
			UpdateClaimsFeatures().
			GhToken()
}
@function
def example() -> dagger.Secret:
	return (
		dag.update_claims_features()
		.gh_token()
	)
@func()
example(): Secret {
	return dag
		.updateClaimsFeatures()
		.ghToken()
}

prefappGhToken() 🔗

Return Type
Secret !
Example
dagger -m github.com/prefapp/daggerverse/update-claims-features@dead76a84d758f452b7dc4507ba2e5b131f7f68e call \
 prefapp-gh-token
func (m *MyModule) Example() *dagger.Secret  {
	return dag.
			UpdateClaimsFeatures().
			PrefappGhToken()
}
@function
def example() -> dagger.Secret:
	return (
		dag.update_claims_features()
		.prefapp_gh_token()
	)
@func()
example(): Secret {
	return dag
		.updateClaimsFeatures()
		.prefappGhToken()
}

ghCliVersion() 🔗

Return Type
String !
Example
dagger -m github.com/prefapp/daggerverse/update-claims-features@dead76a84d758f452b7dc4507ba2e5b131f7f68e call \
 gh-cli-version
func (m *MyModule) Example(ctx context.Context) string  {
	return dag.
			UpdateClaimsFeatures().
			GhCliVersion(ctx)
}
@function
async def example() -> str:
	return await (
		dag.update_claims_features()
		.gh_cli_version()
	)
@func()
async example(): Promise<string> {
	return dag
		.updateClaimsFeatures()
		.ghCliVersion()
}

claimsDirPath() 🔗

Return Type
String !
Example
dagger -m github.com/prefapp/daggerverse/update-claims-features@dead76a84d758f452b7dc4507ba2e5b131f7f68e call \
 claims-dir-path
func (m *MyModule) Example(ctx context.Context) string  {
	return dag.
			UpdateClaimsFeatures().
			ClaimsDirPath(ctx)
}
@function
async def example() -> str:
	return await (
		dag.update_claims_features()
		.claims_dir_path()
	)
@func()
async example(): Promise<string> {
	return dag
		.updateClaimsFeatures()
		.claimsDirPath()
}

claimsDir() 🔗

Return Type
Directory !
Example
dagger -m github.com/prefapp/daggerverse/update-claims-features@dead76a84d758f452b7dc4507ba2e5b131f7f68e call \
 claims-dir
func (m *MyModule) Example() *dagger.Directory  {
	return dag.
			UpdateClaimsFeatures().
			ClaimsDir()
}
@function
def example() -> dagger.Directory:
	return (
		dag.update_claims_features()
		.claims_dir()
	)
@func()
example(): Directory {
	return dag
		.updateClaimsFeatures()
		.claimsDir()
}

defaultBranch() 🔗

Return Type
String !
Example
dagger -m github.com/prefapp/daggerverse/update-claims-features@dead76a84d758f452b7dc4507ba2e5b131f7f68e call \
 default-branch
func (m *MyModule) Example(ctx context.Context) string  {
	return dag.
			UpdateClaimsFeatures().
			DefaultBranch(ctx)
}
@function
async def example() -> str:
	return await (
		dag.update_claims_features()
		.default_branch()
	)
@func()
async example(): Promise<string> {
	return dag
		.updateClaimsFeatures()
		.defaultBranch()
}

claimsToUpdate() 🔗

Return Type
[String ! ] !
Example
dagger -m github.com/prefapp/daggerverse/update-claims-features@dead76a84d758f452b7dc4507ba2e5b131f7f68e call \
 claims-to-update
func (m *MyModule) Example(ctx context.Context) []string  {
	return dag.
			UpdateClaimsFeatures().
			ClaimsToUpdate(ctx)
}
@function
async def example() -> List[str]:
	return await (
		dag.update_claims_features()
		.claims_to_update()
	)
@func()
async example(): Promise<string[]> {
	return dag
		.updateClaimsFeatures()
		.claimsToUpdate()
}

featuresToUpdate() 🔗

Return Type
[String ! ] !
Example
dagger -m github.com/prefapp/daggerverse/update-claims-features@dead76a84d758f452b7dc4507ba2e5b131f7f68e call \
 features-to-update
func (m *MyModule) Example(ctx context.Context) []string  {
	return dag.
			UpdateClaimsFeatures().
			FeaturesToUpdate(ctx)
}
@function
async def example() -> List[str]:
	return await (
		dag.update_claims_features()
		.features_to_update()
	)
@func()
async example(): Promise<string[]> {
	return dag
		.updateClaimsFeatures()
		.featuresToUpdate()
}

versionConstraint() 🔗

Return Type
String !
Example
dagger -m github.com/prefapp/daggerverse/update-claims-features@dead76a84d758f452b7dc4507ba2e5b131f7f68e call \
 version-constraint
func (m *MyModule) Example(ctx context.Context) string  {
	return dag.
			UpdateClaimsFeatures().
			VersionConstraint(ctx)
}
@function
async def example() -> str:
	return await (
		dag.update_claims_features()
		.version_constraint()
	)
@func()
async example(): Promise<string> {
	return dag
		.updateClaimsFeatures()
		.versionConstraint()
}

automerge() 🔗

Return Type
Boolean !
Example
dagger -m github.com/prefapp/daggerverse/update-claims-features@dead76a84d758f452b7dc4507ba2e5b131f7f68e call \
 automerge
func (m *MyModule) Example(ctx context.Context) bool  {
	return dag.
			UpdateClaimsFeatures().
			Automerge(ctx)
}
@function
async def example() -> bool:
	return await (
		dag.update_claims_features()
		.automerge()
	)
@func()
async example(): Promise<boolean> {
	return dag
		.updateClaimsFeatures()
		.automerge()
}

localGhCliPath() 🔗

Return Type
File !
Example
dagger -m github.com/prefapp/daggerverse/update-claims-features@dead76a84d758f452b7dc4507ba2e5b131f7f68e call \
 local-gh-cli-path
func (m *MyModule) Example() *dagger.File  {
	return dag.
			UpdateClaimsFeatures().
			LocalGhCliPath()
}
@function
def example() -> dagger.File:
	return (
		dag.update_claims_features()
		.local_gh_cli_path()
	)
@func()
example(): File {
	return dag
		.updateClaimsFeatures()
		.localGhCliPath()
}

deploymentSummaryToFile() 🔗

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

Return Type
File !
Arguments
NameTypeDefault ValueDescription
updateSummaryUpdateClaimsFeaturesUpdateSummary !-No description provided
Example
echo 'Custom types are not supported in shell examples'
func (m *MyModule) Example(updateSummary *dagger.UpdateClaimsFeaturesUpdateSummary) *dagger.File  {
	return dag.
			UpdateClaimsFeatures().
			DeploymentSummaryToFile(updateSummary)
}
@function
def example(update_summary: dagger.UpdateClaimsFeaturesUpdateSummary) -> dagger.File:
	return (
		dag.update_claims_features()
		.deployment_summary_to_file(update_summary)
	)
@func()
example(updateSummary: UpdateClaimsFeaturesUpdateSummary): File {
	return dag
		.updateClaimsFeatures()
		.deploymentSummaryToFile(updateSummary)
}

mergePullRequest() 🔗

Return Type
Void !
Arguments
NameTypeDefault ValueDescription
prLinkString !-No description provided
Example
dagger -m github.com/prefapp/daggerverse/update-claims-features@dead76a84d758f452b7dc4507ba2e5b131f7f68e call \
 merge-pull-request --pr-link string
func (m *MyModule) Example(ctx context.Context, prLink string)   {
	return dag.
			UpdateClaimsFeatures().
			MergePullRequest(ctx, prLink)
}
@function
async def example(pr_link: str) -> None:
	return await (
		dag.update_claims_features()
		.merge_pull_request(pr_link)
	)
@func()
async example(prLink: string): Promise<void> {
	return dag
		.updateClaimsFeatures()
		.mergePullRequest(prLink)
}

new() 🔗

Return Type
UpdateClaimsFeatures !
Arguments
NameTypeDefault ValueDescription
claimsDirDirectory !-No description provided
claimsDirPathString !-

Claims dir path

ghTokenSecret !-

GitHub token

prefappGhTokenSecret !-

Prefapp org GitHub token

ghCliVersionString "v2.74.2"

Gh CLI Version

repoString !-

Claims repo name

defaultBranchString "main"

Name of the default branch of the claims repo

claimsToUpdateString ""

Name of the claim to be updated

featuresToUpdateString ""

Name of the feature to be updated

versionConstraintString ""

Check for the version we want to install

automergeBoolean false

Whether or not to automerge

localGhCliPathFile -

Path to the local GitHub CLI binary file (not a directory). If not provided, the GitHub CLI will be downloaded automatically.

Example
dagger -m github.com/prefapp/daggerverse/update-claims-features@dead76a84d758f452b7dc4507ba2e5b131f7f68e call \
 new --claims-dir DIR_PATH --claims-dir-path string --gh-token env:MYSECRET --prefapp-gh-token env:MYSECRET --repo string
func (m *MyModule) Example(claimsDir *dagger.Directory, claimsDirPath string, ghToken *dagger.Secret, prefappGhToken *dagger.Secret, repo string) *dagger.UpdateClaimsFeatures  {
	return dag.
			UpdateClaimsFeatures().
			New(claimsDir, claimsDirPath, ghToken, prefappGhToken, repo)
}
@function
def example(claims_dir: dagger.Directory, claims_dir_path: str, gh_token: dagger.Secret, prefapp_gh_token: dagger.Secret, repo: str) -> dagger.UpdateClaimsFeatures:
	return (
		dag.update_claims_features()
		.new(claims_dir, claims_dir_path, gh_token, prefapp_gh_token, repo)
	)
@func()
example(claimsDir: Directory, claimsDirPath: string, ghToken: Secret, prefappGhToken: Secret, repo: string): UpdateClaimsFeatures {
	return dag
		.updateClaimsFeatures()
		.new(claimsDir, claimsDirPath, ghToken, prefappGhToken, repo)
}

updateAllClaimFeatures() 🔗

Return Type
File !
Example
dagger -m github.com/prefapp/daggerverse/update-claims-features@dead76a84d758f452b7dc4507ba2e5b131f7f68e call \
 update-all-claim-features
func (m *MyModule) Example() *dagger.File  {
	return dag.
			UpdateClaimsFeatures().
			UpdateAllClaimFeatures()
}
@function
def example() -> dagger.File:
	return (
		dag.update_claims_features()
		.update_all_claim_features()
	)
@func()
example(): File {
	return dag
		.updateClaimsFeatures()
		.updateAllClaimFeatures()
}

workflowRun() 🔗

Return Type
Void !
Arguments
NameTypeDefault ValueDescription
claimNameString !-No description provided
Example
dagger -m github.com/prefapp/daggerverse/update-claims-features@dead76a84d758f452b7dc4507ba2e5b131f7f68e call \
 workflow-run --claim-name string
func (m *MyModule) Example(ctx context.Context, claimName string)   {
	return dag.
			UpdateClaimsFeatures().
			WorkflowRun(ctx, claimName)
}
@function
async def example(claim_name: str) -> None:
	return await (
		dag.update_claims_features()
		.workflow_run(claim_name)
	)
@func()
async example(claimName: string): Promise<void> {
	return dag
		.updateClaimsFeatures()
		.workflowRun(claimName)
}

UpdateClaimsFeaturesUpdateSummary 🔗

items() 🔗

Return Type
[UpdateClaimsFeaturesUpdateSummaryRow ! ] !
Example
Function UpdateClaimsFeaturesUpdateSummary.items is not accessible from the update-claims-features module
Function UpdateClaimsFeaturesUpdateSummary.items is not accessible from the update-claims-features module
Function UpdateClaimsFeaturesUpdateSummary.items is not accessible from the update-claims-features module
Function UpdateClaimsFeaturesUpdateSummary.items is not accessible from the update-claims-features module

updateSummaryToMarkdownTable() 🔗

Function that converts a UpdateSummary object to a markdown table

Return Type
String !
Example
Function UpdateClaimsFeaturesUpdateSummary.updateSummaryToMarkdownTable is not accessible from the update-claims-features module
Function UpdateClaimsFeaturesUpdateSummary.updateSummaryToMarkdownTable is not accessible from the update-claims-features module
Function UpdateClaimsFeaturesUpdateSummary.updateSummaryToMarkdownTable is not accessible from the update-claims-features module
Function UpdateClaimsFeaturesUpdateSummary.updateSummaryToMarkdownTable is not accessible from the update-claims-features module

UpdateClaimsFeaturesUpdateSummaryRow 🔗

claim() 🔗

Claim name

Return Type
String !
Example
Function UpdateClaimsFeaturesUpdateSummaryRow.claim is not accessible from the update-claims-features module
Function UpdateClaimsFeaturesUpdateSummaryRow.claim is not accessible from the update-claims-features module
Function UpdateClaimsFeaturesUpdateSummaryRow.claim is not accessible from the update-claims-features module
Function UpdateClaimsFeaturesUpdateSummaryRow.claim is not accessible from the update-claims-features module

status() 🔗

Status of the update

Return Type
String !
Example
Function UpdateClaimsFeaturesUpdateSummaryRow.status is not accessible from the update-claims-features module
Function UpdateClaimsFeaturesUpdateSummaryRow.status is not accessible from the update-claims-features module
Function UpdateClaimsFeaturesUpdateSummaryRow.status is not accessible from the update-claims-features module
Function UpdateClaimsFeaturesUpdateSummaryRow.status is not accessible from the update-claims-features module