Dagger
Search

update-claims-features

No long description provided.

Installation

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

Entrypoint

Return Type
UpdateClaimsFeatures
Example
dagger -m github.com/prefapp/daggerverse/update-claims-features@384ae7185c49f034ef851e76f14c75c746212344 call \
func (m *myModule) example() *UpdateClaimsFeatures  {
	return dag.
			UpdateClaimsFeatures()
}
@function
def example() -> dag.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@384ae7185c49f034ef851e76f14c75c746212344 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()
}

ghToken() 🔗

Return Type
Secret !
Example
dagger -m github.com/prefapp/daggerverse/update-claims-features@384ae7185c49f034ef851e76f14c75c746212344 call \
 gh-token
func (m *myModule) example() *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@384ae7185c49f034ef851e76f14c75c746212344 call \
 prefapp-gh-token
func (m *myModule) example() *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@384ae7185c49f034ef851e76f14c75c746212344 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@384ae7185c49f034ef851e76f14c75c746212344 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@384ae7185c49f034ef851e76f14c75c746212344 call \
 claims-dir
func (m *myModule) example() *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@384ae7185c49f034ef851e76f14c75c746212344 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()
}

componentsFolderName() 🔗

Return Type
String !
Example
dagger -m github.com/prefapp/daggerverse/update-claims-features@384ae7185c49f034ef851e76f14c75c746212344 call \
 components-folder-name
func (m *myModule) example(ctx context.Context) string  {
	return dag.
			UpdateClaimsFeatures().
			ComponentsFolderName(ctx)
}
@function
async def example() -> str:
	return await (
		dag.update_claims_features()
		.components_folder_name()
	)
@func()
async example(): Promise<string> {
	return dag
		.updateClaimsFeatures()
		.componentsFolderName()
}

claimToUpdate() 🔗

Return Type
String !
Example
dagger -m github.com/prefapp/daggerverse/update-claims-features@384ae7185c49f034ef851e76f14c75c746212344 call \
 claim-to-update
func (m *myModule) example(ctx context.Context) string  {
	return dag.
			UpdateClaimsFeatures().
			ClaimToUpdate(ctx)
}
@function
async def example() -> str:
	return await (
		dag.update_claims_features()
		.claim_to_update()
	)
@func()
async example(): Promise<string> {
	return dag
		.updateClaimsFeatures()
		.claimToUpdate()
}

featureToUpdate() 🔗

Return Type
String !
Example
dagger -m github.com/prefapp/daggerverse/update-claims-features@384ae7185c49f034ef851e76f14c75c746212344 call \
 feature-to-update
func (m *myModule) example(ctx context.Context) string  {
	return dag.
			UpdateClaimsFeatures().
			FeatureToUpdate(ctx)
}
@function
async def example() -> str:
	return await (
		dag.update_claims_features()
		.feature_to_update()
	)
@func()
async example(): Promise<string> {
	return dag
		.updateClaimsFeatures()
		.featureToUpdate()
}

versionConstraint() 🔗

Return Type
String !
Example
dagger -m github.com/prefapp/daggerverse/update-claims-features@384ae7185c49f034ef851e76f14c75c746212344 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@384ae7185c49f034ef851e76f14c75c746212344 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()
}

mergePullRequest() 🔗

Return Type
Void !
Arguments
NameTypeDefault ValueDescription
prLinkString !-No description provided
Example
dagger -m github.com/prefapp/daggerverse/update-claims-features@384ae7185c49f034ef851e76f14c75c746212344 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.66.1"Gh CLI Version
repoString !-Claims repo name
defaultBranchString "main"Name of the default branch of the claims repo
componentsFolderNameString "components"Name of the components folder name
claimToUpdateString ""Name of the claim to be updated
featureToUpdateString ""Name of the feature to be updated
versionConstraintString ""Check for the version we want to install
automergeBoolean falseWhether or not to automerge
Example
dagger -m github.com/prefapp/daggerverse/update-claims-features@384ae7185c49f034ef851e76f14c75c746212344 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 *Directory, claimsDirPath string, ghToken *Secret, prefappGhToken *Secret, repo string) *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) -> dag.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
String !
Example
dagger -m github.com/prefapp/daggerverse/update-claims-features@384ae7185c49f034ef851e76f14c75c746212344 call \
 update-all-claim-features
func (m *myModule) example(ctx context.Context) string  {
	return dag.
			UpdateClaimsFeatures().
			UpdateAllClaimFeatures(ctx)
}
@function
async def example() -> str:
	return await (
		dag.update_claims_features()
		.update_all_claim_features()
	)
@func()
async example(): Promise<string> {
	return dag
		.updateClaimsFeatures()
		.updateAllClaimFeatures()
}