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

go_library(
    name = "go_default_library",
    srcs = [
        "certificaterequests.go",
        "certificates.go",
        "certificatesigningrequests.go",
        "describe.go",
        "helper.go",
        "kubectl.go",
        "pod_start.go",
        "secret.go",
        "validate.go",
    ],
    importpath = "github.com/jetstack/cert-manager/test/e2e/framework/helper",
    tags = ["manual"],
    visibility = ["//visibility:public"],
    deps = [
        "//pkg/api/util:go_default_library",
        "//pkg/apis/certmanager/v1:go_default_library",
        "//pkg/apis/meta/v1:go_default_library",
        "//pkg/client/clientset/versioned:go_default_library",
        "//pkg/client/clientset/versioned/scheme:go_default_library",
        "//pkg/client/clientset/versioned/typed/certmanager/v1:go_default_library",
        "//pkg/controller/certificatesigningrequests/util:go_default_library",
        "//pkg/util:go_default_library",
        "//pkg/util/pki:go_default_library",
        "//test/e2e/framework/config:go_default_library",
        "//test/e2e/framework/helper/validation:go_default_library",
        "//test/e2e/framework/helper/validation/certificates:go_default_library",
        "//test/e2e/framework/helper/validation/certificatesigningrequests:go_default_library",
        "//test/e2e/framework/log:go_default_library",
        "@com_github_onsi_ginkgo//:go_default_library",
        "@io_k8s_api//certificates/v1:go_default_library",
        "@io_k8s_api//core/v1:go_default_library",
        "@io_k8s_apimachinery//pkg/api/errors:go_default_library",
        "@io_k8s_apimachinery//pkg/apis/meta/v1:go_default_library",
        "@io_k8s_apimachinery//pkg/runtime:go_default_library",
        "@io_k8s_apimachinery//pkg/runtime/serializer/json:go_default_library",
        "@io_k8s_apimachinery//pkg/util/wait:go_default_library",
        "@io_k8s_client_go//kubernetes:go_default_library",
        "@io_k8s_client_go//kubernetes/scheme:go_default_library",
    ],
)

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

filegroup(
    name = "all-srcs",
    srcs = [
        ":package-srcs",
        "//test/e2e/framework/helper/featureset:all-srcs",
        "//test/e2e/framework/helper/validation:all-srcs",
    ],
    tags = ["automanaged"],
    visibility = ["//visibility:public"],
)
