Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 1,416 for delete1 (0.14 sec)

  1. pilot/pkg/serviceregistry/serviceentry/store.go

    		ikey := makeInstanceKey(i)
    		s.instancesByHostAndPort.Delete(hostPort{ikey, i.ServicePort.Port})
    		oldInstances := s.instances[ikey][key]
    		delete(s.instances[ikey], key)
    		if len(s.instances[ikey]) == 0 {
    			delete(s.instances, ikey)
    		}
    		delete(s.ip2instance, i.Endpoint.Address)
    		// Cleanup stale IPs, if the IPs changed
    		for _, oi := range oldInstances {
    			s.instancesByHostAndPort.Delete(hostPort{ikey, oi.ServicePort.Port})
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 29 15:31:09 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  2. operator/pkg/controller/istiocontrolplane/errdict.go

    			"not be fully removed.",
    		LikelyCause: formatCauses(likelyCauseAPIServer),
    		Action:      "Delete and re-add the IstioOperator resource. " + actionIfErrPersistsCheckBugList,
    	}
    	operatorFailedToRemoveFinalizer = &structured.Error{
    		MoreInfo: "The finalizer set by the operator controller could not be removed " +
    			"when the IstioOperator resource was deleted.",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 30 13:56:46 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  3. pkg/kubelet/cm/cpumanager/state/state_mem.go

    	klog.InfoS("Updated CPUSet assignments", "assignments", a)
    }
    
    func (s *stateMemory) Delete(podUID string, containerName string) {
    	s.Lock()
    	defer s.Unlock()
    
    	delete(s.assignments[podUID], containerName)
    	if len(s.assignments[podUID]) == 0 {
    		delete(s.assignments, podUID)
    	}
    	klog.V(2).InfoS("Deleted CPUSet assignment", "podUID", podUID, "containerName", containerName)
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 03 16:26:09 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  4. internal/bucket/replication/rule.go

    	errInvalidDeleteMarkerReplicationStatus   = Errorf("Delete marker replication status is invalid")
    	errDestinationSourceIdentical             = Errorf("Destination bucket cannot be the same as the source bucket.")
    	errDeleteReplicationMissing               = Errorf("Delete replication must be specified")
    	errInvalidDeleteReplicationStatus         = Errorf("Delete replication is either enable|disable")
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jan 24 23:22:20 UTC 2022
    - 8.3K bytes
    - Viewed (0)
  5. pkg/proxy/conntrack/conntrack_test.go

    	fakeexec "k8s.io/utils/exec/testing"
    )
    
    var success = func() ([]byte, []byte, error) { return []byte("1 flow entries have been deleted"), nil, nil }
    var nothingToDelete = func() ([]byte, []byte, error) {
    	return []byte(""), nil, fmt.Errorf("conntrack v1.4.2 (conntrack-tools): 0 flow entries have been deleted")
    }
    
    type testCT struct {
    	execCT
    
    	fcmd *fakeexec.FakeCmd
    }
    
    func makeCT(result fakeexec.FakeAction) *testCT {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jan 15 18:08:36 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  6. platforms/core-execution/execution/src/test/groovy/org/gradle/internal/execution/steps/SkipEmptyIncrementalWorkStepTest.groovy

        }
    
        def "exception thrown when sourceFiles are empty and deletes previous output, but delete fails"() {
            def previousOutputFile = file("output.txt").createFile()
            def outputFileSnapshot = snapshot(previousOutputFile)
            def ioException = new IOException("Couldn't delete file")
    
            when:
            step.execute(work, context)
    
            then:
            interaction {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Nov 22 09:46:24 UTC 2023
    - 4.8K bytes
    - Viewed (0)
  7. pkg/controller/namespace/namespace_controller.go

    	listerSynced cache.InformerSynced
    	// namespaces that have been queued up for processing by workers
    	queue workqueue.TypedRateLimitingInterface[string]
    	// helper to delete all resources in the namespace when the namespace is deleted.
    	namespacedResourcesDeleter deletion.NamespacedResourcesDeleterInterface
    }
    
    // NewNamespaceController creates a new NamespaceController
    func NewNamespaceController(
    	ctx context.Context,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiextensions-apiserver/examples/client-go/pkg/client/clientset/versioned/typed/cr/v1/example.go

    		Into(result)
    	return
    }
    
    // Delete takes name of the example and deletes it. Returns an error if one occurs.
    func (c *examples) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error {
    	return c.client.Delete().
    		Namespace(c.ns).
    		Resource("examples").
    		Name(name).
    		Body(&opts).
    		Do(ctx).
    		Error()
    }
    
    // DeleteCollection deletes a collection of objects.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 10:52:54 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  9. pkg/controller/job/tracking_utils.go

    			uids.set.Delete(deleteKey)
    		}
    		uids.Unlock()
    	}
    }
    
    // DeleteExpectations deletes the UID set.
    func (u *uidTrackingExpectations) deleteExpectations(logger klog.Logger, jobKey string) {
    	set := u.getSet(jobKey)
    	if set != nil {
    		if err := u.store.Delete(set); err != nil {
    			logger.Error(err, "Could not delete tracking annotation UID expectations", "key", jobKey)
    		}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 14 05:40:02 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  10. pkg/kubelet/cm/dra/claiminfo.go

    	info, exists := cache.claimInfo[namespace+"/"+claimName]
    	return info, exists
    }
    
    // delete deletes a specific claim info object from the cache.
    func (cache *claimInfoCache) delete(claimName, namespace string) {
    	delete(cache.claimInfo, namespace+"/"+claimName)
    }
    
    // hasPodReference checks if there is at least one claim
    // that is referenced by the pod with the given UID
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 03 13:30:31 UTC 2024
    - 7.9K bytes
    - Viewed (0)
Back to top