tree: f5c93a85e674d57ac67020ce95739e9a4460b8bc [path history] [tgz]
  1. deepcopy/
  2. defaults/
  3. equality/
  4. genericresource/
  5. naming/
  6. validation/
  7. ca.pb.go
  8. ca.proto
  9. control.pb.go
  10. control.proto
  11. dispatcher.pb.go
  12. dispatcher.proto
  13. health.pb.go
  14. health.proto
  15. logbroker.pb.go
  16. logbroker.proto
  17. objects.pb.go
  18. objects.proto
  19. raft.pb.go
  20. raft.proto
  21. README.md
  22. resource.pb.go
  23. resource.proto
  24. snapshot.pb.go
  25. snapshot.proto
  26. specs.pb.go
  27. specs.proto
  28. storeobject.go
  29. types.pb.go
  30. types.proto
  31. watch.pb.go
  32. watch.proto
vendor/github.com/docker/swarmkit/api/README.md

Notice

Do not change .pb.go files directly. You need to change the corresponding .proto files and run the following command to regenerate the .pb.go files.

$ make generate

Click here for more information about protobuf.

The api.pb.txt file contains merged descriptors of all defined services and messages. Definitions present here are considered frozen after the release.

At release time, the current api.pb.txt file will be moved into place to freeze the API changes for the minor version. For example, when 1.0.0 is released, api.pb.txt should be moved to 1.0.txt. Notice that we leave off the patch number, since the API will be completely locked down for a given patch series.

We may find that by default, protobuf descriptors are too noisy to lock down API changes. In that case, we may filter out certain fields in the descriptors, possibly regenerating for old versions.

This process is similar to the process used to ensure backwards compatibility in Go.