- Sort Score
- Result 10 results
- Languages All
Results 81 - 90 of 135 for marshaled (0.25 sec)
-
istioctl/pkg/waypoint/waypoint.go
RunE: func(cmd *cobra.Command, args []string) error { gw, err := makeGateway(false) if err != nil { return fmt.Errorf("failed to create gateway: %v", err) } b, err := yaml.Marshal(gw) if err != nil { return err } // strip junk res := strings.ReplaceAll(string(b), ` creationTimestamp: null `, "") res = strings.ReplaceAll(res, `status: {} `, "")
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 06 15:59:33 UTC 2024 - 16.4K bytes - Viewed (0) -
pkg/serviceaccount/claims_test.go
// reflect.DeepEqual that we are also asserting that // claims structs are json serializable spew := func(obj interface{}) string { b, err := json.Marshal(obj) if err != nil { t.Fatalf("err, couldn't marshal claims: %v", err) } return string(b) } // set feature flags for the duration of the test case
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 17.9K bytes - Viewed (0) -
pkg/controller/daemon/update.go
"labels": map[string]interface{}{ apps.DefaultDaemonSetUniqueLabelKey: keepCur.Labels[apps.DefaultDaemonSetUniqueLabelKey], }, }, } patchJSON, err := json.Marshal(patchRaw) if err != nil { return nil, err } _, err = dsc.kubeClient.CoreV1().Pods(ds.Namespace).Patch(ctx, pod.Name, types.MergePatchType, patchJSON, metav1.PatchOptions{}) if err != nil {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon May 13 16:53:53 UTC 2024 - 24.4K bytes - Viewed (0) -
cmd/kubeadm/app/util/config/common.go
AllowExperimental bool // SkipCRIDetect indicates whether to skip the CRI socket detection when no CRI socket is provided. SkipCRIDetect bool } // MarshalKubeadmConfigObject marshals an Object registered in the kubeadm scheme. If the object is a InitConfiguration or ClusterConfiguration, some extra logic is run func MarshalKubeadmConfigObject(obj runtime.Object, gv schema.GroupVersion) ([]byte, error) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Mar 01 11:04:08 UTC 2024 - 18.1K bytes - Viewed (0) -
src/crypto/tls/handshake_server_tls13.go
type binaryMarshaler interface { MarshalBinary() (data []byte, err error) UnmarshalBinary(data []byte) error } marshaler, ok := in.(binaryMarshaler) if !ok { return nil } state, err := marshaler.MarshalBinary() if err != nil { return nil } out := h.New() unmarshaler, ok := out.(binaryMarshaler) if !ok { return nil }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 17:23:54 UTC 2024 - 30.5K bytes - Viewed (0) -
tests/integration/operator/switch_cr_test.go
} return fmt.Errorf("status not found from the istioOperator resource") } usIOPStatus = usIOPStatus.(map[string]any) iopStatusString, err := json.Marshal(usIOPStatus) if err != nil { return fmt.Errorf("failed to marshal istioOperator status: %v", err) } status := &api.InstallStatus{} if err := protomarshal.UnmarshalAllowUnknown(iopStatusString, status); err != nil {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Apr 10 20:33:28 UTC 2024 - 17.5K bytes - Viewed (0) -
pkg/controller/servicecidrs/servicecidrs_controller.go
return nil } } patch := map[string]interface{}{ "metadata": map[string]interface{}{ "finalizers": []string{ServiceCIDRProtectionFinalizer}, }, } patchBytes, err := json.Marshal(patch) if err != nil { return err } _, err = c.client.NetworkingV1alpha1().ServiceCIDRs().Patch(ctx, cidr.Name, types.StrategicMergePatchType, patchBytes, metav1.PatchOptions{})
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 04 18:33:12 UTC 2024 - 18K bytes - Viewed (0) -
internal/event/name.go
if err != nil { return err } *name = eventName return nil } // MarshalJSON - encodes to JSON data. func (name Name) MarshalJSON() ([]byte, error) { return json.Marshal(name.String()) } // UnmarshalJSON - decodes JSON data. func (name *Name) UnmarshalJSON(data []byte) error { var s string if err := json.Unmarshal(data, &s); err != nil { return err }
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Wed May 01 01:11:10 UTC 2024 - 10.4K bytes - Viewed (0) -
docs/debugging/xl-meta/main.go
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri May 31 14:49:23 UTC 2024 - 38.5K bytes - Viewed (0) -
pkg/controlplane/apiserver/server.go
return nil, err } if c.EnableLogsSupport { routes.Logs{}.Install(generic.Handler.GoRestfulContainer) } // Metadata and keys are expected to only change across restarts at present, // so we just marshal immediately and serve the cached JSON bytes. md, err := serviceaccount.NewOpenIDMetadata( c.ServiceAccountIssuerURL, c.ServiceAccountJWKSURI, c.Generic.ExternalAddress, c.ServiceAccountPublicKeys, )
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Apr 29 19:24:41 UTC 2024 - 11K bytes - Viewed (0)