Dagger
Search

update-claims-features

No long description provided.

Installation

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

Entrypoint

Return Type
UpdateClaimsFeatures
Example
func (m *myModule) example() *UpdateClaimsFeatures  {
	return dag.
			UpdateClaimsFeatures()
}

Types

UpdateClaimsFeatures 🔗

repo() 🔗

Return Type
String !
Example
func (m *myModule) example(ctx context.Context) string  {
	return dag.
			UpdateClaimsFeatures().
			Repo(ctx)
}

ghToken() 🔗

Return Type
Secret !
Example
func (m *myModule) example() *Secret  {
	return dag.
			UpdateClaimsFeatures().
			GhToken()
}

prefappGhToken() 🔗

Return Type
Secret !
Example
func (m *myModule) example() *Secret  {
	return dag.
			UpdateClaimsFeatures().
			PrefappGhToken()
}

ghCliVersion() 🔗

Return Type
String !
Example
func (m *myModule) example(ctx context.Context) string  {
	return dag.
			UpdateClaimsFeatures().
			GhCliVersion(ctx)
}

claimsDirPath() 🔗

Return Type
String !
Example
func (m *myModule) example(ctx context.Context) string  {
	return dag.
			UpdateClaimsFeatures().
			ClaimsDirPath(ctx)
}

claimsDir() 🔗

Return Type
Directory !
Example
func (m *myModule) example() *Directory  {
	return dag.
			UpdateClaimsFeatures().
			ClaimsDir()
}

defaultBranch() 🔗

Return Type
String !
Example
func (m *myModule) example(ctx context.Context) string  {
	return dag.
			UpdateClaimsFeatures().
			DefaultBranch(ctx)
}

componentsFolderName() 🔗

Return Type
String !
Example
func (m *myModule) example(ctx context.Context) string  {
	return dag.
			UpdateClaimsFeatures().
			ComponentsFolderName(ctx)
}

claimToUpdate() 🔗

Return Type
String !
Example
func (m *myModule) example(ctx context.Context) string  {
	return dag.
			UpdateClaimsFeatures().
			ClaimToUpdate(ctx)
}

featureToUpdate() 🔗

Return Type
String !
Example
func (m *myModule) example(ctx context.Context) string  {
	return dag.
			UpdateClaimsFeatures().
			FeatureToUpdate(ctx)
}

versionConstraint() 🔗

Return Type
String !
Example
func (m *myModule) example(ctx context.Context) string  {
	return dag.
			UpdateClaimsFeatures().
			VersionConstraint(ctx)
}

automerge() 🔗

Return Type
Boolean !
Example
func (m *myModule) example(ctx context.Context) bool  {
	return dag.
			UpdateClaimsFeatures().
			Automerge(ctx)
}

mergePullRequest() 🔗

Return Type
Void !
Arguments
NameTypeDefault ValueDescription
prLinkString !-No description provided
Example
func (m *myModule) example(ctx context.Context, prLink string)   {
	return dag.
			UpdateClaimsFeatures().
			MergePullRequest(ctx, 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
func (m *myModule) 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
func (m *myModule) example(ctx context.Context) string  {
	return dag.
			UpdateClaimsFeatures().
			UpdateAllClaimFeatures(ctx)
}