Package io.typeflows.github.dependabot
Class Registry
-
- All Implemented Interfaces:
-
io.typeflows.util.Renderable
public final class Registry extends Base implements Renderable<Map<String, Any>>
Represents a custom package registry configuration for Dependabot.
This class allows you to configure access to private or custom package registries that Dependabot should use when checking for dependency updates, including authentication credentials and registry-specific settings.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classRegistry.DSLpublic classRegistry.Companion
-
Field Summary
Fields Modifier and Type Field Description private final RegistryTypetypepublic final Uriurlpublic final Stringusernamepublic final Stringpasswordpublic final Stringkeypublic final Stringtokenpublic final BooleanreplacesBasepublic final static Registry.CompanionCompanion
-
Method Summary
Modifier and Type Method Description final RegistryTypegetType()Map<String, Object>render()final static Registrycreate(RegistryType type, Configure<Registry.DSL> block)Creates and configures a Registry instance. final static Registrycreate(RegistryType type)Creates and configures a Registry instance. -
-
Method Detail
-
getType
final RegistryType getType()
-
create
@JvmOverloads() final static Registry create(RegistryType type, Configure<Registry.DSL> block)
Creates and configures a Registry instance.
- Parameters:
type- The type of registry (maven, npm, docker, etc.block- Configuration lambda to set up the registry details- Returns:
Configured Registry instance
-
create
@JvmOverloads() final static Registry create(RegistryType type)
Creates and configures a Registry instance.
- Parameters:
type- The type of registry (maven, npm, docker, etc.- Returns:
Configured Registry instance
-
-
-
-