This repository has been archived by the owner on Apr 23, 2024. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Running `go generate` is not possible with the current go infrastructure in the ports. So run it on my machine, and add the generated files as patches for the actual build. While here, disable one of the plugins as recommended by upstream.
- Loading branch information
Showing
5 changed files
with
68 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
--- packager/plugins.yaml.orig | ||
+++ packager/plugins.yaml | ||
@@ -2,4 +2,3 @@ | ||
golangmco: github.com/choria-io/mcorpc-agent-provider/mcorpc/golang | ||
rubymco: github.com/choria-io/mcorpc-agent-provider/mcorpc/ruby | ||
externalmco: github.com/choria-io/mcorpc-agent-provider/mcorpc/external | ||
-choria_provision: github.com/choria-io/provisioning-agent/agent |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
--- /dev/null | ||
+++ plugin_1_externalmco.go | ||
@@ -0,0 +1,15 @@ | ||
+// auto generated 2019-09-21 12:57:46.899869855 -1000 -10 m=+0.002999960 | ||
+package main | ||
+ | ||
+import ( | ||
+ "github.com/choria-io/go-choria/plugin" | ||
+ p "github.com/choria-io/mcorpc-agent-provider/mcorpc/external" | ||
+ | ||
+) | ||
+ | ||
+func init() { | ||
+ err := plugin.Register("externalmco", p.ChoriaPlugin()) | ||
+ if err != nil { | ||
+ panic(err) | ||
+ } | ||
+} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
--- /dev/null | ||
+++ plugin_2_golangmco.go | ||
@@ -0,0 +1,15 @@ | ||
+// auto generated 2019-09-21 12:57:46.90002488 -1000 -10 m=+0.003154987 | ||
+package main | ||
+ | ||
+import ( | ||
+ "github.com/choria-io/go-choria/plugin" | ||
+ p "github.com/choria-io/mcorpc-agent-provider/mcorpc/golang" | ||
+ | ||
+) | ||
+ | ||
+func init() { | ||
+ err := plugin.Register("golangmco", p.ChoriaPlugin()) | ||
+ if err != nil { | ||
+ panic(err) | ||
+ } | ||
+} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
--- /dev/null | ||
+++ plugin_3_rubymco.go | ||
@@ -0,0 +1,15 @@ | ||
+// auto generated 2019-09-21 12:57:46.900166016 -1000 -10 m=+0.003296111 | ||
+package main | ||
+ | ||
+import ( | ||
+ "github.com/choria-io/go-choria/plugin" | ||
+ p "github.com/choria-io/mcorpc-agent-provider/mcorpc/ruby" | ||
+ | ||
+) | ||
+ | ||
+func init() { | ||
+ err := plugin.Register("rubymco", p.ChoriaPlugin()) | ||
+ if err != nil { | ||
+ panic(err) | ||
+ } | ||
+} |