Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for groupPaths (0.19 sec)

  1. cni/pkg/nodeagent/podcgroupns_test.go

    func TestGetContainerIDFromCGroups(t *testing.T) {
    	makeCGroups := func(groupPaths []string) []Cgroup {
    		var out []Cgroup
    		for _, groupPath := range groupPaths {
    			out = append(out, Cgroup{
    				GroupPath: groupPath,
    			})
    		}
    		return out
    	}
    
    	//nolint: lll
    	for _, tt := range []struct {
    		name              string
    		cgroupPaths       []string
    		expectPodUID      types.UID
    		expectContainerID string
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Apr 12 21:47:31 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/server/genericapiserver_test.go

    	}
    
    	err = s.InstallLegacyAPIGroup("/apiPrefix", &apis[0])
    	assert.NoError(err)
    	groupPaths := []string{
    		config.LegacyAPIGroupPrefixes.List()[0], // /apiPrefix
    	}
    	for _, api := range apis[1:] {
    		err = s.InstallAPIGroup(&api)
    		assert.NoError(err)
    		groupPaths = append(groupPaths, APIGroupPrefix+"/"+api.PrioritizedVersions[0].Group) // /apis/<group>
    	}
    
    	server := httptest.NewServer(s.Handler)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 29 18:59:21 UTC 2024
    - 23.2K bytes
    - Viewed (0)
  3. platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/accessors/PluginTree.kt

                        ?.put(path.last(), plugin)
                }
                return root
            }
    
            private
            fun pluginTreeForGroup(groupPath: List<String>, root: MutableMap<String, PluginTree>): MutableMap<String, PluginTree>? {
                var branch = root
                groupPath.forEachIndexed { index, segment ->
                    when (val group = branch[segment]) {
                        null -> {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 02 08:06:49 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  4. platforms/software/maven/src/main/java/org/gradle/api/publish/maven/internal/publisher/AbstractMavenPublisher.java

            private final ExternalResourceRepository repository;
            private final boolean localRepo;
            private final URI rootUri;
            private final String groupPath;
            private final String artifactId;
            private final String moduleVersion;
            private String artifactVersion;
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Mar 07 12:20:56 UTC 2024
    - 15.7K bytes
    - Viewed (0)
  5. pkg/kubelet/cm/cgroup_manager_linux.go

    func (m *cgroupManagerImpl) buildCgroupPaths(name CgroupName) map[string]string {
    	cgroupFsAdaptedName := m.Name(name)
    	cgroupPaths := make(map[string]string, len(m.subsystems.MountPoints))
    	for key, val := range m.subsystems.MountPoints {
    		cgroupPaths[key] = path.Join(val, cgroupFsAdaptedName)
    	}
    	return cgroupPaths
    }
    
    // buildCgroupUnifiedPath builds a path to the specified name.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Sep 27 13:02:15 UTC 2023
    - 26.5K bytes
    - Viewed (0)
  6. cni/pkg/nodeagent/podcgroupns.go

    		if unicode.IsPunct(r) {
    			r = '-'
    		}
    		return r
    	}, uid))
    }
    
    // Cgroup represents a linux cgroup.
    type Cgroup struct {
    	HierarchyID    string
    	ControllerList string
    	GroupPath      string
    }
    
    // GetCGroups returns a slice of cgroups for pid using fs for filesystem calls.
    //
    // The expected cgroup format is "hierarchy-ID:controller-list:cgroup-path", and
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Apr 12 21:47:31 UTC 2024
    - 11K bytes
    - Viewed (0)
  7. pkg/scheduler/apis/config/validation/validation_pluginargs.go

    		path := resPath.Index(i)
    		if errs := metav1validation.ValidateLabelName(res, path); len(errs) != 0 {
    			allErrs = append(allErrs, errs...)
    		}
    	}
    
    	groupPath := path.Child("ignoredResourceGroups")
    	for i, group := range args.IgnoredResourceGroups {
    		path := groupPath.Index(i)
    		if strings.Contains(group, "/") {
    			allErrs = append(allErrs, field.Invalid(path, group, "resource group name can't contain '/'"))
    		}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jun 05 09:29:49 UTC 2023
    - 12.9K bytes
    - Viewed (0)
Back to top