Install generated plugin code into the API module.

This commit is contained in:
Jeffrey Regan
2019-10-21 11:11:18 -07:00
parent 3f08e1546c
commit 0cf2057fc5
36 changed files with 159 additions and 143 deletions

27
plugin/README.md Normal file
View File

@@ -0,0 +1,27 @@
This directory and the directories below it
are not _importable_ Go packages.
Each directory contains a kustomize plugin,
which is either
* some random non-Go based executable,
e.g. a bash script that runs java
in a JVM, or python in a python VM, etc.
* the source code for a Go executable,
i.e. a `main.go` in the unimportable
`main` package,
ideally declaring its dependencies
with it's own `go.mod` file.
* the source code for a Go
plugin, which is also an unimportable
`main` package ideally with its
own `go.mod` file, formulated to be
a Go plugin. If in the `builtin`
sub-directory, these plugins are converted
to statically linkable code.
To read more about plugins, see
sigs.k8s.io/kustomize/api/plugins/doc.go