cli, puppet, langpuppet: Remove puppet GAPI's

I'm currently refactoring the CLI code. Unfortunately this means a
pretty big churn in the various GAPI frontends. Since nobody is actively
using the puppet frontend code, I'm removing it for now. If someone is
actively using it, and wants to either port it to the new API, or
sponsor the porting of it to the new API, I'm happy to allow it back in.

Sorry Felix, it was a fun idea, and I loved seeing it work, but I can't
personally afford the maintenance cost of having this in right now.
This commit is contained in:
James Shubin
2024-03-01 13:54:36 -05:00
parent 62295e370c
commit e767655ede
14 changed files with 4 additions and 1405 deletions

View File

@@ -60,10 +60,7 @@ it is not specified, but others cannot, and some might poorly infer if the
struct name is ambiguous.
If you'd like your resource to be accessible by the `YAML` graph API (GAPI),
then you'll need to include the appropriate YAML fields as shown below. This is
used by the `Puppet` compiler as well, so make sure you include these struct
tags if you want existing `Puppet` code to be able to run using the `mgmt`
engine.
then you'll need to include the appropriate YAML fields as shown below.
#### Example
@@ -623,7 +620,7 @@ func init() { // special golang method that runs once
To support YAML unmarshalling for your resource, you must implement an
additional method. It is recommended if you want to use your resource with the
`Puppet` compiler.
`yaml` compiler.
```golang
UnmarshalYAML(unmarshal func(interface{}) error) error // optional