Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for json (0.2 sec)

  1. internal/config/lambda/config.go

    import "github.com/minio/minio/internal/event/target"
    
    // Config - lambda target configuration structure, holds
    // information about various lambda targets.
    type Config struct {
    	Webhook map[string]target.WebhookArgs `json:"webhook"`
    }
    
    const (
    	defaultTarget = "1"
    )
    
    // NewConfig - initialize lambda config.
    func NewConfig() Config {
    	// Make sure to initialize lambda targets
    	cfg := Config{
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Mar 07 16:12:41 GMT 2023
    - 1.3K bytes
    - Viewed (0)
  2. internal/config/policy/opa/config.go

    			Value: "",
    		},
    	}
    )
    
    // Args opa general purpose policy engine configuration.
    type Args struct {
    	URL         *xnet.URL             `json:"url"`
    	AuthToken   string                `json:"authToken"`
    	Transport   http.RoundTripper     `json:"-"`
    	CloseRespFn func(r io.ReadCloser) `json:"-"`
    }
    
    // Validate - validate opa configuration params.
    func (a *Args) Validate() error {
    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)
  3. internal/event/config.go

    }
    
    // common - represents common elements inside <QueueConfiguration>, <CloudFunctionConfiguration>
    // and <TopicConfiguration>
    type common struct {
    	ID     string `xml:"Id" json:"Id"`
    	Filter S3Key  `xml:"Filter" json:"Filter"`
    	Events []Name `xml:"Event" json:"Event"`
    }
    
    // Queue - represents elements inside <QueueConfiguration>
    type Queue struct {
    	common
    	ARN ARN `xml:"Queue"`
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Nov 16 17:28:29 GMT 2021
    - 8.4K bytes
    - Viewed (0)
  4. cmd/config.go

    			return nil, err
    		}
    	}
    
    	json := jsoniter.ConfigCompatibleWithStandardLibrary
    	if err := json.Unmarshal(data, &srvCfg); err != nil {
    		return nil, err
    	}
    
    	// Add any missing entries
    	return srvCfg.Merge(), nil
    }
    
    // ConfigSys - config system.
    type ConfigSys struct{}
    
    // Init - initializes config system from config.json.
    func (sys *ConfigSys) Init(objAPI ObjectLayer) error {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Aug 23 10:07:06 GMT 2023
    - 6K bytes
    - Viewed (0)
  5. internal/config/subnet/config.go

    // Config represents the subnet related configuration
    type Config struct {
    	// The subnet license token - Deprecated Dec 2021
    	License string `json:"license"`
    
    	// The subnet api key
    	APIKey string `json:"apiKey"`
    
    	// The HTTP(S) proxy URL to use for connecting to SUBNET
    	Proxy string `json:"proxy"`
    
    	// Transport configured with proxy_url if set optionally.
    	transport http.RoundTripper
    
    	// The subnet base URL
    	BaseURL string
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Nov 24 17:59:35 GMT 2023
    - 3.8K bytes
    - Viewed (0)
  6. internal/config/identity/tls/config.go

    // credentials and mapping client certificates to S3 policies.
    type Config struct {
    	Enabled bool `json:"enabled"`
    
    	// InsecureSkipVerify, if set to true, disables the client
    	// certificate verification. It should only be set for
    	// debugging or testing purposes.
    	InsecureSkipVerify bool `json:"skip_verify"`
    }
    
    const (
    	defaultExpiry time.Duration = 1 * time.Hour
    	minExpiry     time.Duration = 15 * time.Minute
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Sep 04 19:57:37 GMT 2023
    - 3.6K bytes
    - Viewed (0)
  7. internal/config/notify/config.go

    	AMQP          map[string]target.AMQPArgs          `json:"amqp"`
    	Elasticsearch map[string]target.ElasticsearchArgs `json:"elasticsearch"`
    	Kafka         map[string]target.KafkaArgs         `json:"kafka"`
    	MQTT          map[string]target.MQTTArgs          `json:"mqtt"`
    	MySQL         map[string]target.MySQLArgs         `json:"mysql"`
    	NATS          map[string]target.NATSArgs          `json:"nats"`
    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)
  8. internal/config/policy/plugin/config.go

    			Value: "off",
    		},
    	}
    )
    
    // Args for general purpose policy engine configuration.
    type Args struct {
    	URL         *xnet.URL             `json:"url"`
    	AuthToken   string                `json:"authToken"`
    	Transport   http.RoundTripper     `json:"-"`
    	CloseRespFn func(r io.ReadCloser) `json:"-"`
    }
    
    // Validate - validate opa configuration params.
    func (a *Args) Validate() error {
    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)
Back to top