Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for DestinationID (0.21 sec)

  1. plugin/pkg/auth/authorizer/node/graph.go

    		delete(g.destinationEdgeIndex, n.ID())
    		return
    	}
    
    	// decrement the nodeID->destinationID refcount in the index, if the index exists
    	index := g.destinationEdgeIndex[n.ID()]
    	if index == nil {
    		return
    	}
    	if destinationEdge, ok := e.(*destinationEdge); ok {
    		index.decrement(destinationEdge.DestinationID())
    	}
    }
    
    // A fastpath for recomputeDestinationIndex_locked for "adding edge case".
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 21:22:55 UTC 2024
    - 17.5K bytes
    - Viewed (0)
  2. plugin/pkg/auth/authorizer/node/node_authorizer.go

    		return true, nil
    	}
    
    	found := false
    	traversal := &traverse.VisitingDepthFirst{
    		EdgeFilter: func(edge graph.Edge) bool {
    			if destinationEdge, ok := edge.(*destinationEdge); ok {
    				if destinationEdge.DestinationID() != nodeVertex.ID() {
    					// Don't follow edges leading to other nodes
    					return false
    				}
    				// We found an edge leading to the node we want
    				found = true
    			}
    			// Visit this edge
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 21:22:55 UTC 2024
    - 16K bytes
    - Viewed (0)
Back to top