Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for hasPathFrom (0.12 sec)

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

    	// is allowed by recording a graph edge.
    	return r.authorize(nodeName, sliceVertexType, attrs)
    }
    
    // hasPathFrom returns true if there is a directed path from the specified type/namespace/name to the specified Node
    func (r *NodeAuthorizer) hasPathFrom(nodeName string, startingType vertexType, startingNamespace, startingName string) (bool, error) {
    	r.graph.lock.RLock()
    	defer r.graph.lock.RUnlock()
    
    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