예제 #1
0
 public OciModuleRegistry(IFileResolver FileResolver, IContainerRegistryClientFactory clientFactory, IFeatureProvider features)
     : base(FileResolver)
 {
     this.cachePath = Path.Combine(features.CacheRootDirectory, ModuleReferenceSchemes.Oci);
     this.client    = new AzureContainerRegistryManager(clientFactory);
 }
예제 #2
0
 public OciModuleRegistry(IFileResolver fileResolver, IContainerRegistryClientFactory clientFactory, IFeatureProvider features)
 {
     this.fileResolver = fileResolver;
     this.cachePath    = Path.Combine(features.CacheRootDirectory, ModuleReferenceSchemes.Oci);
     this.client       = new AzureContainerRegistryManager(new DefaultAzureCredential(), clientFactory);
 }