Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 53 for Horsts (0.22 sec)

  1. internal/grid/benchmark_test.go

    					n := 0
    					var latency int64
    					managers := grid.Managers
    					hosts := grid.Hosts
    					for pb.Next() {
    						// Pick a random manager.
    						src, dst := rng.Intn(len(managers)), rng.Intn(len(managers))
    						if src == dst {
    							dst = (dst + 1) % len(managers)
    						}
    						local := managers[src]
    						conn := local.Connection(hosts[dst])
    						if conn == nil {
    							b.Fatal("No connection")
    						}
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Tue Nov 21 01:09:35 GMT 2023
    - 12.2K bytes
    - Viewed (0)
  2. cmd/grid.go

    func initGlobalGrid(ctx context.Context, eps EndpointServerPools) error {
    	hosts, local := eps.GridHosts()
    	g, err := grid.NewManager(ctx, grid.ManagerOptions{
    		Dialer:       grid.ContextDialer(xhttp.DialContextWithLookupHost(globalDNSCache.LookupHost, xhttp.NewInternodeDialContext(rest.DefaultTimeout, globalTCPOptions))),
    		Local:        local,
    		Hosts:        hosts,
    		AddAuth:      newCachedAuthToken(),
    		AuthRequest:  storageServerRequestValidate,
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Mar 26 15:00:38 GMT 2024
    - 2K bytes
    - Viewed (0)
  3. cni/pkg/plugin/plugin_test.go

    }
    
    func Test_dedupPorts(t *testing.T) {
    	type args struct {
    		ports []string
    	}
    	tests := []struct {
    		name string
    		args args
    		want []string
    	}{
    		{
    			name: "No duplicates",
    			args: args{ports: []string{"1234", "2345"}},
    			want: []string{"1234", "2345"},
    		},
    		{
    			name: "Sequential Duplicates",
    			args: args{ports: []string{"1234", "1234", "2345", "2345"}},
    			want: []string{"1234", "2345"},
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Sat Feb 10 00:31:55 GMT 2024
    - 17.5K bytes
    - Viewed (0)
  4. internal/grid/manager.go

    type ManagerOptions struct {
    	Dialer       ContextDialer               // Outgoing dialer.
    	Local        string                      // Local host name.
    	Hosts        []string                    // All hosts, including local in the grid.
    	AddAuth      AuthFn                      // Add authentication to the given audience.
    	AuthRequest  func(r *http.Request) error // Validate incoming requests.
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 9.5K bytes
    - Viewed (0)
  5. cmd/format-meta.go

    //
    // You should have received a copy of the GNU Affero General Public License
    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package cmd
    
    // Format related consts
    const (
    	// Format config file carries backend format specific details.
    	formatConfigFile = "format.json"
    )
    
    const (
    	// Version of the formatMetaV1
    	formatMetaVersionV1 = "1"
    )
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 23 18:58:53 GMT 2021
    - 1.7K bytes
    - Viewed (0)
  6. internal/grid/grid_test.go

    		if err != nil {
    			t.Fatal(err)
    		}
    	}
    	grid, err := SetupTestGrid(2)
    	errFatal(err)
    	t.Cleanup(grid.Cleanup)
    
    	local := grid.Managers[0]
    	localHost := grid.Hosts[0]
    	remote := grid.Managers[1]
    	remoteHost := grid.Hosts[1]
    
    	connLocalToRemote := local.Connection(remoteHost)
    	connRemoteLocal := remote.Connection(localHost)
    
    	t.Run("testStreamRoundtrip", func(t *testing.T) {
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Feb 08 18:15:27 GMT 2024
    - 30.1K bytes
    - Viewed (0)
  7. istioctl/pkg/util/configdump/route.go

    		}
    		name := r.Name
    		err = drc[j].RouteConfig.UnmarshalTo(r)
    		if err != nil {
    			return false
    		}
    		return name < r.Name
    	})
    
    	// In Istio 1.5, it is not enough just to sort the routes.  The virtual hosts
    	// within a route might have a different order.  Sort those too.
    	for i := range drc {
    		route := &route.RouteConfiguration{}
    		err = drc[i].RouteConfig.UnmarshalTo(route)
    		if err != nil {
    			return nil, err
    		}
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Thu Nov 03 08:41:32 GMT 2022
    - 3.2K bytes
    - Viewed (0)
  8. cni/pkg/iptables/iptables.go

    	// and our unit tests will flake if rules have a nondeterministic ordering.
    	// CLI: -t mangle -A ISTIO_PRERT -s 169.254.7.127 -p tcp -m tcp --dport <PROBEPORT> -j ACCEPT
    	//
    	// DESC: If this is one of our node-probe ports and is from our SNAT-ed/"special" hostside IP, short-circuit out here
    	iptablesBuilder.AppendRule(iptableslog.UndefinedCommand, ChainInpodPrerouting, iptablesconstants.MANGLE,
    		"-s", hostProbeSNAT.String(),
    		"-p", "tcp",
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Tue Apr 30 22:24:38 GMT 2024
    - 19.6K bytes
    - Viewed (0)
  9. internal/dsync/dsync-server_test.go

    	"sync/atomic"
    	"time"
    
    	"github.com/minio/mux"
    )
    
    const numberOfNodes = 5
    
    var (
    	ds          *Dsync
    	nodes       = make([]*httptest.Server, numberOfNodes) // list of node IP addrs or hostname with ports.
    	lockServers = make([]*lockServer, numberOfNodes)
    )
    
    func getLockArgs(r *http.Request) (args LockArgs, err error) {
    	buf, err := io.ReadAll(r.Body)
    	if err != nil {
    		return args, err
    	}
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Jan 23 16:46:37 GMT 2023
    - 8.3K bytes
    - Viewed (0)
  10. cni/pkg/nodeagent/net_test.go

    		nlDeps:               nlDeps,
    		ipsetDeps:            fakeIPSetDeps,
    	}
    }
    
    func buildConvincingPod(v6IP bool) *corev1.Pod {
    	app1 := corev1.Container{
    		Name: "app1",
    		Ports: []corev1.ContainerPort{
    			{
    				Name:          "foo-port",
    				ContainerPort: 8010,
    			},
    			{
    				Name:          "foo-2-port",
    				ContainerPort: 8020,
    			},
    		},
    		LivenessProbe: &corev1.Probe{
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Tue Apr 30 22:24:38 GMT 2024
    - 16.4K bytes
    - Viewed (0)
Back to top