- Sort Score
- Result 10 results
- Languages All
Results 41 - 47 of 47 for ok (0.18 sec)
-
istioctl/pkg/injector/injector-list.go
} newRev := namespace.ObjectMeta.GetLabels()[label.IoIstioRev.Name] oldLabel, ok := namespace.ObjectMeta.GetLabels()[analyzer_util.InjectionLabelName] // If there is no istio-injection=disabled and no istio.io/rev, the namespace isn't injected if newRev == "" && (ok && oldLabel == "disabled" || !ok) { return "" } if newRev != "" { return fmt.Sprintf("MISSING/%s", newRev) }
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Thu Jan 04 03:08:06 GMT 2024 - 10.4K bytes - Viewed (0) -
istioctl/pkg/cli/context.go
rootFlags *RootFlags results map[string][]byte objects []runtime.Object version string } func (f *fakeInstance) CLIClientWithRevision(rev string) (kube.CLIClient, error) { if _, ok := f.clients[rev]; !ok { var cliclient kube.CLIClient if f.version != "" { cliclient = kube.NewFakeClientWithVersion(f.version, f.objects...) } else { cliclient = kube.NewFakeClient(f.objects...) }
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Tue Apr 02 08:32:06 GMT 2024 - 6.4K bytes - Viewed (0) -
istioctl/pkg/ztunnelconfig/ztunnelconfig.go
} else if loggerLevelString != "" { levels := strings.Split(loggerLevelString, ",") for _, ol := range levels { if !strings.Contains(ol, ":") && !strings.Contains(ol, "=") { level, ok := stringToLevel[ol] if ok { destLoggerLevels = map[string]Level{ defaultLoggerName: level, } } else { return fmt.Errorf("unrecognized logging level: %v", ol) } } else {
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Wed May 01 13:11:40 GMT 2024 - 22.2K bytes - Viewed (0) -
istioctl/pkg/workload/workload.go
// support proxy.istio.io/config on the WorkloadGroup, in the WorkloadGroup spec for _, annotations := range []map[string]string{wg.Annotations, wg.Spec.Metadata.Annotations} { if pcYaml, ok := annotations[annotation.ProxyConfig.Name]; ok { if err := protomarshal.ApplyYAML(pcYaml, meshConfig.DefaultConfig); err != nil { return nil, err } for k, v := range meshConfig.DefaultConfig.ProxyMetadata { proxyMetadata[k] = v
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Wed Apr 17 20:06:41 GMT 2024 - 25.5K bytes - Viewed (0) -
istioctl/pkg/precheck/precheck.go
func checkFromVersion(ctx cli.Context, revision, version string) (diag.Messages, error) { cli, err := ctx.CLIClientWithRevision(revision) if err != nil { return nil, err } major, minors, ok := strings.Cut(version, ".") if !ok { return nil, fmt.Errorf("invalid version %v, expected format like '1.0'", version) } if major != "1" { return nil, fmt.Errorf("expected major version 1, got %v", version) }
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Fri Apr 12 02:57:30 GMT 2024 - 19.3K bytes - Viewed (0) -
istioctl/pkg/tag/generate.go
decodedWh.Annotations = maps.MergeCopy(decodedWh.Annotations, config.Annotations) for i := range decodedWh.Webhooks { if failurePolicy, ok := config.FailurePolicy[decodedWh.Webhooks[i].Name]; ok { decodedWh.Webhooks[i].FailurePolicy = failurePolicy } } whBuf := new(bytes.Buffer) if err = serializer.Encode(decodedWh, whBuf); err != nil { return "", err }
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Tue Jan 16 17:43:49 GMT 2024 - 13.2K bytes - Viewed (0) -
operator/cmd/mesh/manifest-generate_test.go
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)