Skip to content
This repository has been archived by the owner on Jun 14, 2018. It is now read-only.

[wip] Proxy cfg validation & route generation #68

Closed
wants to merge 16 commits into from

Conversation

kyessenov
Copy link
Contributor

@kyessenov kyessenov commented Jan 31, 2017

This change is Reviewable

@googlebot
Copy link

So there's good news and bad news.

👍 The good news is that everyone that needs to sign a CLA (the pull request submitter and all commit authors) have done so. Everything is all good there.

😕 The bad news is that it appears that one or more commits were authored by someone other than the pull request submitter. We need to confirm that they're okay with their commits being contributed to this project. Please have them confirm that here in the pull request.

Note to project maintainer: This is a terminal state, meaning the cla/google commit status will not change from this state. It's up to you to confirm consent of the commit author(s) and merge this pull request when appropriate.

@@ -360,7 +361,7 @@ func modelToKube(km model.KindMap, obj *model.Config) (*Config, error) {
return out, nil
}

func protoToMap(msg proto.Message) (map[string]interface{}, error) {
func protoToMap(msg proxycf.ProxyConfig) (map[string]interface{}, error) {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

don't specialize this method - it's meant to be used for all proto messages (there is a descriptor field in each generated Go source)

// if err != nil {
// return nil, err
// }
// }
Copy link
Contributor Author

Choose a reason for hiding this comment

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

leave this code as is, you can use a dummy proto for status (like the one in mock_config). I'm pretty sure we will need this later but it doesn't hurt now.

@ijsnellf ijsnellf force-pushed the proxy_cfg_validation branch 3 times, most recently from a61064b to dc2e5e9 Compare January 31, 2017 20:59
@rshriram rshriram changed the title [wip] Proxy cfg validation [wip] Proxy cfg validation & route generation Jan 31, 2017
@rshriram
Copy link
Member

rshriram commented Feb 3, 2017

closing PR and splitting it into 2. Please see #80 and #79

@rshriram rshriram closed this Feb 3, 2017
@rshriram rshriram deleted the proxy_cfg_validation branch February 4, 2017 00:08
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants