- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for ParseConfigs (0.1 sec)
-
pkg/test/framework/components/echo/deployment/flags.go
} yml, err := os.ReadFile(path) if err != nil { return err } out, err := echo.ParseConfigs(yml) if err != nil { return err } *c = out return nil } func (c *configs) SetConfig(m any) error { yml, err := yaml.Marshal(m) if err != nil { return err } out, err := echo.ParseConfigs(yml) if err != nil { return err } *c = out return nil
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Jul 25 19:30:47 UTC 2022 - 2.2K bytes - Viewed (0) -
pkg/test/framework/components/echo/config.go
// Therefore, this should never happen panic(err) } return copied } // ParseConfigs unmarshals the given YAML bytes into []Config, using a namespace.Static rather // than attempting to Claim the configured namespace. func ParseConfigs(bytes []byte) ([]Config, error) { // parse into flexible type, so we can remove Namespace and parse that ourselves raw := make([]map[string]any, 0)
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu May 09 12:26:52 UTC 2024 - 18.2K bytes - Viewed (0)