Commit Graph

5 Commits

Author SHA1 Message Date
Dalton Hubble
70fce2739b bootcft/server: Simplify responses from server lib
* Simplify server lib responses so HTTP server components don't
have to unwrap protobuf Response types intended for gRPC uses
* Wrap server lib responses in protobuf Response types in the
rpc package
2016-04-01 03:10:05 -07:00
Dalton Hubble
e0bfb3947b bootcfg/api,server: Refactor Group and Profile selection into server
* Add gRPC SelectGroup and SelectProfile service endpoints
* HTTP and gRPC servers should both allow labels to be resolved to the
matching Group or Profile. Move logic to bootcfg core server.
* Add gRPC wrapper selectServer to avoid cluttering core server with
response types which are currently only useful for gRPC
2016-03-28 17:10:59 -07:00
Dalton Hubble
0d148581b9 bootcfg/api: Switch from api types to storagepb types
* Remove api.Store and use storagepb.Store instead
* Remove api.Spec and use storagepb.Profile instead
* Switch from api.Group to storagepb.Group
* Move api.Group to config for YAML config decoding only
2016-03-10 18:32:57 -08:00
Dalton Hubble
c98a0b74de bootcfg/api: Remove Labels and LabelSet 2016-03-10 11:55:18 -08:00
Dalton Hubble
e990320dae api,config,sign: Organize bootcfg packages together 2016-03-04 14:00:46 -08:00