Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for set (0.23 sec)

  1. internal/logger/config.go

    			QueueDir:   getCfgVal(EnvAuditWebhookQueueDir, k, kv.Get(QueueDir)),
    			Name:       auditTargetNamePrefix + k,
    		}
    	}
    	return cfg, nil
    }
    
    // LookupConfigForSubSys - lookup logger config, override with ENVs if set, for the given sub-system
    func LookupConfigForSubSys(ctx context.Context, scfg config.Config, subSys string) (cfg Config, err error) {
    	switch subSys {
    	case config.LoggerWebhookSubSys:
    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)
  2. internal/config/identity/plugin/config.go

    func (a *Args) Validate() error {
    	req, err := http.NewRequest(http.MethodPost, a.URL.String(), bytes.NewReader([]byte("")))
    	if err != nil {
    		return err
    	}
    
    	req.Header.Set("Content-Type", "application/json")
    	if a.AuthToken != "" {
    		req.Header.Set("Authorization", a.AuthToken)
    	}
    
    	client := &http.Client{Transport: a.Transport}
    	resp, err := client.Do(req)
    	if err != nil {
    		return err
    	}
    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)
  3. cni/pkg/config/config.go

    	// CNI config template string
    	CNINetworkConfig string
    
    	// Logging level
    	LogLevel string
    	// Name of the kubeconfig file used by the CNI plugin
    	KubeconfigFilename string
    	// The file mode to set when creating the kubeconfig file
    	KubeconfigMode int
    	// CA file for kubeconfig
    	KubeCAFile string
    	// Whether to use insecure TLS in the kubeconfig file
    	SkipTLSVerify bool
    
    	// KUBERNETES_SERVICE_PROTOCOL
    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)
  4. internal/config/policy/opa/config.go

    func (a *Args) Validate() error {
    	req, err := http.NewRequest(http.MethodPost, a.URL.String(), bytes.NewReader([]byte("")))
    	if err != nil {
    		return err
    	}
    
    	req.Header.Set("Content-Type", "application/json")
    	if a.AuthToken != "" {
    		req.Header.Set("Authorization", a.AuthToken)
    	}
    
    	client := &http.Client{Transport: a.Transport}
    	resp, err := client.Do(req)
    	if err != nil {
    		return err
    	}
    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. internal/event/config.go

    package event
    
    import (
    	"encoding/xml"
    	"errors"
    	"io"
    	"reflect"
    	"strings"
    	"unicode/utf8"
    
    	"github.com/minio/minio-go/v7/pkg/set"
    )
    
    // ValidateFilterRuleValue - checks if given value is filter rule value or not.
    func ValidateFilterRuleValue(value string) error {
    	for _, segment := range strings.Split(value, "/") {
    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)
  6. internal/config/config.go

    			// Since the region sub-system cannot be (re)set as it
    			// is legacy, we return an error to tell the user to
    			// reset the region via the new command.
    			err = Errorf("could not load region from legacy configuration as it was invalid - use 'mc admin config set myminio site region=myregion name=myname' to set a region and name (%v)", err)
    			return
    		}
    
    		region = regionKV.Get(RegionName)
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sat Mar 02 05:11:03 GMT 2024
    - 37.3K bytes
    - Viewed (0)
  7. internal/config/policy/plugin/config.go

    func (a *Args) Validate() error {
    	req, err := http.NewRequest(http.MethodPost, a.URL.String(), bytes.NewReader([]byte("")))
    	if err != nil {
    		return err
    	}
    
    	req.Header.Set("Content-Type", "application/json")
    	if a.AuthToken != "" {
    		req.Header.Set("Authorization", a.AuthToken)
    	}
    
    	client := &http.Client{Transport: a.Transport}
    	resp, err := client.Do(req)
    	if err != nil {
    		return err
    	}
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Sep 14 21:50:16 GMT 2023
    - 5.8K bytes
    - Viewed (0)
  8. internal/config/identity/ldap/config.go

    	// If enable flag was not explicitly set, we treat it as implicitly set at
    	// this point as necessary configuration is available.
    	if !isEnableFlagExplicitlySet && !l.LDAP.Enabled {
    		l.LDAP.Enabled = true
    	}
    	// Validate and test configuration.
    	valResult := l.LDAP.Validate()
    	if !valResult.IsOk() {
    		// Set to false if configuration fails to validate.
    		l.LDAP.Enabled = false
    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)
  9. 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
    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)
  10. internal/config/subnet/config.go

    	// 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
    }
    
    var configLock sync.RWMutex
    
    // Registered indicates if cluster is registered or not
    func (c *Config) Registered() bool {
    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)
Back to top