remove start from runtime
This commit is contained in:
@@ -51,11 +51,14 @@ func NewRuntime(opts ...runtime.Option) runtime.Runtime {
|
||||
// make the logs directory
|
||||
os.MkdirAll(LogDir, 0755)
|
||||
|
||||
return &localRuntime{
|
||||
lr := &localRuntime{
|
||||
options: options,
|
||||
start: make(chan *service, 128),
|
||||
namespaces: make(map[string]map[string]*service),
|
||||
}
|
||||
lr.Start()
|
||||
|
||||
return lr
|
||||
}
|
||||
|
||||
// Init initializes runtime options
|
||||
|
@@ -26,8 +26,6 @@ type Runtime interface {
|
||||
Delete(Resource, ...DeleteOption) error
|
||||
// Logs returns the logs for a resource
|
||||
Logs(Resource, ...LogsOption) (Logs, error)
|
||||
// Start starts the runtime
|
||||
Start() error
|
||||
// Stop shuts down the runtime
|
||||
Stop() error
|
||||
// String defines the runtime implementation
|
||||
|
Reference in New Issue
Block a user