- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 2,308 for fmtE (0.08 sec)
-
pilot/pkg/model/validation.go
errs = multierror.Append(errs, fmt.Errorf("invalid empty hostname")) } parts := strings.Split(string(s.Hostname), ".") for _, part := range parts { if !labels.IsDNS1123Label(part) { errs = multierror.Append(errs, fmt.Errorf("invalid hostname part: %q", part)) } } // Require at least one port if len(s.Ports) == 0 { errs = multierror.Append(errs, fmt.Errorf("service must have at least one declared port"))
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Apr 17 20:06:41 UTC 2024 - 3.5K bytes - Viewed (0) -
pkg/config/validation/envoyfilter/envoyfilter.go
errs = validation.AppendValidation(errs, fmt.Errorf("Envoy filter: missing applyTo")) // nolint: stylecheck continue } if cp.Patch == nil { errs = validation.AppendValidation(errs, fmt.Errorf("Envoy filter: missing patch")) // nolint: stylecheck continue } if cp.Patch.Operation == networking.EnvoyFilter_Patch_INVALID {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Sat Mar 30 00:31:03 UTC 2024 - 12.2K bytes - Viewed (0) -
pkg/test/framework/components/environment/kube/settings.go
} // String implements fmt.Stringer func (s *Settings) String() string { result := "" result += fmt.Sprintf("Kubeconfigs: %s\n", s.KubeConfig) result += fmt.Sprintf("LoadBalancerSupported: %v\n", s.LoadBalancerSupported) result += fmt.Sprintf("MCSControllerEnabled: %v\n", s.MCSControllerEnabled) result += fmt.Sprintf("ControlPlaneTopology: %v\n", s.controlPlaneTopology)
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 06 22:12:34 UTC 2024 - 8.3K bytes - Viewed (0) -
src/internal/profile/profile.go
if pt := p.PeriodType; pt != nil { ss = append(ss, fmt.Sprintf("PeriodType: %s %s", pt.Type, pt.Unit)) } ss = append(ss, fmt.Sprintf("Period: %d", p.Period)) if p.TimeNanos != 0 { ss = append(ss, fmt.Sprintf("Time: %v", time.Unix(0, p.TimeNanos))) } if p.DurationNanos != 0 { ss = append(ss, fmt.Sprintf("Duration: %v", time.Duration(p.DurationNanos))) } ss = append(ss, "Samples:")
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Feb 08 17:57:40 UTC 2024 - 13.4K bytes - Viewed (0) -
src/internal/trace/testdata/mktests.go
} if skip { continue } fmt.Fprintf(os.Stderr, "generating %s... ", name) // Get the test path. testPath := filepath.Join(genroot, fmt.Sprintf("%s.test", name)) // Run generator. cmd := exec.Command("go", "run", path, testPath) if out, err := cmd.CombinedOutput(); err != nil { return fmt.Errorf("running generator %s: %v:\n%s", name, err, out) } fmt.Fprintln(os.Stderr) } return nil }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 18:48:18 UTC 2024 - 3.7K bytes - Viewed (0) -
security/pkg/pki/util/crypto.go
if cb == nil { return nil, nil, fmt.Errorf("invalid PEM encoded certificate") } cert, err := x509.ParseCertificate(cb.Bytes) if err != nil { return nil, nil, fmt.Errorf("failed to parse X.509 certificate") } certs = append(certs, cert) if len(certBytes) == 0 { break } } if len(certs) == 0 { return nil, nil, fmt.Errorf("no PEM encoded X.509 certificates parsed") }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Jun 04 13:00:07 UTC 2024 - 5.3K bytes - Viewed (0) -
src/cmd/fix/main.go
func usage() { fmt.Fprintf(os.Stderr, "usage: go tool fix [-diff] [-r fixname,...] [-force fixname,...] [path ...]\n") flag.PrintDefaults() fmt.Fprintf(os.Stderr, "\nAvailable rewrites are:\n") sort.Sort(byName(fixes)) for _, f := range fixes { if f.disabled { fmt.Fprintf(os.Stderr, "\n%s (disabled)\n", f.name) } else { fmt.Fprintf(os.Stderr, "\n%s\n", f.name) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 14 19:41:17 UTC 2024 - 5.4K bytes - Viewed (0) -
src/internal/trace/testdata/cmd/gotraceraw/main.go
package main import ( "flag" "fmt" "io" "log" "os" "internal/trace/raw" "internal/trace/version" ) func init() { flag.Usage = func() { fmt.Fprintf(flag.CommandLine.Output(), "Usage: %s [mode]\n", os.Args[0]) fmt.Fprintf(flag.CommandLine.Output(), "\n") fmt.Fprintf(flag.CommandLine.Output(), "Supported modes:") fmt.Fprintf(flag.CommandLine.Output(), "\n")
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 20:31:29 UTC 2024 - 1.7K bytes - Viewed (0) -
docs/debugging/inspect/decrypt-v2.go
return errors.New("incorrect private key") } if err := stream.Skip(); err != nil { return fmt.Errorf("stream skip: %w", err) } continue } if extracted { return keepFileErr{fmt.Errorf("next stream: %w", err)} } return fmt.Errorf("next stream: %w", err) } if stream.Name == "inspect.zip" { if extracted {
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Thu Apr 11 21:22:47 UTC 2024 - 2.2K bytes - Viewed (0) -
pkg/kube/inject/validate.go
return fmt.Errorf("failed to convert to apply proxy config: %v", err) } return agent.ValidateMeshConfigProxyConfig(config) } func validateAnnotations(annotations map[string]string) (err error) { for name, value := range annotations { if v, ok := AnnotationValidation[name]; ok { if e := v(value); e != nil {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Apr 17 20:06:41 UTC 2024 - 5.9K bytes - Viewed (0)