import { CredentialProvider } from "./credential-provider" ; import { DockerConfig } from "./types" ; export class CredsStore extends CredentialProvider { public getName ( ) { return "CredsStore" ; } public getCredentialProviderName ( registry , dockerConfig ) { if ( dockerConfig . credsStore !== undefined && dockerConfig . credsStore . length > 0 ) { return dockerConfig . credsStore ; } } }