Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 6,266 for spring (0.27 sec)

  1. pkg/kube/version_test.go

    			cl := NewFakeClientWithVersion(fmt.Sprint(tt.clusterVersion))
    			if got := IsLessThanVersion(cl, tt.minorVersion); got != tt.want {
    				t.Errorf("IsLessThanVersion() = %v, want %v", got, tt.want)
    			}
    		})
    	}
    }
    
    func TestGetVersionAsInt(t *testing.T) {
    	tests := []struct {
    		name       string
    		major      string
    		minor      string
    		want       int
    		gitVersion string
    	}{
    		{
    			name:  "1.22",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 17 23:16:29 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  2. pkg/bootstrap/instance.go

    	return outputFilePath, err
    }
    
    func configFile(config string, templateFile string) string {
    	suffix := "json"
    	// Envoy will interpret the file extension to determine the type. We should detect yaml inputs
    	if strings.HasSuffix(templateFile, ".yaml.tmpl") || strings.HasSuffix(templateFile, ".yaml") {
    		suffix = "yaml"
    	}
    	return path.Join(config, fmt.Sprintf(EnvoyFileTemplate, suffix))
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Mar 28 20:38:02 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  3. src/runtime/env_posix.go

    // Update the C environment if cgo is loaded.
    func setenv_c(k string, v string) {
    	if _cgo_setenv == nil {
    		return
    	}
    	arg := [2]unsafe.Pointer{cstring(k), cstring(v)}
    	asmcgocall(_cgo_setenv, unsafe.Pointer(&arg))
    }
    
    // Update the C environment if cgo is loaded.
    func unsetenv_c(k string) {
    	if _cgo_unsetenv == nil {
    		return
    	}
    	arg := [1]unsafe.Pointer{cstring(k)}
    	asmcgocall(_cgo_unsetenv, unsafe.Pointer(&arg))
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:16:47 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  4. tools/istio-iptables/pkg/builder/iptables_builder_impl.go

    	rb.InsertRuleV4(command, chain, table, position, params...)
    	rb.InsertRuleV6(command, chain, table, position, params...)
    	return rb
    }
    
    // nolint lll
    func (rb *IptablesRuleBuilder) insertInternal(ipt *[]*Rule, command log.Command, chain string, table string, position int, params ...string) *IptablesRuleBuilder {
    	rules := params
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Jun 11 14:29:54 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  5. tests/callbacks_test.go

    		name    string
    		before  string
    		after   string
    		remove  bool
    		replace bool
    		err     string
    		match   func(*gorm.DB) bool
    		h       func(*gorm.DB)
    	}
    
    	datas := []struct {
    		callbacks []callback
    		err       string
    		results   []string
    	}{
    		{
    			callbacks: []callback{{h: c1}, {h: c2}, {h: c3}, {h: c4}, {h: c5}},
    			results:   []string{"c1", "c2", "c3", "c4", "c5"},
    		},
    		{
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Tue Mar 26 03:33:36 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  6. pkg/envoy/proxy.go

    // splitComponentLog breaks down an argument string into a log level (ie "info") and component log levels (ie "misc:error").
    // This allows using a single log level API, with the same semantics as Istio's logging, to configure Envoy which
    // has two different settings
    func splitComponentLog(level string) (string, []string) {
    	levels := strings.Split(level, ",")
    	var logLevel string
    	var componentLogs []string
    	for _, sl := range levels {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 05 10:02:56 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  7. pkg/test/framework/components/registryredirector/kube.go

    	return nil
    }
    
    func (c *kubeComponent) Address() string {
    	return c.address
    }
    
    func (c *kubeComponent) SetupTagMap(tagMap map[string]string) error {
    	client := &http.Client{
    		Timeout: 10 * time.Second,
    	}
    	body, err := json.Marshal(tagMap)
    	if err != nil {
    		return err
    	}
    
    	err = retry.UntilSuccess(func() error {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Mar 12 00:53:57 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  8. utils/utils.go

    // NestedRelationName nested relationships like `Manager__Company`
    func NestedRelationName(prefix, name string) string {
    	return prefix + nestedRelationSplit + name
    }
    
    // SplitNestedRelationName Split nested relationships to `[]string{"Manager","Company"}`
    func SplitNestedRelationName(name string) []string {
    	return strings.Split(name, nestedRelationSplit)
    }
    
    // JoinNestedRelationNames nested relationships like `Manager__Company`
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Mon Apr 22 06:43:02 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  9. src/syscall/syscall_plan9.go

    }
    
    //sys	bind(name string, old string, flag int) (err error)
    
    func Bind(name string, old string, flag int) (err error) {
    	if fixwd(name, old) {
    		defer runtime.UnlockOSThread()
    	}
    	return bind(name, old, flag)
    }
    
    //sys	mount(fd int, afd int, old string, flag int, aname string) (err error)
    
    func Mount(fd int, afd int, old string, flag int, aname string) (err error) {
    	if fixwd(old) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 21:03:59 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  10. internal/http/listener.go

    	RecvBufSize int              // SO_RECVBUF size for the socket connection, NOTE: this sets server and client connection
    	Interface   string           // This is a VRF device passed via `--interface` flag
    	Trace       func(msg string) // Trace when starting.
    }
    
    // ForWebsocket returns TCPOptions valid for websocket net.Conn
    func (t TCPOptions) ForWebsocket() TCPOptions {
    	return TCPOptions{
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed May 22 23:07:14 UTC 2024
    - 5.5K bytes
    - Viewed (0)
Back to top