- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 33 for parser (0.15 sec)
-
istioctl/pkg/authz/listener.go
} } } parsed.filterChains = append(parsed.filterChains, parsedFC) } parsedListeners = append(parsedListeners, parsed) } return parsedListeners } func extractName(name string) (string, string) { // parts[1] is the namespace, parts[2] is the policy name, parts[3] is the rule index. parts := re.FindStringSubmatch(name) if len(parts) != 4 {
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Mon Sep 11 15:29:30 GMT 2023 - 6K bytes - Viewed (0) -
istioctl/pkg/writer/compare/sds/util.go
if err != nil { log.Debugf("failed to parse secret resource %s from source %s: %v", s.name, s.source, err) result.Valid = false return result, nil } result.SecretMeta = meta result.Valid = meta.Valid return result, nil } result.Valid = false return result, nil } // GetEnvoySecrets parses the secrets section of the config dump into []SecretItem
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Tue Jun 06 15:14:48 GMT 2023 - 6.6K bytes - Viewed (0) -
istioctl/cmd/istioctl_test.go
// limitations under the License. package cmd import ( "testing" istioctlutil "istio.io/istio/istioctl/pkg/util" ) func TestBadParse(t *testing.T) { // unknown flags should be a command parse rootCmd := GetRootCmd([]string{"--unknown-flag"}) fErr := rootCmd.Execute() switch fErr.(type) { case istioctlutil.CommandParseError: // do nothing default:
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Tue Aug 29 14:53:25 GMT 2023 - 1.5K bytes - Viewed (0) -
istioctl/pkg/validate/validate.go
} schema, exists := collections.Pilot.FindByGroupVersionAliasesKind(gvk) if exists { obj, err := convertObjectFromUnstructured(schema, un, "") if err != nil { return nil, fmt.Errorf("cannot parse proto message: %v", err) } if err = checkFields(un); err != nil { return nil, err } // If object to validate has no namespace, set it (the validity of a CR
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Mon Jan 22 17:58:52 GMT 2024 - 15K bytes - Viewed (0) -
istioctl/pkg/writer/envoy/configdump/route_test.go
gotOut := &bytes.Buffer{} cw := &ConfigWriter{Stdout: gotOut} cd, _ := os.ReadFile(fmt.Sprintf("testdata/routes/%s/configdump.json", tt.name)) if err := cw.Prime(cd); err != nil { t.Errorf("failed to parse config dump: %s", err) } err := cw.PrintRouteSummary(RouteFilter{Verbose: true}) assert.NoError(t, err) wantOutputFile := path.Join("testdata/routes", tt.name, "output.txt")
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Wed Nov 29 12:37:14 GMT 2023 - 2.8K bytes - Viewed (0) -
istioctl/pkg/proxyconfig/proxyconfig.go
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Tue Apr 16 03:28:36 GMT 2024 - 48K bytes - Viewed (0) -
istioctl/pkg/kubeinject/kubeinject.go
return nil, fmt.Errorf("missing configuration map key %q", configMapKey) } cfg, err := mesh.ApplyMeshConfigDefaults(configYaml) if err != nil { err = multierror.Append(err, fmt.Errorf("istioctl version %s cannot parse mesh config. Install istioctl from the latest Istio release", version.Info.Version)) } return cfg, err } // grabs the raw values from the ConfigMap. These are encoded as JSON.
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Fri Mar 29 02:29:02 GMT 2024 - 21.6K bytes - Viewed (0) -
cni/pkg/plugin/sidecar_iptables.go
// See the License for the specific language governing permissions and // limitations under the License. // This is a sample chained plugin that supports multiple CNI versions. It // parses prevResult according to the cniVersion package plugin type iptables struct{} func newIPTables() InterceptRuleMgr { return &iptables{}
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Fri Jan 26 20:34:28 GMT 2024 - 810 bytes - Viewed (0) -
cni/pkg/plugin/sidecar_iptables_unspecified.go
// See the License for the specific language governing permissions and // limitations under the License. // This is a sample chained plugin that supports multiple CNI versions. It // parses prevResult according to the cniVersion package plugin import "errors" // ErrNotImplemented is returned when a requested feature is not implemented. var ErrNotImplemented = errors.New("not implemented")
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Fri Jan 26 20:34:28 GMT 2024 - 1.1K bytes - Viewed (0) -
istioctl/cmd/sysexits_test.go
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Thu Jun 15 15:02:17 GMT 2023 - 1.3K bytes - Viewed (0)