- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 42 for Messages (0.14 sec)
-
pilot/test/xdstest/extract.go
} return res } func SilentlyUnmarshalAny[T any](a *anypb.Any) *T { dst := any(new(T)).(proto.Message) if err := a.UnmarshalTo(dst); err != nil { var z *T return z } return any(dst).(*T) } func UnmarshalAny[T any](t test.Failer, a *anypb.Any) *T { dst := any(new(T)).(proto.Message) if err := a.UnmarshalTo(dst); err != nil { t.Fatalf("failed to unmarshal to %T: %v", dst, err) }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Dec 19 22:42:42 UTC 2023 - 13.9K bytes - Viewed (0) -
cni/pkg/repair/repaircontroller.go
func (c *Controller) matchesFilter(pod *corev1.Pod) bool { // Helper function; checks that a container's termination message matches filter matchTerminationMessage := func(state *corev1.ContainerStateTerminated) bool { // If we are filtering on init container termination message and the termination message of 'state' does not match, exit trimmedTerminationMessage := strings.TrimSpace(c.cfg.InitTerminationMsg)
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Sat Feb 10 00:31:55 UTC 2024 - 10.4K bytes - Viewed (0) -
pilot/pkg/model/jwks_resolver.go
return nil, err } if resp.StatusCode < 200 || resp.StatusCode >= 300 { message := strconv.Quote(string(body)) if len(message) > 100 { message = message[:100] return nil, fmt.Errorf("status %d, message %s(truncated)", resp.StatusCode, message) } return nil, fmt.Errorf("status %d, message %s", resp.StatusCode, message) } return body, nil } for i := 0; i < retry; i++ {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Feb 23 09:47:21 UTC 2024 - 20.3K bytes - Viewed (0) -
pilot/pkg/credentials/kube/secrets.go
ret.Key = scrt.Data[TLSSecretKey] ret.Staple = scrt.Data[TLSSecretOcspStaple] ret.CRL = scrt.Data[TLSSecretCrl] return ret, nil } // No cert found. Try to generate a helpful error message if hasKeys(scrt.Data, GenericScrtCert, GenericScrtKey) { return nil, fmt.Errorf("found keys %q and %q, but they were empty", GenericScrtCert, GenericScrtKey) } if hasKeys(scrt.Data, TLSSecretCert, TLSSecretKey) {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Feb 23 19:18:21 UTC 2024 - 10K bytes - Viewed (0) -
pkg/dns/proto/nds.pb.go
ms.StoreMessageInfo(mi) } } func (x *NameTable) String() string { return protoimpl.X.MessageStringOf(x) } func (*NameTable) ProtoMessage() {} func (x *NameTable) ProtoReflect() protoreflect.Message { mi := &file_dns_proto_nds_proto_msgTypes[0] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri May 31 02:27:10 UTC 2024 - 10.2K bytes - Viewed (0) -
pilot/pkg/config/kube/crdclient/client_test.go
} return nil }, retry.Timeout(time.Second*5), retry.Converge(5)) retry.UntilOrFail(t, func() bool { return store.Get(r.GroupVersionKind(), configMeta.Name, configMeta.Namespace) == nil }, retry.Message("expected no items returned for unknown CRD"), retry.Timeout(time.Second*5), retry.Converge(5)) } // Ensure that the client can run without CRDs present, but then added later func TestClientDelayedCRDs(t *testing.T) {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri May 10 02:58:52 UTC 2024 - 14.1K bytes - Viewed (0) -
pkg/config/validation/envoyfilter/envoyfilter_test.go
t.Fatalf("got warning=%v but wanted warning=%v", gotWarning, wantWarning) } } func TestValidateEnvoyFilter(t *testing.T) { tests := []struct { name string in proto.Message error string warning string }{ {name: "empty filters", in: &networking.EnvoyFilter{}, error: ""}, {name: "labels not defined in workload selector", in: &networking.EnvoyFilter{
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Sat Mar 30 00:31:03 UTC 2024 - 16.7K bytes - Viewed (0) -
pkg/config/constants/constants.go
// This used to use the no longer supported default K8S signer. // Deprecated - used to detect the old setting and generate the error message. CertProviderKubernetes = "kubernetes" // CertProviderKubernetesSignerPrefix uses the Kubernetes CSR API and the specified signer to generate a DNS certificate for the control plane
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 13 17:48:28 UTC 2024 - 10K bytes - Viewed (0) -
pkg/log/config_test.go
zap.L().Warn("zap-warn") zap.L().Info("zap-info") zap.L().Debug("zap-debug") l := zap.L().With(zap.String("a", "b")) l.Error("zap-with") entry := zapcore.Entry{ Message: "zap-write", Level: zapcore.ErrorLevel, } _ = zap.L().Core().Write(entry, nil) defaultScope.SetOutputLevel(NoneLevel) grpcScope.SetOutputLevel(NoneLevel)
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Mar 26 20:38:10 UTC 2024 - 10.9K bytes - Viewed (0) -
pkg/kube/inject/webhook.go
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue May 14 17:59:39 UTC 2024 - 42.2K bytes - Viewed (0)