Class JsiiGoTarget.Jsii$Proxy
- java.lang.Object
-
- software.amazon.jsii.JsiiObject
-
- io.github.cdklabs.projen.cdk.JsiiGoTarget.Jsii$Proxy
-
- All Implemented Interfaces:
JsiiGoTarget,CommonPublishOptions,GoPublishOptions,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
- JsiiGoTarget
@Stability(Experimental) @Internal public static final class JsiiGoTarget.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements JsiiGoTarget
An implementation forJsiiGoTarget
-
-
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.cdk.JsiiGoTarget
JsiiGoTarget.Builder, JsiiGoTarget.Jsii$Proxy
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedJsii$Proxy(JsiiGoTarget.Builder builder)Constructor that initializes the object based on literal property values passed by theJsiiGoTarget.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.StringgetModuleName()(experimental) The name of the target go module.StringgetPackageName()(experimental) The name of the go package.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(JsiiGoTarget.Builder builder)
Constructor that initializes the object based on literal property values passed by theJsiiGoTarget.Builder.
-
-
Method Detail
-
getModuleName
public final String getModuleName()
Description copied from interface:JsiiGoTarget(experimental) The name of the target go module.Example:
github.com/owner/repo/subdir
- Specified by:
getModuleNamein interfaceJsiiGoTarget
-
getPackageName
public final String getPackageName()
Description copied from interface:JsiiGoTarget(experimental) The name of the go package.Default: - derived from the module name
- Specified by:
getPackageNamein interfaceJsiiGoTarget
-
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
-
-