Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 70 for updateDir (0.21 sec)

  1. staging/src/k8s.io/apiserver/pkg/endpoints/handlers/patch.go

    		options := patchToUpdateOptions(p.options)
    		updateObject, created, updateErr := p.restPatcher.Update(ctx, p.name, p.updatedObjectInfo, p.createValidation, p.updateValidation, p.forceAllowCreate, options)
    		wasCreated = created
    		return updateObject, updateErr
    	}
    	result, err := finisher.FinishRequest(ctx, func() (runtime.Object, error) {
    
    		result, err := requestFunc()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 28 08:48:22 UTC 2024
    - 28.5K bytes
    - Viewed (0)
  2. pkg/controller/disruption/disruption.go

    	// have a DeletionTimestamp).
    	// Once the timeout is reached, this controller attempts to set the status
    	// of the condition to False.
    	stalePodDisruptionTimeout = 2 * time.Minute
    )
    
    type updater func(context.Context, *policy.PodDisruptionBudget) error
    
    type DisruptionController struct {
    	kubeClient clientset.Interface
    	mapper     apimeta.RESTMapper
    
    	scaleNamespacer scaleclient.ScalesGetter
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 36.1K bytes
    - Viewed (0)
  3. pkg/controller/daemon/daemon_controller.go

    		toUpdate.Status.NumberAvailable = int32(numberAvailable)
    		toUpdate.Status.NumberUnavailable = int32(numberUnavailable)
    
    		if _, updateErr = dsClient.UpdateStatus(ctx, toUpdate, metav1.UpdateOptions{}); updateErr == nil {
    			return nil
    		}
    
    		// Stop retrying if we exceed statusUpdateRetries - the DaemonSet will be requeued with a rate limit.
    		if i >= StatusUpdateRetries {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 51.3K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/pkg/endpoints/installer.go

    	gracefulDeleter, isGracefulDeleter := storage.(rest.GracefulDeleter)
    	collectionDeleter, isCollectionDeleter := storage.(rest.CollectionDeleter)
    	updater, isUpdater := storage.(rest.Updater)
    	patcher, isPatcher := storage.(rest.Patcher)
    	watcher, isWatcher := storage.(rest.Watcher)
    	connecter, isConnecter := storage.(rest.Connecter)
    	storageMeta, isMetadata := storage.(rest.StorageMetadata)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 18:15:22 UTC 2024
    - 51.5K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/endpoints/handlers/update.go

    	"k8s.io/apiserver/pkg/util/dryrun"
    	"k8s.io/component-base/tracing"
    	"k8s.io/klog/v2"
    )
    
    // UpdateResource returns a function that will handle a resource update
    func UpdateResource(r rest.Updater, scope *RequestScope, admit admission.Interface) http.HandlerFunc {
    	return func(w http.ResponseWriter, req *http.Request) {
    		ctx := req.Context()
    		// For performance tracking purposes.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 01 20:19:46 UTC 2023
    - 11.5K bytes
    - Viewed (0)
  6. pilot/pkg/serviceregistry/memory/discovery.go

    	}
    	sd.handlers.NotifyServiceHandlers(nil, svc, model.EventDelete)
    	sd.mutex.Unlock()
    }
    
    // AddInstance adds an in-memory instance and notifies the XDS updater
    func (sd *ServiceDiscovery) AddInstance(instance *model.ServiceInstance) {
    	sd.mutex.Lock()
    	defer sd.mutex.Unlock()
    	service := instance.Service.Hostname
    	svc := sd.services[service]
    	if svc == nil {
    		return
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Mar 28 23:10:01 UTC 2024
    - 12.4K bytes
    - Viewed (0)
  7. pilot/pkg/bootstrap/configcontroller.go

    		}
    	}
    	return nil
    }
    
    // initInprocessAnalysisController spins up an instance of Galley which serves no purpose other than
    // running Analyzers for status updates.  The Status Updater will eventually need to allow input from istiod
    // to support config distribution status as well.
    func (s *Server) initInprocessAnalysisController(args *PilotArgs) error {
    	if s.statusManager == nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Feb 28 16:41:38 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  8. pilot/pkg/serviceregistry/kube/controller/serviceimportcache_test.go

    	return ic.serviceImports.Get(name.Name, name.Namespace) != nil
    }
    
    func (ic *serviceImportCacheImpl) checkXDS(t test.Failer) {
    	t.Helper()
    	ic.opts.XDSUpdater.(*xdsfake.Updater).MatchOrFail(t, xdsfake.Event{Type: "service", ID: serviceImportClusterSetHost.String()})
    }
    
    func (ic *serviceImportCacheImpl) clusterLocalHost() host.Name {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Aug 14 18:50:38 UTC 2023
    - 15.2K bytes
    - Viewed (0)
  9. pilot/pkg/serviceregistry/kube/controller/pod_test.go

    // Prepare k8s. This can be used in multiple tests, to
    // avoid duplicating creation, which can be tricky. It can be used with the fake or
    // standalone apiserver.
    func initTestEnv(t *testing.T, ki kubernetes.Interface, fx *xdsfake.Updater) {
    	cleanup(ki)
    	for _, n := range []string{"nsa", "nsb"} {
    		_, err := ki.CoreV1().Namespaces().Create(context.TODO(), &v1.Namespace{
    			ObjectMeta: metav1.ObjectMeta{
    				Name: n,
    				Labels: map[string]string{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 16 18:27:40 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  10. pilot/pkg/model/context.go

    	}
    
    	// Create the cluster-local service registry.
    	e.clusterLocalServices = NewClusterLocalProvider(e)
    }
    
    func (e *Environment) InitNetworksManager(updater XDSUpdater) (err error) {
    	e.NetworkManager, err = NewNetworkManager(e, updater)
    	return
    }
    
    func (e *Environment) ClusterLocal() ClusterLocalProvider {
    	return e.clusterLocalServices
    }
    
    func (e *Environment) GetLedger() ledger.Ledger {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jun 03 08:29:05 UTC 2024
    - 33.6K bytes
    - Viewed (0)
Back to top