"Fossies" - the Fresh Open Source Software Archive

Member "kubernetes-1.17.12/cmd/genkubedocs/BUILD" (16 Sep 2020, 1396 Bytes) of package /linux/misc/kubernetes-1.17.12.tar.gz:


As a special service "Fossies" has tried to format the requested text file into HTML format (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 package(default_visibility = ["//visibility:public"])
    2 
    3 load(
    4     "//build:go.bzl",
    5     go_binary = "go_binary_conditional_pure",
    6 )
    7 load(
    8     "@io_bazel_rules_go//go:def.bzl",
    9     "go_library",
   10     "go_test",
   11 )
   12 
   13 go_binary(
   14     name = "genkubedocs",
   15     embed = [":go_default_library"],
   16 )
   17 
   18 go_library(
   19     name = "go_default_library",
   20     srcs = [
   21         "gen_kube_docs.go",
   22         "postprocessing.go",
   23     ],
   24     importpath = "k8s.io/kubernetes/cmd/genkubedocs",
   25     deps = [
   26         "//cmd/genutils:go_default_library",
   27         "//cmd/kube-apiserver/app:go_default_library",
   28         "//cmd/kube-controller-manager/app:go_default_library",
   29         "//cmd/kube-proxy/app:go_default_library",
   30         "//cmd/kube-scheduler/app:go_default_library",
   31         "//cmd/kubeadm/app/cmd:go_default_library",
   32         "//cmd/kubelet/app:go_default_library",
   33         "//vendor/github.com/spf13/cobra:go_default_library",
   34         "//vendor/github.com/spf13/cobra/doc:go_default_library",
   35         "//vendor/github.com/spf13/pflag:go_default_library",
   36     ],
   37 )
   38 
   39 filegroup(
   40     name = "package-srcs",
   41     srcs = glob(["**"]),
   42     tags = ["automanaged"],
   43     visibility = ["//visibility:private"],
   44 )
   45 
   46 filegroup(
   47     name = "all-srcs",
   48     srcs = [":package-srcs"],
   49     tags = ["automanaged"],
   50 )
   51 
   52 go_test(
   53     name = "go_default_test",
   54     srcs = ["postprocessing_test.go"],
   55     embed = [":go_default_library"],
   56 )