From 1bb6967a38ccaac050fd9be2eee6543be5783b0d Mon Sep 17 00:00:00 2001 From: Asim Aslam Date: Sun, 12 Apr 2020 23:41:21 +0100 Subject: [PATCH] reorder --- runtime/runtime.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/runtime/runtime.go b/runtime/runtime.go index f13db91b8c..0db1411304 100644 --- a/runtime/runtime.go +++ b/runtime/runtime.go @@ -17,8 +17,6 @@ var ( // Runtime is a service runtime manager type Runtime interface { - // String describes runtime - String() string // Init initializes runtime Init(...Option) error // Create registers a service @@ -31,12 +29,14 @@ type Runtime interface { Delete(*Service) error // List the managed services List() ([]*Service, error) + // Logs returns the logs for a service + Logs(*Service, ...LogsOption) (LogStream, error) // Start starts the runtime Start() error // Stop shuts down the runtime Stop() error - // Logs - Logs(*Service, ...LogsOption) (LogStream, error) + // String describes runtime + String() string } // Stream returns a log stream