Skip to content

Example #1

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

Open
wants to merge 7 commits into
base: feature/119
Choose a base branch
from
Open

Example #1

wants to merge 7 commits into from

Conversation

mr-miles
Copy link

@mr-miles mr-miles commented May 3, 2021

Thanks for taking the time to look at my comments, much appreciated. I thought it was easier to chat about an example/diff!

I made a new function that does the agent token+policy generation so that can switch version approach based as needed.

I agree with you that providing a random file to source in isn't very high quality. I was trying to come up with a way that the end-user can say how they want this bit handled without the script having to have them all built in, but I think its going to be quite ugly in bash and so not really worth it.

I do think if the bootstrapping comes from separate files that get sourced in based on a storage parameter as here, then the functions don't have to know about the storage type and it ends up kinda like an interface that's easy to extend.

There are probably some import issues here, but its just an illustration

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

Successfully merging this pull request may close these issues.

1 participant