Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for Turing (0.21 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 May 05 19:28:20 GMT 2024
    - Last Modified: Tue Mar 07 16:12:41 GMT 2023
    - 1.3K bytes
    - Viewed (0)
  2. internal/event/config.go

    	return nil
    }
    
    func (ruleList FilterRuleList) isEmpty() bool {
    	return len(ruleList.Rules) == 0
    }
    
    // Pattern - returns pattern using prefix and suffix values.
    func (ruleList FilterRuleList) Pattern() string {
    	var prefix string
    	var suffix string
    
    	for _, rule := range ruleList.Rules {
    		switch rule.Name {
    		case "prefix":
    			prefix = rule.Value
    		case "suffix":
    			suffix = rule.Value
    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)
  3. internal/config/policy/opa/config.go

    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 {
    	req, err := http.NewRequest(http.MethodPost, a.URL.String(), bytes.NewReader([]byte("")))
    	if err != nil {
    		return err
    	}
    
    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)
  4. internal/config/subnet/config.go

    	// 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
    }
    
    var configLock sync.RWMutex
    
    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)
  5. 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 May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 21:28:16 GMT 2024
    - 7.9K bytes
    - Viewed (2)
  6. cmd/config.go

    					continue
    				}
    
    				data, err = decryptData(data, obj.Name)
    				if err != nil {
    					// ignore history file that cannot be loaded.
    					continue
    				}
    
    				cfgEntry.Data = string(data)
    			}
    			configHistory = append(configHistory, cfgEntry)
    			count--
    			if count == 0 {
    				break
    			}
    		}
    		if !res.IsTruncated {
    			// We are done here
    			break
    		}
    		marker = res.NextMarker
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Aug 23 10:07:06 GMT 2023
    - 6K bytes
    - Viewed (0)
  7. cni/pkg/config/config.go

    	// init container termination message and exit code.
    	SidecarAnnotation  string
    	InitContainerName  string
    	InitTerminationMsg string
    	InitExitCode       int
    
    	// Label and field selectors to select pods managed by race repair.
    	LabelSelectors string
    	FieldSelectors string
    }
    
    func (c InstallConfig) String() string {
    	var b strings.Builder
    	b.WriteString("CNINetDir: " + c.CNINetDir + "\n")
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 30 22:24:38 GMT 2024
    - 5.5K bytes
    - Viewed (0)
  8. internal/config/identity/plugin/config.go

    	AuthToken   string
    	Transport   http.RoundTripper
    	CloseRespFn func(r io.ReadCloser)
    
    	RolePolicy string
    	RoleARN    arn.ARN
    }
    
    // Validate - validate configuration params.
    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 != "" {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 13.3K bytes
    - Viewed (3)
  9. internal/config/identity/tls/config.go

    	minExpiry     time.Duration = 15 * time.Minute
    	maxExpiry     time.Duration = 365 * 24 * time.Hour
    )
    
    // GetExpiryDuration - return parsed expiry duration.
    func (l Config) GetExpiryDuration(dsecs string) (time.Duration, error) {
    	if dsecs == "" {
    		return defaultExpiry, nil
    	}
    
    	d, err := strconv.Atoi(dsecs)
    	if err != nil {
    		return 0, auth.ErrInvalidDuration
    	}
    
    	dur := time.Duration(d) * time.Second
    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)
  10. internal/config/config.go

    	}
    	return keys
    }
    
    func (kvs KVS) String() string {
    	var s strings.Builder
    	for _, kv := range kvs {
    		s.WriteString(kv.String())
    		s.WriteString(KvSpaceSeparator)
    	}
    	return s.String()
    }
    
    // Merge environment values with on disk KVS, environment values overrides
    // anything on the disk.
    func Merge(cfgKVS map[string]KVS, envname string, defaultKVS KVS) map[string]KVS {
    	newCfgKVS := make(map[string]KVS)
    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)
Back to top