Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for from (0.22 sec)

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

    	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
    	type opaResult struct {
    		Result bool `json:"result"`
    	}
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Sep 14 21:50:16 GMT 2023
    - 5.2K bytes
    - Viewed (1)
  2. internal/event/config.go

    	if len(parsedConfig.QueueList) > 0 {
    		for i, q1 := range parsedConfig.QueueList[:len(parsedConfig.QueueList)-1] {
    			for _, q2 := range parsedConfig.QueueList[i+1:] {
    				// Removes the region from ARN if server region is not set
    				if q2.ARN.region != "" && q1.ARN.region == "" {
    					q2.ARN.region = ""
    				}
    				if reflect.DeepEqual(q1, q2) {
    					return &ErrDuplicateQueueConfiguration{q1}
    				}
    			}
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Tue Nov 16 17:28:29 GMT 2021
    - 8.4K bytes
    - Viewed (0)
  3. internal/logger/config.go

    			if target == legacyEnvLoggerHTTPEndpoint {
    				target = config.Default
    			}
    			loggerTargets = append(loggerTargets, target)
    		}
    
    		// Load HTTP logger from the environment if found
    		for _, target := range loggerTargets {
    			endpoint := getCfgVal(legacyEnvLoggerHTTPEndpoint, target, "")
    			if endpoint == "" {
    				continue
    			}
    			url, err := xnet.ParseHTTPURL(endpoint)
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 15.8K bytes
    - Viewed (0)
  4. internal/config/identity/plugin/config.go

    }
    
    // AuthNSuccessResponse - represents the response from the authentication plugin
    // service.
    type AuthNSuccessResponse struct {
    	User               string                 `json:"user"`
    	MaxValiditySeconds int                    `json:"maxValiditySeconds"`
    	Claims             map[string]interface{} `json:"claims"`
    }
    
    // AuthNErrorResponse - represents an error response from the authN plugin.
    type AuthNErrorResponse struct {
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 13.3K bytes
    - Viewed (3)
  5. cni/pkg/config/config.go

    	K8sServiceProtocol string
    	// KUBERNETES_SERVICE_HOST
    	K8sServiceHost string
    	// KUBERNETES_SERVICE_PORT
    	K8sServicePort string
    	// KUBERNETES_NODE_NAME
    	K8sNodeName string
    
    	// Directory from where the CNI binaries should be copied
    	CNIBinSourceDir string
    	// Directories into which to copy the CNI binaries
    	CNIBinTargetDirs []string
    
    	// The HTTP port for monitoring
    	MonitoringPort int
    
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Fri Jan 26 20:34:28 GMT 2024
    - 5.4K bytes
    - Viewed (0)
  6. internal/config/config.go

    // ContextKeyString is type(string) for contextKey
    type ContextKeyString string
    
    // ContextKeyForTargetFromConfig - key for context for target from config
    const ContextKeyForTargetFromConfig = ContextKeyString("ContextKeyForTargetFromConfig")
    
    // ParseConfigTargetID - read all targetIDs from reader
    func ParseConfigTargetID(r io.Reader) (ids map[string]bool, err error) {
    	ids = make(map[string]bool)
    	scanner := bufio.NewScanner(r)
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Sat Mar 02 05:11:03 GMT 2024
    - 37.3K bytes
    - Viewed (0)
  7. internal/kms/config.go

    	EnvKESKeyCacheInterval = "MINIO_KMS_KEY_CACHE_INTERVAL" // Period between polls of the KES KMS Master Key cache, to prevent it from being unused and purged
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Mon Apr 15 07:42:50 GMT 2024
    - 2K bytes
    - Viewed (0)
  8. internal/config/policy/plugin/config.go

    	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
    	type opaResult struct {
    		Result bool `json:"result"`
    	}
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Sep 14 21:50:16 GMT 2023
    - 5.8K bytes
    - Viewed (0)
  9. cmd/config.go

    // Init - initializes config system from config.json.
    func (sys *ConfigSys) Init(objAPI ObjectLayer) error {
    	if objAPI == nil {
    		return errInvalidArgument
    	}
    
    	return initConfig(objAPI)
    }
    
    // NewConfigSys - creates new config system object.
    func NewConfigSys() *ConfigSys {
    	return &ConfigSys{}
    }
    
    // Initialize and load config from remote etcd or local config directory
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Wed Aug 23 10:07:06 GMT 2023
    - 6K bytes
    - Viewed (0)
Back to top