Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for NewDirectedAcyclicGraph (0.2 sec)

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

    // nameVertexMapping is a map of name -> vertex
    type nameVertexMapping map[string]*namedVertex
    
    func NewGraph() *Graph {
    	return &Graph{
    		vertices: map[vertexType]namespaceVertexMapping{},
    		graph:    simple.NewDirectedAcyclicGraph(0, 0),
    
    		destinationEdgeIndex: map[int]*intSet{},
    		// experimentally determined to be the point at which iteration adds an order of magnitude to the authz check.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 21:22:55 UTC 2024
    - 17.5K bytes
    - Viewed (0)
Back to top