*: add gRPC server for interacting with storages

This commit is contained in:
Eric Chiang
2016-07-31 23:25:06 -07:00
parent cab271f304
commit 94e26782b4
5 changed files with 217 additions and 1 deletions

View File

@@ -15,6 +15,9 @@ const keysName = "openid-connect-keys"
// Client is a mirrored struct from storage with JSON struct tags and
// Kubernetes type metadata.
//
// TODO(ericchiang): Kubernetes has an extremely restricted set of characters it can use for IDs.
// Consider base32ing client IDs.
type Client struct {
k8sapi.TypeMeta `json:",inline"`
k8sapi.ObjectMeta `json:"metadata,omitempty"`