- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for DeepCopyObject (0.21 sec)
-
istioctl/pkg/tag/tag_test.go
error: "", }, } for _, tc := range tcs { t.Run(tc.name, func(t *testing.T) { var out bytes.Buffer client := fake.NewSimpleClientset(tc.webhooks.DeepCopyObject(), tc.namespaces.DeepCopyObject()) outputFormat = util.JSONFormat err := listTags(context.Background(), client, &out) if tc.error == "" && err != nil { t.Fatalf("expected no error, got %v", err) }
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Fri Nov 17 22:41:06 GMT 2023 - 8.7K bytes - Viewed (0) -
operator/cmd/mesh/manifest_shared_test.go
// if an apply patch occurs for an object that doesn't yet exist, create it. if patch.Type() != types.ApplyPatchType { return clnt.Patch(ctx, obj, patch, opts...) } check, ok := obj.DeepCopyObject().(client.Object) if !ok { return errors.New("could not check for object in fake client") } if err := clnt.Get(ctx, client.ObjectKeyFromObject(obj), check); kerrors.IsNotFound(err) {
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Tue Feb 20 22:39:28 GMT 2024 - 11.7K bytes - Viewed (1)