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

go_library(
    name = "rest",
    srcs = [
        "client.go",
        "config.go",
        "exec.go",
        "plugin.go",
        "request.go",
        "transport.go",
        "url_utils.go",
        "urlbackoff.go",
        "warnings.go",
        "with_retry.go",
        "zz_generated.deepcopy.go",
    ],
    importmap = "peridot.resf.org/vendor/k8s.io/client-go/rest",
    importpath = "k8s.io/client-go/rest",
    visibility = ["//visibility:public"],
    deps = [
        "//vendor/k8s.io/apimachinery/pkg/api/errors",
        "//vendor/k8s.io/apimachinery/pkg/apis/meta/v1:meta",
        "//vendor/k8s.io/apimachinery/pkg/runtime",
        "//vendor/k8s.io/apimachinery/pkg/runtime/schema",
        "//vendor/k8s.io/apimachinery/pkg/runtime/serializer/streaming",
        "//vendor/k8s.io/apimachinery/pkg/types",
        "//vendor/k8s.io/apimachinery/pkg/util/clock",
        "//vendor/k8s.io/apimachinery/pkg/util/net",
        "//vendor/k8s.io/apimachinery/pkg/util/sets",
        "//vendor/k8s.io/apimachinery/pkg/watch",
        "//vendor/k8s.io/client-go/pkg/apis/clientauthentication",
        "//vendor/k8s.io/client-go/pkg/version",
        "//vendor/k8s.io/client-go/plugin/pkg/client/auth/exec",
        "//vendor/k8s.io/client-go/rest/watch",
        "//vendor/k8s.io/client-go/tools/clientcmd/api",
        "//vendor/k8s.io/client-go/tools/metrics",
        "//vendor/k8s.io/client-go/transport",
        "//vendor/k8s.io/client-go/util/cert",
        "//vendor/k8s.io/client-go/util/flowcontrol",
        "//vendor/k8s.io/klog/v2:klog",
        "@org_golang_x_net//http2",
    ],
)