Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 34 for regexec (0.26 sec)

  1. pkg/bootstrap/instance_test.go

    		stats.suffixes = rbacEnvoyStatsMatcherInclusionSuffix
    	} else {
    		stats.suffixes += "," + rbacEnvoyStatsMatcherInclusionSuffix
    	}
    
    	if stats.regexps == "" {
    		stats.regexps = requiredEnvoyStatsMatcherInclusionRegexes
    	} else {
    		stats.regexps += "," + requiredEnvoyStatsMatcherInclusionRegexes
    	}
    
    	if err := gsm.Validate(); err != nil {
    		t.Fatalf("Generated invalid matcher: %v", err)
    	}
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 16 17:05:28 UTC 2024
    - 19.5K bytes
    - Viewed (0)
  2. pkg/kubelet/server/server.go

    		To(s.getExec).
    		Operation("getExec"))
    	ws.Route(ws.POST("/{podNamespace}/{podID}/{containerName}").
    		To(s.getExec).
    		Operation("getExec"))
    	ws.Route(ws.GET("/{podNamespace}/{podID}/{uid}/{containerName}").
    		To(s.getExec).
    		Operation("getExec"))
    	ws.Route(ws.POST("/{podNamespace}/{podID}/{uid}/{containerName}").
    		To(s.getExec).
    		Operation("getExec"))
    	s.restfulCont.Add(ws)
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 40.1K bytes
    - Viewed (0)
  3. pkg/volume/fc/fc.go

    	// Inject real implementations here, test through the internal function.
    	return plugin.newMounterInternal(spec, pod.UID, &fcUtil{}, plugin.host.GetMounter(plugin.GetPluginName()), plugin.host.GetExec(plugin.GetPluginName()))
    }
    
    func (plugin *fcPlugin) newMounterInternal(spec *volume.Spec, podUID types.UID, manager diskManager, mounter mount.Interface, exec utilexec.Interface) (volume.Mounter, error) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 06:17:25 UTC 2024
    - 17.4K bytes
    - Viewed (0)
  4. samples/addons/prometheus.yaml

          - role: endpoints
          relabel_configs:
          - action: keep
            regex: true
            source_labels:
            - __meta_kubernetes_service_annotation_prometheus_io_scrape
          - action: drop
            regex: true
            source_labels:
            - __meta_kubernetes_service_annotation_prometheus_io_scrape_slow
          - action: replace
            regex: (https?)
            source_labels:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 18:57:35 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  5. src/index/suffixarray/suffixarray_test.go

    			e := exp[i]
    			if r != e {
    				t.Errorf("test %q, lookup %q, result %d: expected index %d; got %d", tc.name, s, i, e, r)
    			}
    		}
    	}
    }
    
    func testFindAllIndex(t *testing.T, tc *testCase, x *Index, rx *regexp.Regexp, n int) {
    	res := x.FindAllIndex(rx, n)
    	exp := rx.FindAllStringIndex(tc.source, n)
    
    	// check that the lengths match
    	if len(res) != len(exp) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  6. common/config/.golangci.yml

      exclude:
        - composite literal uses unkeyed fields
      # Which dirs to exclude: issues from them won't be reported.
      # Can use regexp here: `generated.*`, regexp is applied on full path,
      # including the path prefix if one is set.
      # Default dirs are skipped independently of this option's value (see exclude-dirs-use-default).
      # "/" will be replaced by current OS file path separator to properly work on Windows.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Jun 04 20:03:06 UTC 2024
    - 11.3K bytes
    - Viewed (0)
  7. tests/preload_test.go

    package tests_test
    
    import (
    	"context"
    	"encoding/json"
    	"regexp"
    	"sort"
    	"strconv"
    	"sync"
    	"testing"
    	"time"
    
    	"gorm.io/gorm"
    	"gorm.io/gorm/clause"
    	. "gorm.io/gorm/utils/tests"
    )
    
    func TestPreloadWithAssociations(t *testing.T) {
    	user := *GetUser("preload_with_associations", Config{
    		Account:   true,
    		Pets:      2,
    		Toys:      3,
    		Company:   true,
    		Manager:   true,
    		Team:      4,
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Wed Jun 12 10:00:47 UTC 2024
    - 15.9K bytes
    - Viewed (0)
  8. docs/en/docs/tutorial/query-params-str-validations.md

        ```Python hl_lines="10"
        {!> ../../../docs_src/query_params_str_validations/tutorial003.py!}
        ```
    
    ## Add regular expressions
    
    You can define a <abbr title="A regular expression, regex or regexp is a sequence of characters that define a search pattern for strings.">regular expression</abbr> `pattern` that the parameter should match:
    
    === "Python 3.10+"
    
        ```Python hl_lines="11"
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri May 31 02:38:05 UTC 2024
    - 25.8K bytes
    - Viewed (0)
  9. pkg/volume/testing/volume_host.go

    	return func(namespace, name string) (*v1.Secret, error) {
    		return f.kubeClient.CoreV1().Secrets(namespace).Get(context.TODO(), name, metav1.GetOptions{})
    	}
    }
    
    func (f *fakeVolumeHost) GetExec(pluginName string) exec.Interface {
    	return f.exec
    }
    
    func (f *fakeVolumeHost) GetConfigMapFunc() func(namespace, name string) (*v1.ConfigMap, error) {
    	return func(namespace, name string) (*v1.ConfigMap, error) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 11 09:02:45 UTC 2024
    - 16.5K bytes
    - Viewed (0)
  10. pkg/volume/iscsi/iscsi.go

    	secret, err := createSecretMap(spec, plugin, pod.Namespace)
    	if err != nil {
    		return nil, err
    	}
    	return plugin.newMounterInternal(spec, pod.UID, &ISCSIUtil{}, plugin.host.GetMounter(plugin.GetPluginName()), plugin.host.GetExec(plugin.GetPluginName()), secret)
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 06:17:25 UTC 2024
    - 23.4K bytes
    - Viewed (0)
Back to top