- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for ParseCgroupfsToCgroupName (0.3 sec)
-
pkg/kubelet/cm/cgroup_manager_unsupported.go
return "" } func ParseSystemdToCgroupName(name string) CgroupName { return nil } func (cgroupName CgroupName) ToCgroupfs() string { return "" } func ParseCgroupfsToCgroupName(name string) CgroupName { return nil } func IsSystemdStyleName(name string) bool { return false
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Feb 24 18:21:21 UTC 2023 - 2.8K bytes - Viewed (0) -
pkg/kubelet/cm/cgroup_manager_linux_test.go
limitations under the License. */ package cm import ( "path" "reflect" "testing" ) // TestNewCgroupName tests confirms that #68416 is fixed func TestNewCgroupName(t *testing.T) { a := ParseCgroupfsToCgroupName("/a/") ab := NewCgroupName(a, "b") expectedAB := CgroupName([]string{"a", "", "b"}) if !reflect.DeepEqual(ab, expectedAB) { t.Errorf("Expected %d%+v; got %d%+v", len(expectedAB), expectedAB, len(ab), ab) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Feb 24 18:21:21 UTC 2023 - 6.1K bytes - Viewed (0)