Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable more flexible binding searches #255

Open
dmikusa opened this issue Jun 21, 2023 · 0 comments
Open

Enable more flexible binding searches #255

dmikusa opened this issue Jun 21, 2023 · 0 comments
Labels
type:enhancement A general enhancement

Comments

@dmikusa
Copy link
Contributor

dmikusa commented Jun 21, 2023

Describe the Enhancement

libpak provides ways to search for bindings based on the name, type and provider (exact match). We should add a more flexible method that takes a callback. If the callback returns true, then it matches. If the callback returns false, then it doesn't match. This would allow buildpacks to have more control over how they match bindings.

Possible Solution

See above.

Motivation

Provide more flexibility to buildpacks when matching bindings.

@dmikusa dmikusa added the type:enhancement A general enhancement label Jun 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:enhancement A general enhancement
Projects
None yet
Development

No branches or pull requests

1 participant