Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 5,638 for Dests (0.06 sec)

  1. pkg/proxy/ipvs/util/testing/fake.go

    		return fmt.Errorf("failed to add destination for service %v, service not found", key.String())
    	}
    	dests := f.Destinations[key]
    	if dests == nil {
    		dests = make([]*utilipvs.RealServer, 0)
    		f.Destinations[key] = dests
    	}
    	f.Destinations[key] = append(f.Destinations[key], dest)
    	// The tests assumes that the slice is sorted
    	sort.Sort(byAddress(f.Destinations[key]))
    	return nil
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Dec 19 01:20:51 UTC 2023
    - 7K bytes
    - Viewed (0)
  2. tools/docker-builder/builder/crane.go

    		lt = time.Now()
    	}
    	if len(b.Dests) == 0 {
    		return fmt.Errorf("dest required")
    	}
    
    	// Over localhost, compression CPU can be the bottleneck. With remotes, compressing usually saves a lot of time.
    	compression := gzip.NoCompression
    	for _, d := range b.Dests {
    		if !strings.HasPrefix(d, "localhost") {
    			compression = gzip.BestSpeed
    			break
    		}
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jul 26 01:07:39 UTC 2023
    - 9K bytes
    - Viewed (0)
  3. tests/integration/pilot/common/routing.go

    `,
    			checkForN: func(src echo.Caller, dests echo.Services, opts *echo.CallOptions) echo.Checker {
    				return check.And(
    					check.OK(),
    					func(result echo.CallResult, err error) error {
    						errorThreshold := 10
    						if len(split) != len(dests) {
    							// shouldn't happen
    							return fmt.Errorf("split configured for %d destinations, but framework gives %d", len(split), len(dests))
    						}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 08 21:52:51 UTC 2024
    - 135.9K bytes
    - Viewed (0)
  4. pilot/test/xdstest/extract.go

    	res := map[string][]string{}
    	for _, vh := range rc.GetVirtualHosts() {
    		var dests []string
    		for _, r := range vh.Routes {
    			if dc := r.GetRoute().GetCluster(); dc != "" {
    				dests = append(dests, dc)
    			}
    		}
    		sort.Strings(dests)
    		for _, d := range vh.Domains {
    			res[d] = dests
    		}
    	}
    	return res
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Dec 19 22:42:42 UTC 2023
    - 13.9K bytes
    - Viewed (0)
  5. pkg/proxy/ipvs/util/testing/fake_test.go

    			t.Errorf("Fail to delete real server of the virtual server, error: %v", err)
    		} else {
    			dests, err := fake.GetRealServers(vs)
    			if err != nil {
    				t.Errorf("Fail to get real servers of the virtual server, error: %v", err)
    			}
    			for _, dest := range dests {
    				if toRealServerKey(dest).String() == toRealServerKey(rsToDel).String() {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Dec 19 01:20:51 UTC 2023
    - 5.6K bytes
    - Viewed (0)
  6. tools/docker-builder/crane.go

    	// so we can pull them in the background
    	builds := []builder.BuildSpec{}
    	bases := sets.New[string]()
    	for _, v := range a.Variants {
    		for _, t := range a.Targets {
    			b := builder.BuildSpec{
    				Name:  t,
    				Dests: extractTags(a, t, v, hasDoubleDefault),
    			}
    			for _, arch := range a.Architectures {
    				p := a.PlanFor(arch).Find(t)
    				if p == nil {
    					continue
    				}
    				df := p.Dockerfile
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jul 26 01:07:39 UTC 2023
    - 6K bytes
    - Viewed (0)
  7. .github/workflows/tests.yml

        - name: go mod package cache
          uses: actions/cache@v4
          with:
            path: ~/go/pkg/mod
            key: ${{ runner.os }}-go-${{ matrix.go }}-${{ hashFiles('tests/go.mod') }}
    
        - name: Tests
          run: GITHUB_ACTION=true GORM_DIALECT=sqlite ./tests/tests_all.sh
    
      mysql:
        strategy:
          matrix:
            dbversion: ['mysql/mysql-server:latest', 'mysql:5.7']
            go: ['1.22', '1.21', '1.20']
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Wed Jun 12 09:24:34 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  8. tests/integration/tests.mk

    # In presubmit, this target runs a minimal set. In postsubmit, all tests are run
    .PHONY: test.integration.kube.environment
    test.integration.kube.environment: | $(JUNIT_REPORT) check-go-tag
    ifeq (${JOB_TYPE},postsubmit)
    	$(call run-test,./tests/integration/...)
    else
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 10 20:33:28 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  9. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/tests/tests.go

    package tests
    
    import (
    	_ "embed"
    	"fmt"
    	"go/ast"
    	"go/token"
    	"go/types"
    	"regexp"
    	"strings"
    	"unicode"
    	"unicode/utf8"
    
    	"golang.org/x/tools/go/analysis"
    	"golang.org/x/tools/go/analysis/passes/internal/analysisutil"
    )
    
    //go:embed doc.go
    var doc string
    
    var Analyzer = &analysis.Analyzer{
    	Name: "tests",
    	Doc:  analysisutil.MustExtractDoc(doc, "tests"),
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 02:38:00 UTC 2024
    - 14.4K bytes
    - Viewed (0)
  10. cluster/gce/windows/k8s-node-setup.psm1

      Configure-WindowsDefender
    }
    
    # Creates directories where other functions in this module will read and write
    # data.
    # Note: C:\tmp is required for running certain kubernetes tests.
    #       C:\var\log is used by kubelet to stored container logs and also
    #       hard-coded in the fluentd/stackdriver config for log collection.
    function Create-Directories {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 21:13:22 UTC 2024
    - 88.3K bytes
    - Viewed (0)
Back to top