mirror of
				https://github.com/k3s-io/kubernetes.git
				synced 2025-11-04 07:49:35 +00:00 
			
		
		
		
	This moves the priority types from the algorithm package to priorities package. Idea is to move the type to the packages where it is implemented. This will ease the future refactor process.
		
			
				
	
	
		
			39 lines
		
	
	
		
			1.0 KiB
		
	
	
	
		
			Python
		
	
	
	
	
	
			
		
		
	
	
			39 lines
		
	
	
		
			1.0 KiB
		
	
	
	
		
			Python
		
	
	
	
	
	
package(default_visibility = ["//visibility:public"])
 | 
						|
 | 
						|
load("@io_bazel_rules_go//go:def.bzl", "go_library")
 | 
						|
 | 
						|
go_library(
 | 
						|
    name = "go_default_library",
 | 
						|
    srcs = [
 | 
						|
        "doc.go",
 | 
						|
        "scheduler_interface.go",
 | 
						|
        "types.go",
 | 
						|
    ],
 | 
						|
    importpath = "k8s.io/kubernetes/pkg/scheduler/algorithm",
 | 
						|
    deps = [
 | 
						|
        "//pkg/scheduler/api:go_default_library",
 | 
						|
        "//pkg/scheduler/nodeinfo:go_default_library",
 | 
						|
        "//staging/src/k8s.io/api/apps/v1:go_default_library",
 | 
						|
        "//staging/src/k8s.io/api/core/v1:go_default_library",
 | 
						|
        "//staging/src/k8s.io/api/policy/v1beta1:go_default_library",
 | 
						|
        "//staging/src/k8s.io/apimachinery/pkg/labels:go_default_library",
 | 
						|
    ],
 | 
						|
)
 | 
						|
 | 
						|
filegroup(
 | 
						|
    name = "package-srcs",
 | 
						|
    srcs = glob(["**"]),
 | 
						|
    tags = ["automanaged"],
 | 
						|
    visibility = ["//visibility:private"],
 | 
						|
)
 | 
						|
 | 
						|
filegroup(
 | 
						|
    name = "all-srcs",
 | 
						|
    srcs = [
 | 
						|
        ":package-srcs",
 | 
						|
        "//pkg/scheduler/algorithm/predicates:all-srcs",
 | 
						|
        "//pkg/scheduler/algorithm/priorities:all-srcs",
 | 
						|
    ],
 | 
						|
    tags = ["automanaged"],
 | 
						|
)
 |