- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for splitStrings (0.23 sec)
-
pkg/test/framework/components/istio/cleanup.go
err = multierror.Append(err, e) } return }) } // When we cleanup, we should not delete CRDs. This will filter out all the crds func removeCRDs(istioYaml string) string { allParts := yml.SplitString(istioYaml) nonCrds := make([]string, 0, len(allParts)) // Make the regular expression multi-line and anchor to the beginning of the line. r := regexp.MustCompile(`(?m)^kind: CustomResourceDefinition$`)
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 06 22:12:34 UTC 2024 - 5K bytes - Viewed (0) -
pkg/test/framework/config.go
c.yamlText[ns] = append(c.yamlText[ns], splitYAML(yamlText...)...) return c } func splitYAML(yamlText ...string) []string { var out []string for _, doc := range yamlText { out = append(out, yml.SplitString(doc)...) } return out } func (c *configPlan) File(ns string, paths ...string) config.Plan { yamlText, err := file.AsStringArray(paths...) if err != nil { panic(err) }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 06 22:12:34 UTC 2024 - 8.2K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/func.go
a, ok := f.CanonicalLocalSlots[slot] if !ok { a = new(LocalSlot) *a = slot // don't escape slot f.CanonicalLocalSlots[slot] = a } return a } func (f *Func) SplitString(name *LocalSlot) (*LocalSlot, *LocalSlot) { ptrType := types.NewPtr(types.Types[types.TUINT8]) lenType := types.Types[types.TINT] // Split this string up into two separate variables.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jun 10 19:44:43 UTC 2024 - 25.8K bytes - Viewed (0)