Package io.github.cdklabs.projen.github
Interface DependabotRegistry
-
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
DependabotRegistry.Jsii$Proxy
@Generated(value="jsii-pacmak/1.96.0 (build 921e240)", date="2024-03-28T21:16:43.068Z") @Stability(Experimental) public interface DependabotRegistry extends software.amazon.jsii.JsiiSerializable
(experimental) Use to add private registry support for dependabot.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classDependabotRegistry.BuilderA builder forDependabotRegistrystatic classDependabotRegistry.Jsii$ProxyAn implementation forDependabotRegistry
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description static DependabotRegistry.Builderbuilder()default StringgetKey()(experimental) A reference to a Dependabot secret containing an access key for this registry.default StringgetOrganization()(experimental) Used with the hex-organization registry type.default StringgetPassword()(experimental) A reference to a Dependabot secret containing the password for the specified user.default BooleangetReplacesBase()(experimental) For registries with type: python-index, if the boolean value is true, pip esolves dependencies by using the specified URL rather than the base URL of the Python Package Index (by default https://pypi.org/simple).default StringgetToken()(experimental) Secret token for dependabot access e.g.DependabotRegistryTypegetType()(experimental) Registry type e.g.StringgetUrl()(experimental) Url for the registry e.g.default StringgetUsername()(experimental) The username that Dependabot uses to access the registry.
-
-
-
Method Detail
-
getType
@Stability(Experimental) @NotNull DependabotRegistryType getType()
(experimental) Registry type e.g. 'npm-registry' or 'docker-registry'.
-
getUrl
@Stability(Experimental) @NotNull String getUrl()
(experimental) Url for the registry e.g. 'https://npm.pkg.github.com' or 'registry.hub.docker.com'.
-
getKey
@Stability(Experimental) @Nullable default String getKey()
(experimental) A reference to a Dependabot secret containing an access key for this registry.Default: undefined
-
getOrganization
@Stability(Experimental) @Nullable default String getOrganization()
(experimental) Used with the hex-organization registry type.Default: undefined
-
getPassword
@Stability(Experimental) @Nullable default String getPassword()
(experimental) A reference to a Dependabot secret containing the password for the specified user.Default: undefined
-
getReplacesBase
@Stability(Experimental) @Nullable default Boolean getReplacesBase()
(experimental) For registries with type: python-index, if the boolean value is true, pip esolves dependencies by using the specified URL rather than the base URL of the Python Package Index (by default https://pypi.org/simple).Default: undefined
-
getToken
@Stability(Experimental) @Nullable default String getToken()
(experimental) Secret token for dependabot access e.g. '${{ secrets.DEPENDABOT_PACKAGE_TOKEN }}'.Default: undefined
-
getUsername
@Stability(Experimental) @Nullable default String getUsername()
(experimental) The username that Dependabot uses to access the registry.Default: - do not authenticate
-
builder
@Stability(Experimental) static DependabotRegistry.Builder builder()
- Returns:
- a
DependabotRegistry.BuilderofDependabotRegistry
-
-