Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for strict (0.35 sec)

  1. internal/config/lambda/config.go

    // 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{
    		Webhook: make(map[string]target.WebhookArgs),
    	}
    	cfg.Webhook[defaultTarget] = target.WebhookArgs{}
    	return cfg
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Mar 07 16:12:41 GMT 2023
    - 1.3K bytes
    - Viewed (0)
  2. internal/logger/config.go

    		// Console logging is on by default
    		Console: Console{
    			Enabled: true,
    		},
    		HTTP:         make(map[string]http.Config),
    		AuditWebhook: make(map[string]http.Config),
    		AuditKafka:   make(map[string]kafka.Config),
    	}
    
    	return cfg
    }
    
    func getCfgVal(envName, key, defaultValue string) string {
    	if key != config.Default {
    		envName = envName + config.Default + key
    	}
    	return env.Get(envName, defaultValue)
    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)
  3. internal/event/config.go

    type topic struct {
    	ARN string `xml:"Topic" json:"Topic"`
    }
    
    // Config - notification configuration described in
    // http://docs.aws.amazon.com/AmazonS3/latest/dev/NotificationHowTo.html
    type Config struct {
    	XMLNS      string   `xml:"xmlns,attr,omitempty"`
    	XMLName    xml.Name `xml:"NotificationConfiguration"`
    	QueueList  []Queue  `xml:"QueueConfiguration,omitempty"`
    	LambdaList []lambda `xml:"CloudFunctionConfiguration,omitempty"`
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Nov 16 17:28:29 GMT 2021
    - 8.4K bytes
    - Viewed (0)
  4. internal/config/policy/opa/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 Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Sep 14 21:50:16 GMT 2023
    - 5.2K bytes
    - Viewed (1)
  5. cni/pkg/config/config.go

    	b.WriteString("LogUDSAddress: " + fmt.Sprint(c.LogUDSAddress) + "\n")
    
    	b.WriteString("AmbientEnabled: " + fmt.Sprint(c.AmbientEnabled) + "\n")
    	b.WriteString("AmbientDNSCapture: " + fmt.Sprint(c.AmbientDNSCapture) + "\n")
    	b.WriteString("AmbientIPv6: " + fmt.Sprint(c.AmbientIPv6) + "\n")
    
    	return b.String()
    }
    
    func (c RepairConfig) String() string {
    	var b strings.Builder
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Tue Apr 30 22:24:38 GMT 2024
    - 5.5K bytes
    - Viewed (0)
  6. internal/config/identity/plugin/config.go

    // 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 {
    	Reason string `json:"reason"`
    }
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 13.3K bytes
    - Viewed (3)
  7. internal/config/identity/tls/config.go

    	EnvIdentityTLSSkipVerify = "MINIO_IDENTITY_TLS_SKIP_VERIFY"
    )
    
    // Config contains the STS TLS configuration for generating temp.
    // 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.
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Sep 04 19:57:37 GMT 2023
    - 3.6K bytes
    - Viewed (0)
  8. internal/config/subnet/config.go

    		Value: "",
    	},
    }
    
    // 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
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Nov 24 17:59:35 GMT 2023
    - 3.8K bytes
    - Viewed (0)
  9. cmd/config.go

    	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 {
    	if objAPI == nil {
    		return errInvalidArgument
    	}
    
    	return initConfig(objAPI)
    }
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Wed Aug 23 10:07:06 GMT 2023
    - 6K bytes
    - Viewed (0)
  10. internal/config/identity/ldap/config.go

    		}
    		s[config.IdentityLDAPSubSys][config.Default] = kvs
    	}
    
    	if err := s.CheckValidKeys(config.IdentityLDAPSubSys, removedKeys); err != nil {
    		return l, err
    	}
    
    	getCfgVal := func(cfgParam string) string {
    		// As parameters are already validated, we skip checking
    		// if the config param was found.
    		val, _, _ := s.ResolveConfigParam(config.IdentityLDAPSubSys, config.Default, cfgParam, false)
    		return val
    	}
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 25 21:28:16 GMT 2024
    - 7.9K bytes
    - Viewed (2)
Back to top