import { CredentialProvider } from "./credential-provider" ; import { DockerConfig } from "./types" ; export class CredHelpers extends CredentialProvider { public getName ( ) { return "CredHelpers" ; } public getCredentialProviderName ( registry , dockerConfig ) { if ( dockerConfig . credHelpers !== undefined && dockerConfig . credHelpers [ registry ] !== undefined ) { return dockerConfig . credHelpers [ registry ] ; } } }