Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for Chandler (0.14 sec)

  1. internal/config/policy/opa/config.go

    	opaRespBytes, err := io.ReadAll(resp.Body)
    	if err != nil {
    		return false, err
    	}
    
    	// Handle large OPA responses when OPA URL is of
    	// form http://localhost:8181/v1/data/httpapi/authz
    	type opaResultAllow struct {
    		Result struct {
    			Allow bool `json:"allow"`
    		} `json:"result"`
    	}
    
    	// Handle simpler OPA responses when OPA URL is of
    	// form http://localhost:8181/v1/data/httpapi/authz/allow
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Sep 14 21:50:16 GMT 2023
    - 5.2K bytes
    - Viewed (1)
  2. internal/config/policy/plugin/config.go

    	opaRespBytes, err := io.ReadAll(resp.Body)
    	if err != nil {
    		return false, err
    	}
    
    	// Handle large OPA responses when OPA URL is of
    	// form http://localhost:8181/v1/data/httpapi/authz
    	type opaResultAllow struct {
    		Result struct {
    			Allow bool `json:"allow"`
    		} `json:"result"`
    	}
    
    	// Handle simpler OPA responses when OPA URL is of
    	// form http://localhost:8181/v1/data/httpapi/authz/allow
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Sep 14 21:50:16 GMT 2023
    - 5.8K bytes
    - Viewed (0)
  3. internal/config/config.go

    	// Check if config param requested is valid.
    	defKVS, ok := DefaultKVS[subSys]
    	if !ok {
    		return
    	}
    
    	defValue, isFound := defKVS.Lookup(cfgParam)
    	// Comments usually are absent from `defKVS`, so we handle it specially.
    	if !isFound && cfgParam == Comment {
    		defValue, isFound = "", true
    	}
    	if !isFound {
    		return
    	}
    
    	if target == "" {
    		target = Default
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Mar 02 05:11:03 GMT 2024
    - 37.3K bytes
    - Viewed (0)
Back to top