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

Support multiple proto path contexts, similar to kubectl context. #6

Open
marshallbrekka opened this issue Dec 4, 2017 · 2 comments

Comments

@marshallbrekka
Copy link
Contributor

While our use-case largely revolves around a mego-repo of protos, it would be nice to support setting up multiple proto contexts (separate import and service paths) that could easily be switched between.

Maybe something like

contexts:
  name: project-a
  importPaths:
    - /my/dependencies
  servicePaths:
    - /my/services

currentContext: project-a

which could be switched between like so

$ gurl set-context project-a
@catherinetcai
Copy link
Contributor

This, or setting context via url:

gurl -u k8://context/service:port/rpc/method

@marshallbrekka
Copy link
Contributor Author

marshallbrekka commented Dec 25, 2017

@catherinetcai i think we're talking about two different kinds of contexts. One is which protos/services you want to be using, the other is which kubernetes cluster you want to be connecting to.

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

2 participants