Class GoPublishOptions.Jsii$Proxy
- java.lang.Object
-
- software.amazon.jsii.JsiiObject
-
- io.github.cdklabs.projen.release.GoPublishOptions.Jsii$Proxy
-
- All Implemented Interfaces:
CommonPublishOptions,GoPublishOptions,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
- GoPublishOptions
@Stability(Experimental) @Internal public static final class GoPublishOptions.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements GoPublishOptions
An implementation forGoPublishOptions
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
-
Nested classes/interfaces inherited from interface io.github.cdklabs.projen.release.GoPublishOptions
GoPublishOptions.Builder, GoPublishOptions.Jsii$Proxy
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedJsii$Proxy(GoPublishOptions.Builder builder)Constructor that initializes the object based on literal property values passed by theGoPublishOptions.Builder.protectedJsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)Constructor that initializes the object based on values retrieved from the JsiiObject.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.fasterxml.jackson.databind.JsonNode$jsii$toJson()booleanequals(Object o)StringgetGitBranch()(experimental) Branch to push to.StringgetGitCommitMessage()(experimental) The commit message.StringgetGithubDeployKeySecret()(experimental) The name of the secret that includes a GitHub deploy key used to push to the GitHub repository.StringgetGithubRepo()(experimental) GitHub repository to push to.StringgetGithubTokenSecret()(experimental) The name of the secret that includes a personal GitHub access token used to push to the GitHub repository.BooleangetGithubUseSsh()(experimental) Use SSH to push to GitHub instead of a personal accses token.StringgetGitUserEmail()(experimental) The email to use in the release git commit.StringgetGitUserName()(experimental) The user name to use for the release git commit.List<JobStep>getPostPublishSteps()(experimental) Steps to execute after executing the publishing command.List<JobStep>getPrePublishSteps()(experimental) Steps to execute before executing the publishing command.ToolsgetPublishTools()(experimental) Additional tools to install in the publishing job.inthashCode()
-
-
-
Constructor Detail
-
Jsii$Proxy
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.- Parameters:
objRef- Reference to the JSII managed object.
-
Jsii$Proxy
protected Jsii$Proxy(GoPublishOptions.Builder builder)
Constructor that initializes the object based on literal property values passed by theGoPublishOptions.Builder.
-
-
Method Detail
-
getGitBranch
public final String getGitBranch()
Description copied from interface:GoPublishOptions(experimental) Branch to push to.Default: "main"
- Specified by:
getGitBranchin interfaceGoPublishOptions
-
getGitCommitMessage
public final String getGitCommitMessage()
Description copied from interface:GoPublishOptions(experimental) The commit message.Default: "chore(release): $VERSION"
- Specified by:
getGitCommitMessagein interfaceGoPublishOptions
-
getGithubDeployKeySecret
public final String getGithubDeployKeySecret()
Description copied from interface:GoPublishOptions(experimental) The name of the secret that includes a GitHub deploy key used to push to the GitHub repository.Ignored if
githubUseSshisfalse.Default: "GO_GITHUB_DEPLOY_KEY"
- Specified by:
getGithubDeployKeySecretin interfaceGoPublishOptions
-
getGithubRepo
public final String getGithubRepo()
Description copied from interface:GoPublishOptions(experimental) GitHub repository to push to.Default: - derived from `moduleName`
- Specified by:
getGithubRepoin interfaceGoPublishOptions
-
getGithubTokenSecret
public final String getGithubTokenSecret()
Description copied from interface:GoPublishOptions(experimental) The name of the secret that includes a personal GitHub access token used to push to the GitHub repository.Ignored if
githubUseSshistrue.Default: "GO_GITHUB_TOKEN"
- Specified by:
getGithubTokenSecretin interfaceGoPublishOptions
-
getGithubUseSsh
public final Boolean getGithubUseSsh()
Description copied from interface:GoPublishOptions(experimental) Use SSH to push to GitHub instead of a personal accses token.Default: false
- Specified by:
getGithubUseSshin interfaceGoPublishOptions
-
getGitUserEmail
public final String getGitUserEmail()
Description copied from interface:GoPublishOptions(experimental) The email to use in the release git commit.Default: "github-actions@github.com"
- Specified by:
getGitUserEmailin interfaceGoPublishOptions
-
getGitUserName
public final String getGitUserName()
Description copied from interface:GoPublishOptions(experimental) The user name to use for the release git commit.Default: "github-actions"
- Specified by:
getGitUserNamein interfaceGoPublishOptions
-
getPostPublishSteps
public final List<JobStep> getPostPublishSteps()
Description copied from interface:CommonPublishOptions(experimental) Steps to execute after executing the publishing command.These can be used to add/update the release artifacts ot any other tasks needed.
Note that when using this in
publishToGitHubReleasesthis will override steps added viaaddGitHubPostPublishingSteps.- Specified by:
getPostPublishStepsin interfaceCommonPublishOptions
-
getPrePublishSteps
public final List<JobStep> getPrePublishSteps()
Description copied from interface:CommonPublishOptions(experimental) Steps to execute before executing the publishing command. These can be used to prepare the artifact for publishing if neede.These steps are executed after
dist/has been populated with the build output.Note that when using this in
publishToGitHubReleasesthis will override steps added viaaddGitHubPrePublishingSteps.- Specified by:
getPrePublishStepsin interfaceCommonPublishOptions
-
getPublishTools
public final Tools getPublishTools()
Description copied from interface:CommonPublishOptions(experimental) Additional tools to install in the publishing job.Default: - no additional tools are installed
- Specified by:
getPublishToolsin interfaceCommonPublishOptions
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
-