-
Notifications
You must be signed in to change notification settings - Fork 541
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
proto: initial protobuf for config #185
Closed
Closed
Commits on Sep 15, 2015
-
proto: initial protobuf for structures
To have a less source based, and more consumable example of structures, this is an initial pass at protobuf structures for the structures in the specs golang source. There is some exercise needed in platform specific structures. For the sake of example, the Makefile defaults to outputing golang source, but has a 'c' target (`make c`) for C source, a `make py` and `make all` target. This User structure does not map to the cleanliness of the current go structure, but will allow the definition to be all in one place, regardless of the host that is doing the compilation. All field rules to `optional` for now. Per vish and the docs, https://developers.google.com/protocol-buffers/docs/proto?csw=1#specifying-field-rules "! Required Is Forever" There are a couple of concessions, but is pretty much lined up. Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
Configuration menu - View commit details
-
Copy full SHA for c57abfc - Browse repository at this point
Copy the full SHA c57abfcView commit details -
proto/config: Explicit linux user message
Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
Configuration menu - View commit details
-
Copy full SHA for 716ab56 - Browse repository at this point
Copy the full SHA 716ab56View commit details -
https://developers.google.com/protocol-buffers/docs/style?hl=en Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
Configuration menu - View commit details
-
Copy full SHA for 68b2e0b - Browse repository at this point
Copy the full SHA 68b2e0bView commit details -
Let the user decide the value. opencontainers#179 (comment) Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
Configuration menu - View commit details
-
Copy full SHA for 0373e8f - Browse repository at this point
Copy the full SHA 0373e8fView commit details -
proto: default expanded enum to unknown
per opencontainers#179 (comment) Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
Configuration menu - View commit details
-
Copy full SHA for eb1d649 - Browse repository at this point
Copy the full SHA eb1d649View commit details -
proto/config: User as extensions
Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
Configuration menu - View commit details
-
Copy full SHA for c0c399e - Browse repository at this point
Copy the full SHA c0c399eView commit details
Commits on Sep 24, 2015
-
proto: example of json marshal
Now the default make target shows json output from the example.go source. Consolidated the protobuf files due to a cyclic import issue. Cleaned up outputs to source respective outputs directories. Added a `cpp` target. Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
Configuration menu - View commit details
-
Copy full SHA for 50f8aa9 - Browse repository at this point
Copy the full SHA 50f8aa9View commit details
Commits on Dec 10, 2015
-
* a more field out config structure * display using the jsonpb library * display the binary proto message Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
Configuration menu - View commit details
-
Copy full SHA for 98100f5 - Browse repository at this point
Copy the full SHA 98100f5View commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.