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

Initial rough cut at nsmgr command #6

Closed
wants to merge 1 commit into from

Conversation

edwarnicke
Copy link
Member

Depends on networkservicemesh/sdk#170
and will not build without it.

Signed-off-by: Ed Warnicke hagbard@gmail.com

Depends on networkservicemesh/sdk#170
and will not build without it.

Signed-off-by: Ed Warnicke <hagbard@gmail.com>

var envCmd = &cobra.Command{
Use: "env",
Short: "Dumps env for current forwarder settings suitable for evaling",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

May be we could move this into some kind of constants or messages?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you say more ... I don't quite follow.

var rootCmd = &cobra.Command{
Use: "forwarder",
Short: "Provides xconnect network service",
Long: `Provides xconnect network service. Supported mechanisms:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we obtain a list of supported mechanisms automatically?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hmm... you mean introspect somehow to construct the usage?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, we potentially could extract this info from endpoint, but not sure it will

@edwarnicke edwarnicke closed this Apr 7, 2020
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.

2 participants