Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 13 of 13 for Struct (0.14 sec)

  1. internal/config/policy/plugin/config.go

    	// 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"`
    	}
    
    	respBody := bytes.NewReader(opaRespBytes)
    
    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)
  2. internal/config/config.go

    }
    
    // ErrConfigGeneric is a generic config type
    type ErrConfigGeneric struct {
    	msg string
    }
    
    func (ge *ErrConfigGeneric) setMsg(msg string) {
    	ge.msg = msg
    }
    
    func (ge ErrConfigGeneric) Error() string {
    	return ge.msg
    }
    
    // ErrConfigNotFound is an error to indicate
    // that a config parameter is not found
    type ErrConfigNotFound struct {
    	ErrConfigGeneric
    }
    
    // Error creates an error message and wraps
    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)
  3. internal/config/notify/config.go

    package notify
    
    import (
    	"github.com/minio/minio/internal/event/target"
    )
    
    // Config - notification target configuration structure, holds
    // information about various notification targets.
    type Config struct {
    	AMQP          map[string]target.AMQPArgs          `json:"amqp"`
    	Elasticsearch map[string]target.ElasticsearchArgs `json:"elasticsearch"`
    	Kafka         map[string]target.KafkaArgs         `json:"kafka"`
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Jun 01 21:59:40 GMT 2021
    - 2.8K bytes
    - Viewed (0)
Back to top