- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 29 for Prinet (0.14 sec)
-
istioctl/pkg/util/formatting/formatter_test.go
} func TestFormatter_PrintEmpty(t *testing.T) { g := NewWithT(t) msgs := diag.Messages{} logOutput, _ := Print(msgs, LogFormat, false) g.Expect(logOutput).To(Equal("")) jsonOutput, _ := Print(msgs, JSONFormat, false) g.Expect(jsonOutput).To(Equal("[]")) yamlOutput, _ := Print(msgs, YAMLFormat, false) g.Expect(yamlOutput).To(Equal("[]\n"))
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Tue Oct 31 14:48:28 GMT 2023 - 4.1K bytes - Viewed (0) -
manifests/charts/istio-control/istio-discovery/templates/NOTES.txt
{{- range $dep, $replace := $failDeps }} {{- /* Complex logic to turn the string above into a null-safe traversal like ((.Values.global).certificates */}} {{- $res := tpl (print "{{" (repeat (split "." $dep | len) "(") ".Values." (replace "." ")." $dep) ")}}") $}} {{- if not (eq $res "")}} {{fail (print $dep " is removed")}} {{- end }}
Plain Text - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Wed Apr 17 16:38:47 GMT 2024 - 4.2K bytes - Viewed (1) -
istioctl/pkg/writer/ztunnel/configdump/services.go
"encoding/json" "fmt" "strings" "sigs.k8s.io/yaml" "istio.io/istio/pkg/maps" "istio.io/istio/pkg/slices" ) // ServiceFilter is used to pass filter information into service based config writer print functions type ServiceFilter struct { Namespace string } // Verify returns true if the passed workload matches the filter fields func (wf *ServiceFilter) Verify(svc *ZtunnelService) bool { if wf.Namespace != "" {
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Tue Apr 23 21:30:30 GMT 2024 - 2.8K bytes - Viewed (0) -
bin/build_ztunnel.sh
# If we are not using the default, assume its private and we need to authenticate if [[ "${ISTIO_ZTUNNEL_BASE_URL}" != "https://storage.googleapis.com/istio-build/ztunnel" ]]; then AUTH_HEADER="Authorization: Bearer $(gcloud auth print-access-token)" export AUTH_HEADER fi ZTUNNEL_REPO_SHA="${ZTUNNEL_REPO_SHA:-$(grep ZTUNNEL_REPO_SHA istio.deps -A 4 | grep lastStableSHA | cut -f 4 -d '"')}"
Shell Script - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Tue Apr 02 21:46:06 GMT 2024 - 5K bytes - Viewed (0) -
cni/pkg/iptables/iptables_linux.go
return forEachInpodMarkIPRule(cfg, netlink.RuleDel) } func forEachInpodMarkIPRule(cfg *Config, f func(*netlink.Rule) error) error { var rules []*netlink.Rule families := []int{unix.AF_INET} if cfg.EnableIPv6 { families = append(families, unix.AF_INET6) } for _, family := range families { // Equiv: // ip rule add fwmark 0x111/0xfff pref 32764 lookup 100 //
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Tue Apr 30 22:24:38 GMT 2024 - 3.3K bytes - Viewed (0) -
istioctl/pkg/tag/tag.go
if msg.Resource.Metadata.FullName.Name == resource.LocalName(name) { relevantMessages = append(relevantMessages, msg) } } if len(relevantMessages) > 0 { o, err := formatting.Print(relevantMessages, formatting.LogFormat, false) if err != nil { return err } // nolint return fmt.Errorf("creating tag would conflict, pass --skip-confirmation to proceed:\n%v\n", o) } return nil
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Tue Apr 02 08:32:06 GMT 2024 - 16.3K bytes - Viewed (0) -
istioctl/pkg/authz/listener.go
if len(parts) != 4 { log.Errorf("failed to parse policy name: %s", name) return "", "" } return fmt.Sprintf("%s.%s", parts[2], parts[1]), parts[3] } // Print prints the AuthorizationPolicy in the listener. func Print(writer io.Writer, listeners []*listener.Listener) { parsedListeners := parse(listeners) if parsedListeners == nil { return }
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/util/formatting/formatter.go
) func init() { for _, key := range MsgOutputFormatKeys { MsgOutputFormats[key] = true } } // Print output messages in the specified format with color options func Print(ms diag.Messages, format string, colorize bool) (string, error) { switch format { case LogFormat: return printLog(ms, colorize), nil case JSONFormat: return printJSON(ms)
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Tue Jul 11 02:41:45 GMT 2023 - 3.1K bytes - Viewed (0) -
istioctl/pkg/authz/analyzer_test.go
}, LastUpdated: timestamppb.Now(), }, 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) -
operator/cmd/mesh/operator-remove.go
message = "Istio operator revision " + orArgs.revision + " will be removed from cluster, Proceed? (y/N)" } if !orArgs.skipConfirmation && !args.DryRun && !Confirm(message, cmd.OutOrStdout()) { cmd.Print("Cancelled.\n") os.Exit(1) } l.LogAndPrintf("Removing Istio operator...") // Create an empty IOP for the purpose of populating revision. Apply code requires a non-nil IOP. var iop *iopv1alpha1.IstioOperator
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Fri Mar 15 01:18:49 GMT 2024 - 5.4K bytes - Viewed (0)