From f12473f4b15c7d7d7d840d39ae5283b0d2204a69 Mon Sep 17 00:00:00 2001 From: Asim Aslam Date: Fri, 4 Sep 2020 22:43:32 +0100 Subject: [PATCH] Update runtime.go --- runtime/runtime.go | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/runtime/runtime.go b/runtime/runtime.go index d27d9b2d..b06012e2 100644 --- a/runtime/runtime.go +++ b/runtime/runtime.go @@ -14,6 +14,10 @@ var ( type Runtime interface { // Init initializes runtime Init(...Option) error + // CreateNamespace creates a new namespace in the runtime + CreateNamespace(string) error + // DeleteNamespace deletes a namespace in the runtime + DeleteNamespace(string) error // Create registers a service Create(*Service, ...CreateOption) error // Read returns the service @@ -28,12 +32,8 @@ type Runtime interface { Start() error // Stop shuts down the runtime Stop() error - // String describes runtime + // String defines the runtime implementation String() string - // CreateNamespace creates a new namespace in the runtime - CreateNamespace(string) error - // DeleteNamespace deletes a namespace in the runtime - DeleteNamespace(string) error } // Logs returns a log stream