- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 10 for section (0.4 sec)
-
cni/pkg/install/cniconfig.go
return "", err } if cfg.chainedCNIPlugin { if !file.Exists(cniConfigFilepath) { return "", fmt.Errorf("CNI config file %s removed during configuration", cniConfigFilepath) } // This section overwrites an existing plugins list entry for istio-cni existingCNIConfig, err := os.ReadFile(cniConfigFilepath) if err != nil { return "", err } cniConfig, err = insertCNIConfig(cniConfig, existingCNIConfig)
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Fri Jan 26 20:34:28 GMT 2024 - 10.4K bytes - Viewed (0) -
istioctl/pkg/writer/compare/sds/util.go
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 func GetEnvoySecrets( wrapper *configdump.Wrapper, ) ([]SecretItem, error) { secretConfigDump, err := wrapper.GetSecretConfigDump() if err != nil { return nil, err }
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/pkg/util/configdump/secret.go
if inlineBytes != nil { returnStr = base64.StdEncoding.EncodeToString(inlineBytes) returnErr = nil } else { returnStr = "" returnErr = fmt.Errorf("can not retrieve inlineBytes from trustCA section") } } else { returnStr = "" returnErr = fmt.Errorf("can not retrieve trustedCa from secret ROOTCA") } } else { returnStr = "" returnErr = fmt.Errorf("can not find ROOTCA from secret config dump")
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Sat Feb 25 04:09:53 GMT 2023 - 2.2K bytes - Viewed (0) -
istioctl/cmd/root.go
rootCmd.AddCommand(proxyconfig.ClustersCommand(ctx)) rootCmd.AddCommand(collateral.CobraCommand(rootCmd, collateral.Metadata{ Title: "Istio Control", Section: "istioctl CLI", Manual: "Istio Control", })) validateCmd := validate.NewValidateCommand(ctx) hideInheritedFlags(validateCmd, "kubeconfig") rootCmd.AddCommand(validateCmd)
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Thu Apr 11 20:51:30 GMT 2024 - 10K bytes - Viewed (0) -
istioctl/pkg/authz/listener.go
if parsedListeners == nil { return } actionToPolicy := map[rbacpb.RBAC_Action]map[string]struct{}{} policyToRule := map[string]map[string]struct{}{} addPolicy := func(action rbacpb.RBAC_Action, name string, rule string) { if actionToPolicy[action] == nil { actionToPolicy[action] = map[string]struct{}{} } if policyToRule[name] == nil { policyToRule[name] = map[string]struct{}{}
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/authz/analyzer_test.go
}, ClientStatus: 453, }, }, } for _, tt := range tests { t.Run(tt.name, func(t *testing.T) { var buf bytes.Buffer a.Print(&buf) expectedOutput := "ACTION AuthorizationPolicy RULES\n" actualOutput := buf.String() if !reflect.DeepEqual(expectedOutput, actualOutput) { t.Errorf("Found %v, wanted %v", actualOutput, expectedOutput) } }) }
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Sun Apr 21 17:42:54 GMT 2024 - 2.8K bytes - Viewed (0) -
cni/pkg/cmd/root.go
ctrlzOptions.AttachCobraFlags(rootCmd) rootCmd.AddCommand(version.CobraCommand()) rootCmd.AddCommand(collateral.CobraCommand(rootCmd, collateral.Metadata{ Title: "Istio CNI Plugin Installer", Section: "install-cni CLI", Manual: "Istio CNI Plugin Installer", })) registerStringParameter(constants.CNINetDir, "/etc/cni/net.d", "Directory on the host where CNI network plugins are installed")
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Tue Apr 30 22:24:38 GMT 2024 - 12.5K bytes - Viewed (0) -
istioctl/pkg/validate/validate.go
continue } if ap := p["appProtocol"]; ap != nil { if protocol.Parse(ap.(string)).IsUnsupported() { errs = multierror.Append(errs, fmt.Errorf("service %q doesn't follow Istio protocol selection. "+ "This is not recommended, See "+url.ProtocolSelection, fmt.Sprintf("%s/%s/:", un.GetName(), un.GetNamespace()))) } } else { if p["name"] == nil {
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/tag/util.go
whs, err := GetWebhooksWithRevision(ctx, client, DefaultRevisionName) if err != nil { return err } if len(whs) == 0 { // no revision with default, no action required. return nil } if len(whs) > 1 { return fmt.Errorf("expected a single webhook for default revision") } webhook := whs[0] for i := range webhook.Webhooks { wh := webhook.Webhooks[i]
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Tue Jan 16 17:43:42 GMT 2024 - 5.4K bytes - Viewed (1) -
operator/cmd/mesh/manifest-generate_test.go
if hpaName := mustGetPath(t, hpaRev, "spec.scaleTargetRef.name"); nameRev != hpaName { t.Fatalf("HPA does not match deployment: %v != %v", nameRev, hpaName) } // Check selection of previous versions . This only matters for in place upgrade (non revision) podLabels15 := map[string]string{ "app": "istiod", "istio": "pilot", }
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Thu Apr 18 18:16:49 GMT 2024 - 43.5K bytes - Viewed (0)