update-claims-features
No long description provided.
Installation
dagger install github.com/prefapp/daggerverse/update-claims-features@da075a65c5ab83ae3b899164cae24dd0e99f0d2a
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()
}
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)
}
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 |
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 |
Example
func (m *myModule) example(claimsDir *Directory, claimsDirPath string, ghToken *Secret, repo string) *UpdateClaimsFeatures {
return dag.
UpdateClaimsFeatures().
New(claimsDir, claimsDirPath, ghToken, repo)
}
updateAllClaimFeatures() 🔗
Return Type
String !
Example
func (m *myModule) example(ctx context.Context) string {
return dag.
UpdateClaimsFeatures().
UpdateAllClaimFeatures(ctx)
}