load("@io_bazel_rules_go//go:def.bzl", "go_library")

go_library(
    name = "go_default_library",
    srcs = [
        "proxy.go",
        "setup.go",
        "vault.go",
    ],
    importpath = "github.com/jetstack/cert-manager/test/e2e/framework/addon/vault",
    tags = ["manual"],
    visibility = ["//visibility:public"],
    deps = [
        "//test/e2e/framework/addon/base:go_default_library",
        "//test/e2e/framework/addon/chart:go_default_library",
        "//test/e2e/framework/config:go_default_library",
        "//test/e2e/framework/log:go_default_library",
        "@com_github_hashicorp_vault_api//:go_default_library",
        "@io_k8s_api//core/v1:go_default_library",
        "@io_k8s_api//rbac/v1:go_default_library",
        "@io_k8s_apimachinery//pkg/apis/meta/v1:go_default_library",
        "@io_k8s_apimachinery//pkg/util/wait:go_default_library",
        "@io_k8s_client_go//kubernetes:go_default_library",
    ],
)

filegroup(
    name = "package-srcs",
    srcs = glob(["**"]),
    tags = ["automanaged"],
    visibility = ["//visibility:private"],
)

filegroup(
    name = "all-srcs",
    srcs = [":package-srcs"],
    tags = ["automanaged"],
    visibility = ["//visibility:public"],
)
