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
Name | Type | Default Value | Description |
---|---|---|---|
prLink | String ! | - | No description provided |
Example
func (m *myModule) example(ctx context.Context, prLink string) {
return dag.
UpdateClaimsFeatures().
MergePullRequest(ctx, prLink)
}
new() 🔗
Return Type
UpdateClaimsFeatures !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
claimsDir | Directory ! | - | No description provided |
claimsDirPath | String ! | - | Claims dir path |
ghToken | Secret ! | - | GitHub token |
prefappGhToken | Secret ! | - | Prefapp org GitHub token |
ghCliVersion | String | "v2.66.1" | Gh CLI Version |
repo | String ! | - | Claims repo name |
defaultBranch | String | "main" | Name of the default branch of the claims repo |
componentsFolderName | String | "components" | Name of the components folder name |
claimToUpdate | String | "" | Name of the claim to be updated |
featureToUpdate | String | "" | Name of the feature to be updated |
versionConstraint | String | "" | Check for the version we want to install |
automerge | Boolean | false | Whether 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)
}