Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 867 for patched (0.23 sec)

  1. cmd/kubeadm/app/discovery/token/token.go

    				klog.V(1).Infof("[discovery] Retrying due to error: %v", lastError)
    				return false, nil
    			}
    			// Even if the ConfigMap is available the JWS signature is patched-in a bit later.
    			if _, ok := cm.Data[bootstrapapi.JWSSignatureKeyPrefix+token.ID]; !ok {
    				lastError = errors.Errorf("could not find a JWS signature in the cluster-info ConfigMap"+
    					" for token ID %q", token.ID)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Jan 14 13:07:56 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiextensions-apiserver/pkg/client/clientset/clientset/typed/apiextensions/v1beta1/customresourcedefinition.go

    		Do(ctx).
    		Error()
    }
    
    // Patch applies the patch and returns the patched customResourceDefinition.
    func (c *customResourceDefinitions) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1beta1.CustomResourceDefinition, err error) {
    	result = &v1beta1.CustomResourceDefinition{}
    	err = c.client.Patch(pt).
    		Resource("customresourcedefinitions").
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 10:52:54 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiextensions-apiserver/examples/client-go/pkg/client/clientset/versioned/typed/cr/v1/example.go

    		Timeout(timeout).
    		Body(&opts).
    		Do(ctx).
    		Error()
    }
    
    // Patch applies the patch and returns the patched example.
    func (c *examples) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *v1.Example, err error) {
    	result = &v1.Example{}
    	err = c.client.Patch(pt).
    		Namespace(c.ns).
    		Resource("examples").
    		Name(name).
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 10:52:54 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  4. pkg/controller/history/controller_history_test.go

    				if err != nil {
    					return true, nil, err
    				}
    				patched, err := legacyscheme.Scheme.ConvertToVersion(obj, apps.SchemeGroupVersion)
    				if err != nil {
    					return true, nil, err
    				}
    				return true, patched, err
    			default:
    				return false, nil, nil
    			}
    
    		})
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Aug 21 13:31:28 UTC 2023
    - 49.1K bytes
    - Viewed (0)
  5. pilot/pkg/security/authz/builder/builder.go

    				continue
    			}
    			m.MigrateTrustDomain(b.trustDomainBundle)
    			if len(b.trustDomainBundle.TrustDomains) > 1 {
    				b.logger.AppendDebugf("patched source principal with trust domain aliases %v", b.trustDomainBundle.TrustDomains)
    			}
    			generated, err := m.Generate(forTCP, !b.option.UseFilterState, action)
    			if err != nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Nov 20 22:15:12 UTC 2023
    - 12.6K bytes
    - Viewed (0)
  6. pkg/scheduler/util/utils_test.go

    			cs := &clientsetfake.Clientset{}
    			cs.AddReactor("patch", "pods", func(action clienttesting.Action) (bool, runtime.Object, error) {
    				actualPatchRequests++
    				patch := action.(clienttesting.PatchAction)
    				actualPatchData = string(patch.GetPatch())
    				// For this test, we don't care about the result of the patched pod, just that we got the expected
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Sep 21 01:40:44 UTC 2023
    - 14.5K bytes
    - Viewed (0)
  7. pkg/webhooks/validation/controller/controller.go

    type Options struct {
    	// Istio system namespace where istiod resides.
    	WatchedNamespace string
    
    	// File path to the x509 certificate bundle used by the webhook server
    	// and patched into the webhook config.
    	CABundleWatcher *keycertbundle.Watcher
    
    	// Revision for control plane performing patching on the validating webhook.
    	Revision string
    
    	// Name of the service running the webhook server.
    	ServiceName string
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 28 16:52:19 UTC 2024
    - 11.3K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiextensions-apiserver/pkg/client/clientset/clientset/typed/apiextensions/v1/customresourcedefinition.go

    		Body(&opts).
    		Do(ctx).
    		Error()
    }
    
    // Patch applies the patch and returns the patched customResourceDefinition.
    func (c *customResourceDefinitions) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *v1.CustomResourceDefinition, err error) {
    	result = &v1.CustomResourceDefinition{}
    	err = c.client.Patch(pt).
    		Resource("customresourcedefinitions").
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 10:52:54 UTC 2024
    - 12K bytes
    - Viewed (0)
  9. pkg/controller/statefulset/stateful_set_utils.go

    	template := spec["template"].(map[string]interface{})
    	specCopy["template"] = template
    	template["$patch"] = "replace"
    	objCopy["spec"] = specCopy
    	patch, err := json.Marshal(objCopy)
    	return patch, err
    }
    
    // newRevision creates a new ControllerRevision containing a patch that reapplies the target state of set.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 05 19:06:41 UTC 2024
    - 26.7K bytes
    - Viewed (0)
  10. cmd/kubeadm/app/util/config/cluster.go

    	if !ok {
    		return nil, errors.Errorf("unexpected error when reading kubeadm-config ConfigMap: %s key value pair missing", constants.ClusterConfigurationConfigMapKey)
    	}
    	// If ClusterConfiguration was patched by something other than kubeadm, it may have errors. Warn about them.
    	if err := strict.VerifyUnmarshalStrict([]*runtime.Scheme{kubeadmscheme.Scheme},
    		kubeadmapiv1.SchemeGroupVersion.WithKind(constants.ClusterConfigurationKind),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 11:04:08 UTC 2024
    - 11K bytes
    - Viewed (0)
Back to top