Description
The API to register internal plugins with their plugin registries is currently quite complex.
func RegisterInternalComponentVersionRepositoryPlugin[T runtime.Typed](
scheme *runtime.Scheme,
r *RepositoryRegistry,
p repository.ComponentVersionRepositoryProvider,
prototype T,
) error
The provider implementations contain a configured scheme themselves.
type CachingComponentVersionRepositoryProvider struct {
creator string
scheme *runtime.Scheme
storeCache *storeCache
credentialCache *credentialCache
ociCache *ociCache
authorizationCache auth.Cache
httpClient *http.Client
tempDir string
}
Scope
- Extend the
Provider APIs to expose their schemes.
- Simplify the
Register signature to only take its corresponding registry and provider as parameters
Done Criteria
Description
The API to register internal plugins with their plugin registries is currently quite complex.
The provider implementations contain a configured scheme themselves.
Scope
ProviderAPIs to expose their schemes.Registersignature to only take its correspondingregistryandprovideras parametersDone Criteria