8e5b17cf13
Signed-off-by: Mrunal Patel <mrunalp@gmail.com>
49 lines
1.3 KiB
Text
49 lines
1.3 KiB
Text
package(default_visibility = ["//visibility:public"])
|
|
|
|
licenses(["notice"])
|
|
|
|
load(
|
|
"@io_bazel_rules_go//go:def.bzl",
|
|
"go_library",
|
|
)
|
|
|
|
go_library(
|
|
name = "go_default_library",
|
|
srcs = [
|
|
"rollout.go",
|
|
"rollout_history.go",
|
|
"rollout_pause.go",
|
|
"rollout_resume.go",
|
|
"rollout_status.go",
|
|
"rollout_undo.go",
|
|
],
|
|
tags = ["automanaged"],
|
|
deps = [
|
|
"//pkg/api:go_default_library",
|
|
"//pkg/kubectl:go_default_library",
|
|
"//pkg/kubectl/cmd/set:go_default_library",
|
|
"//pkg/kubectl/cmd/templates:go_default_library",
|
|
"//pkg/kubectl/cmd/util:go_default_library",
|
|
"//pkg/kubectl/resource:go_default_library",
|
|
"//pkg/util/interrupt:go_default_library",
|
|
"//vendor:github.com/renstrom/dedent",
|
|
"//vendor:github.com/spf13/cobra",
|
|
"//vendor:k8s.io/apimachinery/pkg/api/meta",
|
|
"//vendor:k8s.io/apimachinery/pkg/runtime",
|
|
"//vendor:k8s.io/apimachinery/pkg/util/errors",
|
|
"//vendor:k8s.io/apimachinery/pkg/watch",
|
|
],
|
|
)
|
|
|
|
filegroup(
|
|
name = "package-srcs",
|
|
srcs = glob(["**"]),
|
|
tags = ["automanaged"],
|
|
visibility = ["//visibility:private"],
|
|
)
|
|
|
|
filegroup(
|
|
name = "all-srcs",
|
|
srcs = [":package-srcs"],
|
|
tags = ["automanaged"],
|
|
)
|