engine, gapi, lang, lib: Plumb through new local API
This is a new API that is similar in spirit and plumbing to the World API, but it intended for all local machine operations and will likely only ever have one implementation.
This commit is contained in:
@@ -23,6 +23,7 @@ import (
|
||||
"fmt"
|
||||
|
||||
"github.com/purpleidea/mgmt/engine"
|
||||
"github.com/purpleidea/mgmt/engine/local"
|
||||
"github.com/purpleidea/mgmt/pgraph"
|
||||
|
||||
"github.com/urfave/cli/v2"
|
||||
@@ -72,6 +73,7 @@ type Data struct {
|
||||
Program string // name of the originating program
|
||||
Version string // version of the originating program
|
||||
Hostname string // uuid for the host, required for GAPI
|
||||
Local *local.API
|
||||
World engine.World
|
||||
Noop bool
|
||||
NoStreamWatch bool
|
||||
|
||||
Reference in New Issue
Block a user