examples: lib: Fix these rotted tests

I think the mgmt lib approach is a good idea, even though I'm not
putting much energy into keeping these up to date. Let's at least
re-enable the tests for now, after a few fixups.
This commit is contained in:
James Shubin
2024-07-25 12:39:43 -04:00
parent fd86b35ce3
commit 8b54306eb9
9 changed files with 633 additions and 8 deletions

View File

@@ -47,7 +47,7 @@ func NewMyGAPI(data *gapi.Data, name string, interval uint) (*MyGAPI, error) {
// Cli takes an *Info struct, and returns our deploy if activated, and if there
// are any validation problems, you should return an error. If there is no
// deploy, then you should return a nil deploy and a nil error.
func (obj *MyGAPI) Cli(info *gapi.CliInfo) (*gapi.Deploy, error) {
func (obj *MyGAPI) Cli(info *gapi.Info) (*gapi.Deploy, error) {
//fs := info.Fs // copy files from local filesystem *into* this fs...
//debug := info.Debug
//logf := func(format string, v ...interface{}) {