Uses of Class
land.oras.Registry.Builder
Packages that use Registry.Builder
-
Uses of Registry.Builder in land.oras
Methods in land.oras that return Registry.BuilderModifier and TypeMethodDescriptionstatic Registry.BuilderRegistry.builder()Return a new builder for this registrystatic Registry.BuilderRegistry.Builder.builder()Return a new builderRegistry.Builder.defaults()Return a new builder with default authentication using existing host authReturn a new builder with default authentication using existing host auth and registry urlSet username and password authenticationSet username and password authenticationReturn a new builder with the same configuration as the given registryRegistry.Builder.insecure()Set insecure communication and no authentificationSet insecure communication and no authentificationReturn a new insecure builder with username and password authenticationRegistry.Builder.withAuthProvider(AuthProvider authProvider) Set the auth providerRegistry.Builder.withAuthToken(String authToken) Use given auth token for the registry.Registry.Builder.withCaContent(String caContent) Set the CA certificates from PEM-encoded contentRegistry.Builder.withCaFile(String caFilePath) Set the CA file for TLS verificationRegistry.Builder.withCaFile(Path caFilePath) Set the CA file for TLS verificationRegistry.Builder.withExecutorService(ExecutorService executorService) Set the executor service to use for parallel uploads/downloads.Registry.Builder.withInsecure(boolean insecure) Set the insecure flagRegistry.Builder.withMaxRetries(int maxRetries) Set the maximum number of attempts for retryable requests (default: 3).Registry.Builder.withMaxRetryDelay(long maxRetryDelayMs) Set the upper bound on retry delay in milliseconds (default: 30 000).Registry.Builder.withMeterRegistry(io.micrometer.core.instrument.MeterRegistry meterRegistry) Set the meter registry for metrics.Registry.Builder.withParallelism(int parallelism) Set the maximum number of concurrent downloads when pulling an artifact with multiple layers.Registry.Builder.withPolicy(ContainersPolicy policy) Set the containers trust policy to enforce during pull operations.Registry.Builder.withReferrerListMaxPages(int referrerListMaxPages) Set the maximum number of pages fetched during a full referrer listing (0 = unlimited).Registry.Builder.withRegistry(String registry) Set the registry URLRegistry.Builder.withRetryDelay(long retryDelayMs) Set the initial delay before the first retry in milliseconds (default: 500).Registry.Builder.withSkipTlsVerify(boolean skipTlsVerify) Set the skip TLS verify flagRegistry.Builder.withTagListMaxPages(int tagListMaxPages) Set the maximum number of pages fetched during a full tag listing (0 = unlimited, not recommanded).