- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 742 for Sprintf (0.35 sec)
-
cmd/bootstrap-peer-server.go
} msg := "Expected same MINIO_ environment variables and values across all servers: " if len(missing) > 0 { msg += fmt.Sprintf(`Missing environment values: %v. `, missing) } if len(mismatching) > 0 { msg += fmt.Sprintf(`Mismatching environment values: %v. `, mismatching) } if len(extra) > 0 { msg += fmt.Sprintf(`Extra environment values: %v. `, extra) } return errors.New(strings.TrimSpace(msg)) }
Go - Registered: Sun Apr 28 19:28:10 GMT 2024 - Last Modified: Thu Apr 04 12:04:40 GMT 2024 - 7.5K bytes - Viewed (0) -
istioctl/pkg/authz/listener.go
parts := re.FindStringSubmatch(name) 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 01 22:53:12 GMT 2024 - Last Modified: Mon Sep 11 15:29:30 GMT 2023 - 6K bytes - Viewed (0) -
cni/pkg/iptables/iptables.go
func (cfg *IptablesConfigurator) appendInpodRules(hostProbeSNAT *netip.Addr) *builder.IptablesRuleBuilder { redirectDNS := cfg.cfg.RedirectDNS inpodMark := fmt.Sprintf("0x%x", InpodMark) + "/" + fmt.Sprintf("0x%x", InpodMask) inpodTproxyMark := fmt.Sprintf("0x%x", InpodTProxyMark) + "/" + fmt.Sprintf("0x%x", InpodTProxyMask) iptablesBuilder := builder.NewIptablesRuleBuilder(ipbuildConfig(cfg.cfg)) // Insert jumps to our custom chains
Go - Registered: Wed May 01 22:53:12 GMT 2024 - Last Modified: Tue Apr 30 22:24:38 GMT 2024 - 19.6K bytes - Viewed (0) -
istioctl/pkg/multixds/gather.go
} return &retval, nil } func makeSan(istioNamespace, revision string) string { if revision == "" { return fmt.Sprintf("istiod.%s.svc", istioNamespace) } return fmt.Sprintf("istiod-%s.%s.svc", revision, istioNamespace) } // AllRequestAndProcessXds returns all XDS responses from 1 central or 1..N K8s cluster-based XDS servers // nolint: lll
Go - Registered: Wed May 01 22:53:12 GMT 2024 - Last Modified: Fri Mar 08 08:38:19 GMT 2024 - 13.6K bytes - Viewed (0) -
istioctl/pkg/injector/injector-list.go
return "<no pods>" } podText := strconv.Itoa(counts.pods) if counts.disabled > 0 { podText += fmt.Sprintf(" (injection disabled: %d)", counts.disabled) } if counts.needsRestart > 0 { podText += fmt.Sprintf(" NEEDS RESTART: %d", counts.needsRestart) } return fmt.Sprintf("%s: %s", injectedRevision, podText)
Go - Registered: Wed May 01 22:53:12 GMT 2024 - Last Modified: Thu Jan 04 03:08:06 GMT 2024 - 10.4K bytes - Viewed (0) -
istioctl/pkg/kubeinject/kubeinject.go
if err != nil { return nil, err } if err := f.Start(); err != nil { return nil, err } address = fmt.Sprintf("https://%s%s", f.Address(), *cc.Service.Path) defer func() { f.Close() f.WaitForStop() }() } tlsClientConfig.ServerName = fmt.Sprintf("%s.%s.%s", cc.Service.Name, cc.Service.Namespace, "svc") } else if isMCPAddr(address) { var err error
Go - Registered: Wed May 01 22:53:12 GMT 2024 - Last Modified: Fri Mar 29 02:29:02 GMT 2024 - 21.6K bytes - Viewed (0) -
tests/count_test.go
t.Errorf(fmt.Sprintf("Count should work, but got err %v", err)) } if count1 != 1 { t.Errorf("Count with group should be 1, but got count: %v", count1) } var count2 int64 if err := DB.Model(&Company{}).Where("name in ?", []string{"company_count_group_b", "company_count_group_c"}).Group("name").Count(&count2).Error; err != nil { t.Errorf(fmt.Sprintf("Count should work, but got err %v", err)) }
Go - Registered: Sun Apr 28 09:35:09 GMT 2024 - Last Modified: Mon Oct 30 09:15:49 GMT 2023 - 6.9K bytes - Viewed (0) -
istioctl/pkg/workload/workload.go
func IstiodHost(ns string, revision string) string { istiod := "istiod" if isRevisioned(revision) { istiod = fmt.Sprintf("%s-%s", istiod, revision) } return fmt.Sprintf("%s.%s.svc", istiod, ns) } func IstiodAddr(ns, revision string) string { // TODO make port configurable return fmt.Sprintf("%s:%d", IstiodHost(ns, revision), 15012) } // Returns a map with each k,v entry on a new line
Go - Registered: Wed May 01 22:53:12 GMT 2024 - Last Modified: Wed Apr 17 20:06:41 GMT 2024 - 25.5K bytes - Viewed (0) -
cmd/signature-v2_test.go
{ queryParams: map[string]string{ "Expires": fmt.Sprintf("%d", now.Unix()+60), "Signature": "badsignature", "AWSAccessKeyId": accessKey, }, expected: ErrSignatureDoesNotMatch, }, // (5) Should error when the signature does not match. { queryParams: map[string]string{ "Expires": fmt.Sprintf("%d", now.Unix()+60), "Signature": "zOM2YrY/yAQe15VWmT78OlBrK6g=",
Go - Registered: Sun Apr 28 19:28:10 GMT 2024 - Last Modified: Fri Oct 14 10:08:40 GMT 2022 - 8K bytes - Viewed (0) -
internal/logger/logger.go
entry.Trace.Message = fmt.Sprintf("event(%#v) was not sent to Logger target (%#v): %#v", entry, t, err) consoleTgt.Send(ctx, entry) } } } } // Event sends a event log to log targets func Event(ctx context.Context, subsystem, msg string, args ...interface{}) { if DisableErrorLog { return } entry := logToEntry(ctx, subsystem, fmt.Sprintf(msg, args...), EventKind) sendLog(ctx, entry)
Go - Registered: Sun Apr 21 19:28:08 GMT 2024 - Last Modified: Thu Apr 04 12:04:40 GMT 2024 - 12.2K bytes - Viewed (0)