Update the runtime for k8s name formatting and move Get to Read endpoint (#978)

* Update the runtime for k8s name formatting and move Get to Read endpoint

* strip regex validation
This commit is contained in:
Asim Aslam
2019-11-25 16:31:14 +00:00
committed by GitHub
parent 95045be83d
commit 252667398e
17 changed files with 268 additions and 589 deletions

View File

@@ -16,8 +16,8 @@ type Runtime interface {
Init(...Option) error
// Create registers a service
Create(*Service, ...CreateOption) error
// Get returns service or fails with error
Get(string, ...GetOption) ([]*Service, error)
// Read returns the service
Read(string, ...ReadOption) ([]*Service, error)
// Update the service in place
Update(*Service) error
// Remove a service