mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-11-03 07:11:01 +00:00
Refactors the functions used in agnhost into different modules, based on their functionality, leaving only the main in the base folder. Future commits will add several functionalities to agnhost, so this change will be necessary to keep it clean.
33 lines
628 B
Python
33 lines
628 B
Python
package(default_visibility = ["//visibility:public"])
|
|
|
|
load(
|
|
"@io_bazel_rules_go//go:def.bzl",
|
|
"go_library",
|
|
)
|
|
|
|
go_library(
|
|
name = "go_default_library",
|
|
srcs = [
|
|
"common.go",
|
|
"dns.go",
|
|
"dns_windows.go",
|
|
],
|
|
importpath = "k8s.io/kubernetes/test/images/agnhost/dns",
|
|
deps = [
|
|
"//vendor/github.com/spf13/cobra:go_default_library",
|
|
],
|
|
)
|
|
|
|
filegroup(
|
|
name = "package-srcs",
|
|
srcs = glob(["**"]),
|
|
tags = ["automanaged"],
|
|
visibility = ["//visibility:private"],
|
|
)
|
|
|
|
filegroup(
|
|
name = "all-srcs",
|
|
srcs = [":package-srcs"],
|
|
tags = ["automanaged"],
|
|
)
|