Base envoy codegen
This commit is contained in:
@@ -222,6 +222,16 @@ func (ii Identifiers) Add(vv ...any) (out Identifiers) {
|
||||
return ii
|
||||
}
|
||||
|
||||
func (ii Identifiers) IdentsAsStrings() (ids, rest []string) {
|
||||
aux, rest := ii.Idents()
|
||||
|
||||
for _, a := range aux {
|
||||
ids = append(ids, strconv.FormatUint(a, 10))
|
||||
}
|
||||
|
||||
return
|
||||
}
|
||||
|
||||
// Idents returns a slice of numeric and text identifiers
|
||||
func (ii Identifiers) Idents() (ints []uint64, rest []string) {
|
||||
var aux uint64
|
||||
|
||||
Generated
+36
@@ -0,0 +1,36 @@
|
||||
package envoyx
|
||||
|
||||
// This file is auto-generated.
|
||||
//
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
//
|
||||
|
||||
import ()
|
||||
|
||||
var (
|
||||
// needyResources is a list of resources that require a parent resource
|
||||
//
|
||||
// This list is primarily used when figuring out what nodes the dep. graph
|
||||
// should return when traversing.
|
||||
needyResources = map[string]bool{
|
||||
|
||||
"corteza::compose:chart": true,
|
||||
"corteza::compose:module": true,
|
||||
"corteza::compose:module-field": true,
|
||||
|
||||
"corteza::compose:page": true,
|
||||
"corteza::compose:record": true,
|
||||
|
||||
"corteza::federation:exposed-module": true,
|
||||
"corteza::federation:module-mapping": true,
|
||||
|
||||
"corteza::federation:shared-module": true,
|
||||
}
|
||||
|
||||
// superNeedyResources is the second level of filtering in case the first
|
||||
// pass removes everything
|
||||
superNeedyResources = map[string]bool{
|
||||
"corteza::compose:module-field": true,
|
||||
}
|
||||
)
|
||||
Reference in New Issue
Block a user