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

Name generation plugins #7

Open
stuartpb opened this issue Aug 28, 2014 · 0 comments
Open

Name generation plugins #7

stuartpb opened this issue Aug 28, 2014 · 0 comments

Comments

@stuartpb
Copy link
Member

Name generation plugins will provide a random-name hook, which will take a list of invalid names (which may have duplicates) and output a random name that isn't in that invalid name list on a single line. In the event that this hook produces multiple lines (say, two name generation plugins are installed), one will be picked at random.

The list of invalid names will itself come from a hook: for apps, this will be "invalid-app-names", and for services it will be "invalid-service-names" (or instance names or whatever). This will let plugins like "app-name-domain" include the results from an "subdomains-in-use" hook (since app names will conflict with other subdomains), which will pull any other subdomains added by other plugins (like web-exposed services). (It will also let you install blacklists which automatically disallow names you want to keep privileged for whatever reason.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant