Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 136 for zone2 (0.27 sec)

  1. pkg/registry/storage/csinode/strategy_test.go

    			Name: "foo",
    		},
    		Spec: storage.CSINodeSpec{
    			Drivers: []storage.CSINodeDriver{
    				{
    					Name:         "valid-driver-name",
    					NodeID:       "valid-node",
    					TopologyKeys: []string{"company.com/zone1", "company.com/zone2"},
    				},
    			},
    		},
    	}
    
    	volumeLimitsCases := []struct {
    		name     string
    		obj      *storage.CSINode
    		expected *storage.CSINode
    	}{
    		{
    			"empty allocatable",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 15 09:24:44 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  2. pkg/registry/storage/csinode/storage/storage_test.go

    		},
    		Spec: storageapi.CSINodeSpec{
    			Drivers: []storageapi.CSINodeDriver{
    				{
    					Name:         "valid-driver-name",
    					NodeID:       "valid-node",
    					TopologyKeys: []string{"company.com/zone1", "company.com/zone2"},
    				},
    			},
    		},
    	}
    }
    
    func TestCreate(t *testing.T) {
    	storage, server := newStorage(t)
    	defer server.Terminate(t)
    	defer storage.Store.DestroyFunc()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Aug 12 20:55:35 UTC 2019
    - 4.4K bytes
    - Viewed (0)
  3. pkg/scheduler/framework/plugins/interpodaffinity/plugin_test.go

    		{
    			name:         "update node topologyKey",
    			pod:          st.MakePod().Name("p").PodAffinityIn("service", "zone", []string{"securityscan", "value2"}, st.PodAffinityWithRequiredReq).Obj(),
    			oldNode:      st.MakeNode().Name("node-a").Label("zone", "zone1").Obj(),
    			newNode:      st.MakeNode().Name("node-a").Label("zone", "zone2").Obj(),
    			expectedHint: framework.Queue,
    		},
    		{
    			name:         "update node lable but not topologyKey",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Apr 12 03:08:44 UTC 2024
    - 9.7K bytes
    - Viewed (0)
  4. pkg/scheduler/internal/cache/node_tree.go

    	delete(nt.tree, zone)
    	for i, z := range nt.zones {
    		if z == zone {
    			nt.zones = append(nt.zones[:i], nt.zones[i+1:]...)
    			return
    		}
    	}
    }
    
    // updateNode updates a node in the NodeTree.
    func (nt *nodeTree) updateNode(logger klog.Logger, old, new *v1.Node) {
    	var oldZone string
    	if old != nil {
    		oldZone = utilnode.GetZoneKey(old)
    	}
    	newZone := utilnode.GetZoneKey(new)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 29 05:26:32 UTC 2023
    - 4.5K bytes
    - Viewed (0)
  5. src/time/zoneinfo_plan9.go

    			return UTC, nil
    		}
    		return nil, errBadData
    	}
    
    	var zones [2]zone
    
    	// standard timezone offset
    	o, err := atoi(f[1])
    	if err != nil {
    		return nil, errBadData
    	}
    	zones[0] = zone{name: f[0], offset: o, isDST: false}
    
    	// alternate timezone offset
    	o, err = atoi(f[3])
    	if err != nil {
    		return nil, errBadData
    	}
    	zones[1] = zone{name: f[2], offset: o, isDST: true}
    
    	// transition time pairs
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 16 23:09:19 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  6. pkg/apis/discovery/v1beta1/conversion_test.go

    					corev1.LabelTopologyZone: "zone1",
    				},
    			},
    			internal: discovery.Endpoint{
    				DeprecatedTopology: map[string]string{
    					"key1": "val1",
    				},
    				Zone: utilpointer.String("zone1"),
    			},
    		},
    		{
    			desc: "only zone in topology map",
    			external: v1beta1.Endpoint{
    				Topology: map[string]string{
    					corev1.LabelTopologyZone: "zone1",
    				},
    			},
    			internal: discovery.Endpoint{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jan 05 10:48:05 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  7. src/time/tzdata_test.go

    import (
    	"reflect"
    	"testing"
    	"time"
    	_ "time/tzdata"
    )
    
    var zones = []string{
    	"Asia/Jerusalem",
    	"America/Los_Angeles",
    }
    
    func TestEmbeddedTZData(t *testing.T) {
    	undo := time.DisablePlatformSources()
    	defer undo()
    
    	for _, zone := range zones {
    		ref, err := time.LoadLocation(zone)
    		if err != nil {
    			t.Errorf("LoadLocation(%q): %v", zone, err)
    			continue
    		}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 18 20:57:35 UTC 2022
    - 2.5K bytes
    - Viewed (0)
  8. src/time/genzabbrs.go

    	err = xml.Unmarshal(data, &sd)
    	if err != nil {
    		return nil, err
    	}
    	zs := make([]*zone, 0)
    	for _, z := range sd.Zones {
    		if z.Territory != "001" {
    			// to avoid dups. I don't know why.
    			continue
    		}
    		l, err := time.LoadLocation(z.Type)
    		if err != nil {
    			return nil, err
    		}
    		st, dt := getAbbrs(l)
    		zs = append(zs, &zone{
    			WinName:  z.Other,
    			UnixName: z.Type,
    			StTime:   st,
    			DSTime:   dt,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 3K bytes
    - Viewed (0)
  9. pkg/controller/nodelifecycle/metrics.go

    			StabilityLevel: metrics.ALPHA,
    		},
    		[]string{"zone"},
    	)
    	zoneSize = metrics.NewGaugeVec(
    		&metrics.GaugeOpts{
    			Subsystem:      nodeControllerSubsystem,
    			Name:           zoneSizeKey,
    			Help:           "Gauge measuring number of registered Nodes per zones.",
    			StabilityLevel: metrics.ALPHA,
    		},
    		[]string{"zone"},
    	)
    	unhealthyNodes = metrics.NewGaugeVec(
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Mar 13 21:55:34 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  10. src/time/zoneinfo_windows.go

    // time zone information.
    // The implementation assumes that this year's rules for daylight savings
    // time apply to all previous and future years as well.
    
    // matchZoneKey checks if stdname and dstname match the corresponding key
    // values "MUI_Std" and MUI_Dlt" or "Std" and "Dlt" in the kname key stored
    // under the open registry key zones.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 14 07:20:34 UTC 2023
    - 6.6K bytes
    - Viewed (0)
Back to top