diff --git a/.bazelrc b/.bazelrc new file mode 100644 index 00000000..00d4f83d --- /dev/null +++ b/.bazelrc @@ -0,0 +1,4 @@ +# https://github.com/bazelbuild/rules_docker/issues/842 +build --host_force_python=PY2 --stamp --workspace_status_command ./hack/print-status.sh +run --host_force_python=PY2 --stamp --workspace_status_command ./hack/print-status.sh +test --host_force_python=PY2 --sandbox_debug --test_output=errors diff --git a/.drone.yaml b/.drone.yaml new file mode 100644 index 00000000..ccb1fef2 --- /dev/null +++ b/.drone.yaml @@ -0,0 +1,37 @@ +--- +kind: pipeline +name: secreter +steps: + +- name: test + image: l.gcr.io/google/bazel:0.28.1 + commands: + - ./hack/build/test.sh + volumes: + - name: cache + path: /root/.cache + +- name: build and push docker image + image: l.gcr.io/google/bazel:0.28.1 + environment: + DOCKER_AUTH: + from_secret: docker-config-json + commands: + - ./hack/build/push-image.sh + volumes: + - name: cache + path: /root/.cache + when: + ref: + - refs/heads/master + - refs/tags/v* + +volumes: +- name: cache + temp: {} + +--- +kind: signature +hmac: 370bc5033b992f2d40a4a2da77d5cf7e867b0110a40104c1c2fd92efe76a2da8 + +... diff --git a/.gitignore b/.gitignore index 7c504700..01093def 100644 --- a/.gitignore +++ b/.gitignore @@ -75,3 +75,5 @@ tags .vscode/* .history # End of https://www.gitignore.io/api/go,vim,emacs,visualstudiocode +bazel-* +.idea/ diff --git a/BUILD.bazel b/BUILD.bazel new file mode 100644 index 00000000..cb21b4cd --- /dev/null +++ b/BUILD.bazel @@ -0,0 +1,8 @@ +load("@bazel_gazelle//:def.bzl", "gazelle") + +# gazelle:prefix github.com/amaizfinance/redis-operator +# gazelle:proto disable_global +gazelle( + name = "gazelle", + command = "fix", +) diff --git a/WORKSPACE b/WORKSPACE new file mode 100644 index 00000000..58d80115 --- /dev/null +++ b/WORKSPACE @@ -0,0 +1,54 @@ +load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") + +# fetch and load rules_go +http_archive( + name = "io_bazel_rules_go", + sha256 = "313f2c7a23fecc33023563f082f381a32b9b7254f727a7dd2d6380ccc6dfe09b", + urls = [ + "https://storage.googleapis.com/bazel-mirror/github.com/bazelbuild/rules_go/releases/download/0.19.3/rules_go-0.19.3.tar.gz", + "https://github.com/bazelbuild/rules_go/releases/download/0.19.3/rules_go-0.19.3.tar.gz", + ], +) + +load("@io_bazel_rules_go//go:deps.bzl", "go_register_toolchains", "go_rules_dependencies") + +go_rules_dependencies() + +go_register_toolchains() + +# fetch and load gazelle +http_archive( + name = "bazel_gazelle", + sha256 = "be9296bfd64882e3c08e3283c58fcb461fa6dd3c171764fcc4cf322f60615a9b", + urls = [ + "https://storage.googleapis.com/bazel-mirror/github.com/bazelbuild/bazel-gazelle/releases/download/0.18.1/bazel-gazelle-0.18.1.tar.gz", + "https://github.com/bazelbuild/bazel-gazelle/releases/download/0.18.1/bazel-gazelle-0.18.1.tar.gz", + ], +) + +load("@bazel_gazelle//:deps.bzl", "gazelle_dependencies") + +# gazelle:repository_macro go.mod.bzl%go_repositories +gazelle_dependencies() + +# fetch and load rules_docker +http_archive( + name = "io_bazel_rules_docker", + sha256 = "e513c0ac6534810eb7a14bf025a0f159726753f97f74ab7863c650d26e01d677", + strip_prefix = "rules_docker-0.9.0", + urls = ["https://github.com/bazelbuild/rules_docker/archive/v0.9.0.tar.gz"], +) + +load( + "@io_bazel_rules_docker//repositories:repositories.bzl", + container_repositories = "repositories", +) + +container_repositories() + +load( + "@io_bazel_rules_docker//go:image.bzl", + _go_image_repos = "repositories", +) + +_go_image_repos() diff --git a/cmd/manager/BUILD.bazel b/cmd/manager/BUILD.bazel new file mode 100644 index 00000000..93bbe3b0 --- /dev/null +++ b/cmd/manager/BUILD.bazel @@ -0,0 +1,54 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_library") + +go_library( + name = "go_default_library", + srcs = ["main.go"], + importpath = "github.com/amaizfinance/redis-operator/cmd/manager", + visibility = ["//visibility:private"], + deps = [ + "//pkg/apis:go_default_library", + "//pkg/controller:go_default_library", + "//vendor/github.com/operator-framework/operator-sdk/pkg/k8sutil:go_default_library", + "//vendor/github.com/operator-framework/operator-sdk/pkg/kube-metrics:go_default_library", + "//vendor/github.com/operator-framework/operator-sdk/pkg/leader:go_default_library", + "//vendor/github.com/operator-framework/operator-sdk/pkg/log/zap:go_default_library", + "//vendor/github.com/operator-framework/operator-sdk/pkg/metrics:go_default_library", + "//vendor/github.com/operator-framework/operator-sdk/pkg/restmapper:go_default_library", + "//vendor/github.com/operator-framework/operator-sdk/version:go_default_library", + "//vendor/github.com/spf13/pflag:go_default_library", + "//vendor/k8s.io/api/core/v1:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/util/intstr:go_default_library", + "//vendor/k8s.io/client-go/plugin/pkg/client/auth:go_default_library", + "//vendor/k8s.io/client-go/rest:go_default_library", + "//vendor/sigs.k8s.io/controller-runtime/pkg/client/config:go_default_library", + "//vendor/sigs.k8s.io/controller-runtime/pkg/manager:go_default_library", + "//vendor/sigs.k8s.io/controller-runtime/pkg/runtime/log:go_default_library", + "//vendor/sigs.k8s.io/controller-runtime/pkg/runtime/signals:go_default_library", + ], +) + +go_binary( + name = "manager", + embed = [":go_default_library"], + visibility = ["//visibility:public"], +) + +load("@io_bazel_rules_docker//go:image.bzl", "go_image") + +go_image( + name = "manager_image", + embed = [":go_default_library"], + pure = "on", + visibility = ["//visibility:public"], +) + +load("@io_bazel_rules_docker//container:container.bzl", "container_push") + +container_push( + name = "push_manager_image", + format = "Docker", + image = ":manager_image", + registry = "index.docker.io", + repository = "amaiz/redis-operator", + tag = "{ImageTag}", +) diff --git a/go.mod b/go.mod index e3702a7b..d5478668 100644 --- a/go.mod +++ b/go.mod @@ -5,8 +5,8 @@ go 1.12 require ( github.com/NYTimes/gziphandler v1.0.1 // indirect github.com/cenkalti/backoff v2.1.1+incompatible - github.com/go-redis/redis v6.15.2+incompatible - github.com/operator-framework/operator-sdk v0.9.1-0.20190712203509-e1d904fa80a4 + github.com/go-redis/redis v0.0.0-20190813142431-c5c4ad6a4cae + github.com/operator-framework/operator-sdk v0.10.0 github.com/spf13/cast v1.3.0 github.com/spf13/pflag v1.0.3 golang.org/x/crypto v0.0.0-20190404164418-38d8ce5564a5 @@ -32,5 +32,3 @@ replace ( sigs.k8s.io/controller-runtime => sigs.k8s.io/controller-runtime v0.1.12 sigs.k8s.io/controller-tools => sigs.k8s.io/controller-tools v0.1.11-0.20190411181648-9d55346c2bde ) - -replace github.com/operator-framework/operator-sdk => github.com/operator-framework/operator-sdk v0.9.0 diff --git a/go.mod.bzl b/go.mod.bzl new file mode 100644 index 00000000..5534d26f --- /dev/null +++ b/go.mod.bzl @@ -0,0 +1,1421 @@ +load("@bazel_gazelle//:deps.bzl", "go_repository") + +def go_repositories(): + go_repository( + name = "co_honnef_go_tools", + importpath = "honnef.co/go/tools", + sum = "h1:/8zB6iBfHCl1qAnEAWwGPNrUvapuy6CPla1VM0k8hQw=", + version = "v0.0.0-20190106161140-3f1c8253044a", + ) + go_repository( + name = "com_github_alecthomas_template", + importpath = "github.com/alecthomas/template", + sum = "h1:cAKDfWh5VpdgMhJosfJnn5/FoN2SRZ4p7fJNX58YPaU=", + version = "v0.0.0-20160405071501-a0175ee3bccc", + ) + go_repository( + name = "com_github_alecthomas_units", + importpath = "github.com/alecthomas/units", + sum = "h1:qet1QNfXsQxTZqLG4oE62mJzwPIB8+Tee4RNCL9ulrY=", + version = "v0.0.0-20151022065526-2efee857e7cf", + ) + go_repository( + name = "com_github_anmitsu_go_shlex", + importpath = "github.com/anmitsu/go-shlex", + sum = "h1:kFOfPq6dUM1hTo4JG6LR5AXSUEsOjtdm0kw0FtQtMJA=", + version = "v0.0.0-20161002113705-648efa622239", + ) + go_repository( + name = "com_github_apache_thrift", + importpath = "github.com/apache/thrift", + sum = "h1:pODnxUFNcjP9UTLZGTdeh+j16A8lJbRvD3rOtrk/7bs=", + version = "v0.12.0", + ) + go_repository( + name = "com_github_appscode_jsonpatch", + importpath = "github.com/appscode/jsonpatch", + sum = "h1:Kn3rqvbUFqSepE2OqVu0Pn1CbDw9IuMlONapol0zuwk=", + version = "v0.0.0-20190108182946-7c0e3b262f30", + ) + go_repository( + name = "com_github_armon_consul_api", + importpath = "github.com/armon/consul-api", + sum = "h1:G1bPvciwNyF7IUmKXNt9Ak3m6u9DE1rF+RmtIkBpVdA=", + version = "v0.0.0-20180202201655-eb2c6b5be1b6", + ) + go_repository( + name = "com_github_asaskevich_govalidator", + importpath = "github.com/asaskevich/govalidator", + sum = "h1:eg0MeVzsP1G42dRafH3vf+al2vQIJU0YHX+1Tw87oco=", + version = "v0.0.0-20180720115003-f9ffefc3facf", + ) + go_repository( + name = "com_github_azure_go_ansiterm", + importpath = "github.com/Azure/go-ansiterm", + sum = "h1:w+iIsaOQNcT7OZ575w+acHgRric5iCyQh+xv+KJ4HB8=", + version = "v0.0.0-20170929234023-d6e3b3328b78", + ) + go_repository( + name = "com_github_azure_go_autorest", + importpath = "github.com/Azure/go-autorest", + sum = "h1:gzma19dc9ejB75D90E5S+/wXouzpZyA+CV+/MJPSD/k=", + version = "v11.7.0+incompatible", + ) + go_repository( + name = "com_github_beorn7_perks", + importpath = "github.com/beorn7/perks", + sum = "h1:xJ4a3vCFaGF/jqvzLMYoU8P317H5OQ+Via4RmuPwCS0=", + version = "v0.0.0-20180321164747-3a771d992973", + ) + go_repository( + name = "com_github_bradfitz_go_smtpd", + importpath = "github.com/bradfitz/go-smtpd", + sum = "h1:ckJgFhFWywOx+YLEMIJsTb+NV6NexWICk5+AMSuz3ss=", + version = "v0.0.0-20170404230938-deb6d6237625", + ) + go_repository( + name = "com_github_burntsushi_toml", + importpath = "github.com/BurntSushi/toml", + sum = "h1:WXkYYl6Yr3qBf1K79EBnL4mak0OimBfB0XUf9Vl28OQ=", + version = "v0.3.1", + ) + go_repository( + name = "com_github_cenkalti_backoff", + importpath = "github.com/cenkalti/backoff", + sum = "h1:tKJnvO2kl0zmb/jA5UKAt4VoEVw1qxKWjE/Bpp46npY=", + version = "v2.1.1+incompatible", + ) + go_repository( + name = "com_github_census_instrumentation_opencensus_proto", + importpath = "github.com/census-instrumentation/opencensus-proto", + sum = "h1:LzQXZOgg4CQfE6bFvXGM30YZL1WW/M337pXml+GrcZ4=", + version = "v0.2.0", + ) + go_repository( + name = "com_github_chai2010_gettext_go", + importpath = "github.com/chai2010/gettext-go", + sum = "h1:HD4PLRzjuCVW79mQ0/pdsalOLHJ+FaEoqJLxfltpb2U=", + version = "v0.0.0-20170215093142-bf70f2a70fb1", + ) + go_repository( + name = "com_github_client9_misspell", + importpath = "github.com/client9/misspell", + sum = "h1:ta993UF76GwbvJcIo3Y68y/M3WxlpEHPWIGDkJYwzJI=", + version = "v0.3.4", + ) + go_repository( + name = "com_github_coreos_bbolt", + importpath = "github.com/coreos/bbolt", + sum = "h1:n6AiVyVRKQFNb6mJlwESEvvLoDyiTzXX7ORAUlkeBdY=", + version = "v1.3.3", + ) + go_repository( + name = "com_github_coreos_etcd", + importpath = "github.com/coreos/etcd", + sum = "h1:jFneRYjIvLMLhDLCzuTuU4rSJUjRplcJQ7pD7MnhC04=", + version = "v3.3.10+incompatible", + ) + go_repository( + name = "com_github_coreos_go_etcd", + importpath = "github.com/coreos/go-etcd", + sum = "h1:bXhRBIXoTm9BYHS3gE0TtQuyNZyeEMux2sDi4oo5YOo=", + version = "v2.0.0+incompatible", + ) + go_repository( + name = "com_github_coreos_go_semver", + importpath = "github.com/coreos/go-semver", + sum = "h1:3Jm3tLmsgAYcjC+4Up7hJrFBPr+n7rAqYeSw/SZazuY=", + version = "v0.2.0", + ) + go_repository( + name = "com_github_coreos_go_systemd", + importpath = "github.com/coreos/go-systemd", + sum = "h1:3jFq2xL4ZajGK4aZY8jz+DAF0FHjI51BXjjSwCzS1Dk=", + version = "v0.0.0-20181031085051-9002847aa142", + ) + go_repository( + name = "com_github_coreos_pkg", + importpath = "github.com/coreos/pkg", + sum = "h1:lBNOc5arjvs8E5mO2tbpBpLoyyu8B6e44T7hJy6potg=", + version = "v0.0.0-20180928190104-399ea9e2e55f", + ) + go_repository( + name = "com_github_coreos_prometheus_operator", + importpath = "github.com/coreos/prometheus-operator", + replace = "github.com/coreos/prometheus-operator", + sum = "h1:Moi4klbr1xUVaofWzlaM12mxwCL294GiLW2Qj8ku0sY=", + version = "v0.29.0", + ) + go_repository( + name = "com_github_cyphar_filepath_securejoin", + importpath = "github.com/cyphar/filepath-securejoin", + sum = "h1:jCwT2GTP+PY5nBz3c/YL5PAIbusElVrPujOBSCj8xRg=", + version = "v0.2.2", + ) + go_repository( + name = "com_github_davecgh_go_spew", + importpath = "github.com/davecgh/go-spew", + sum = "h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c=", + version = "v1.1.1", + ) + go_repository( + name = "com_github_dgrijalva_jwt_go", + importpath = "github.com/dgrijalva/jwt-go", + sum = "h1:7qlOGliEKZXTDg6OTjfoBKDXWrumCAMpl/TFQ4/5kLM=", + version = "v3.2.0+incompatible", + ) + go_repository( + name = "com_github_docker_distribution", + importpath = "github.com/docker/distribution", + sum = "h1:neUDAlf3wX6Ml4HdqTrbcOHXtfRN0TFIwt6YFL7N9RU=", + version = "v2.7.0+incompatible", + ) + go_repository( + name = "com_github_docker_docker", + importpath = "github.com/docker/docker", + sum = "h1:a9PI9K38c+lqsMzO5itpsaXd9BhUYWTC9GM7TN5Vn0U=", + version = "v0.0.0-20180612054059-a9fbbdc8dd87", + ) + go_repository( + name = "com_github_docker_spdystream", + importpath = "github.com/docker/spdystream", + sum = "h1:ZfSZ3P3BedhKGUhzj7BQlPSU4OvT6tfOKe3DVHzOA7s=", + version = "v0.0.0-20181023171402-6480d4af844c", + ) + go_repository( + name = "com_github_eapache_go_resiliency", + importpath = "github.com/eapache/go-resiliency", + sum = "h1:1NtRmCAqadE2FN4ZcN6g90TP3uk8cg9rn9eNK2197aU=", + version = "v1.1.0", + ) + go_repository( + name = "com_github_eapache_go_xerial_snappy", + importpath = "github.com/eapache/go-xerial-snappy", + sum = "h1:YEetp8/yCZMuEPMUDHG0CW/brkkEp8mzqk2+ODEitlw=", + version = "v0.0.0-20180814174437-776d5712da21", + ) + go_repository( + name = "com_github_eapache_queue", + importpath = "github.com/eapache/queue", + sum = "h1:YOEu7KNc61ntiQlcEeUIoDTJ2o8mQznoNvUhiigpIqc=", + version = "v1.1.0", + ) + go_repository( + name = "com_github_elazarl_goproxy", + importpath = "github.com/elazarl/goproxy", + sum = "h1:8GDPb0tCY8LQ+OJ3dbHb5sA6YZWXFORQYZx5sdsTlMs=", + version = "v0.0.0-20190421051319-9d40249d3c2f", + ) + go_repository( + name = "com_github_elazarl_goproxy_ext", + importpath = "github.com/elazarl/goproxy/ext", + sum = "h1:AUj1VoZUfhPhOPHULCQQDnGhRelpFWHMLhQVWDsS0v4=", + version = "v0.0.0-20190421051319-9d40249d3c2f", + ) + go_repository( + name = "com_github_emicklei_go_restful", + importpath = "github.com/emicklei/go-restful", + sum = "h1:2OwhVdhtzYUp5P5wuGsVDPagKSRd9JK72sJCHVCXh5g=", + version = "v2.9.3+incompatible", + ) + go_repository( + name = "com_github_evanphx_json_patch", + importpath = "github.com/evanphx/json-patch", + sum = "h1:K1MDoo4AZ4wU0GIU/fPmtZg7VpzLjCxu+UwBD1FvwOc=", + version = "v4.1.0+incompatible", + ) + go_repository( + name = "com_github_exponent_io_jsonpath", + importpath = "github.com/exponent-io/jsonpath", + sum = "h1:105gxyaGwCFad8crR9dcMQWvV9Hvulu6hwUh4tWPJnM=", + version = "v0.0.0-20151013193312-d6023ce2651d", + ) + go_repository( + name = "com_github_fatih_camelcase", + importpath = "github.com/fatih/camelcase", + sum = "h1:hxNvNX/xYBp0ovncs8WyWZrOrpBNub/JfaMvbURyft8=", + version = "v1.0.0", + ) + go_repository( + name = "com_github_flynn_go_shlex", + importpath = "github.com/flynn/go-shlex", + sum = "h1:BHsljHzVlRcyQhjrss6TZTdY2VfCqZPbv5k3iBFa2ZQ=", + version = "v0.0.0-20150515145356-3f9db97f8568", + ) + go_repository( + name = "com_github_fsnotify_fsnotify", + importpath = "github.com/fsnotify/fsnotify", + sum = "h1:IXs+QLmnXW2CcXuY+8Mzv/fWEsPGWxqefPtCP5CnV9I=", + version = "v1.4.7", + ) + go_repository( + name = "com_github_ghodss_yaml", + importpath = "github.com/ghodss/yaml", + sum = "h1:wQHKEahhL6wmXdzwWG11gIVCkOv05bNOh+Rxn0yngAk=", + version = "v1.0.0", + ) + go_repository( + name = "com_github_gliderlabs_ssh", + importpath = "github.com/gliderlabs/ssh", + sum = "h1:j3L6gSLQalDETeEg/Jg0mGY0/y/N6zI2xX1978P0Uqw=", + version = "v0.1.1", + ) + go_repository( + name = "com_github_globalsign_mgo", + importpath = "github.com/globalsign/mgo", + sum = "h1:D4uzjWwKYQ5XnAvUbuvHW93esHg7F8N/OYeBBcJoTr0=", + version = "v0.0.0-20180905125535-1ca0a4f7cbcb", + ) + go_repository( + name = "com_github_go_kit_kit", + importpath = "github.com/go-kit/kit", + sum = "h1:Wz+5lgoB0kkuqLEc6NVmwRknTKP6dTGbSqvhZtBI/j0=", + version = "v0.8.0", + ) + go_repository( + name = "com_github_go_logfmt_logfmt", + importpath = "github.com/go-logfmt/logfmt", + sum = "h1:8HUsc87TaSWLKwrnumgC8/YconD2fJQsRJAsWaPg2ic=", + version = "v0.3.0", + ) + go_repository( + name = "com_github_go_logr_logr", + importpath = "github.com/go-logr/logr", + sum = "h1:M1Tv3VzNlEHg6uyACnRdtrploV2P7wZqH8BoQMtz0cg=", + version = "v0.1.0", + ) + go_repository( + name = "com_github_go_logr_zapr", + importpath = "github.com/go-logr/zapr", + sum = "h1:qXBXPDdNncunGs7XeEpsJt8wCjYBygluzfdLO0G5baE=", + version = "v0.1.1", + ) + go_repository( + name = "com_github_go_openapi_analysis", + importpath = "github.com/go-openapi/analysis", + sum = "h1:8JV+dzJJiK46XqGLqqLav8ZfEiJECp8jlOFhpiCdZ+0=", + version = "v0.17.0", + ) + go_repository( + name = "com_github_go_openapi_errors", + importpath = "github.com/go-openapi/errors", + sum = "h1:g5DzIh94VpuR/dd6Ff8KqyHNnw7yBa2xSHIPPzjRDUo=", + version = "v0.17.0", + ) + go_repository( + name = "com_github_go_openapi_jsonpointer", + importpath = "github.com/go-openapi/jsonpointer", + sum = "h1:FTUMcX77w5rQkClIzDtTxvn6Bsa894CcrzNj2MMfeg8=", + version = "v0.19.0", + ) + go_repository( + name = "com_github_go_openapi_jsonreference", + importpath = "github.com/go-openapi/jsonreference", + sum = "h1:BqWKpV1dFd+AuiKlgtddwVIFQsuMpxfBDBHGfM2yNpk=", + version = "v0.19.0", + ) + go_repository( + name = "com_github_go_openapi_loads", + importpath = "github.com/go-openapi/loads", + sum = "h1:H22nMs3GDQk4SwAaFQ+jLNw+0xoFeCueawhZlv8MBYs=", + version = "v0.17.0", + ) + go_repository( + name = "com_github_go_openapi_runtime", + importpath = "github.com/go-openapi/runtime", + sum = "h1:zXd+rkzHwMIYVTJ/j/v8zUQ9j3Ir32gC5Dn9DzZVvCk=", + version = "v0.0.0-20180920151709-4f900dc2ade9", + ) + go_repository( + name = "com_github_go_openapi_spec", + importpath = "github.com/go-openapi/spec", + sum = "h1:A4SZ6IWh3lnjH0rG0Z5lkxazMGBECtrZcbyYQi+64k4=", + version = "v0.19.0", + ) + go_repository( + name = "com_github_go_openapi_strfmt", + importpath = "github.com/go-openapi/strfmt", + sum = "h1:FqqmmVCKn3di+ilU/+1m957T1CnMz3IteVUcV3aGXWA=", + version = "v0.18.0", + ) + go_repository( + name = "com_github_go_openapi_swag", + importpath = "github.com/go-openapi/swag", + sum = "h1:Kg7Wl7LkTPlmc393QZQ/5rQadPhi7pBVEMZxyTi0Ii8=", + version = "v0.19.0", + ) + go_repository( + name = "com_github_go_openapi_validate", + importpath = "github.com/go-openapi/validate", + sum = "h1:PVXYcP1GkTl+XIAJnyJxOmK6CSG5Q1UcvoCvNO++5Kg=", + version = "v0.18.0", + ) + go_repository( + name = "com_github_go_redis_redis", + importpath = "github.com/go-redis/redis", + sum = "h1:EUmwouP8B6dt84Hcd6hmi9/pJmAYA0Ju5nKvldfJLxI=", + version = "v0.0.0-20190813142431-c5c4ad6a4cae", + ) + go_repository( + name = "com_github_go_stack_stack", + importpath = "github.com/go-stack/stack", + sum = "h1:5SgMzNM5HxrEjV0ww2lTmX6E2Izsfxas4+YHWRs3Lsk=", + version = "v1.8.0", + ) + go_repository( + name = "com_github_gobuffalo_envy", + importpath = "github.com/gobuffalo/envy", + sum = "h1:OsV5vOpHYUpP7ZLS6sem1y40/lNX1BZj+ynMiRi21lQ=", + version = "v1.6.15", + ) + go_repository( + name = "com_github_gobwas_glob", + importpath = "github.com/gobwas/glob", + sum = "h1:A4xDbljILXROh+kObIiy5kIaPYD8e96x1tgBhUI5J+Y=", + version = "v0.2.3", + ) + go_repository( + name = "com_github_gogo_protobuf", + importpath = "github.com/gogo/protobuf", + sum = "h1:/s5zKNz0uPFCZ5hddgPdo2TK2TVrUNMn0OOX8/aZMTE=", + version = "v1.2.1", + ) + go_repository( + name = "com_github_golang_glog", + importpath = "github.com/golang/glog", + sum = "h1:VKtxabqXZkF25pY9ekfRL6a582T4P37/31XEstQ5p58=", + version = "v0.0.0-20160126235308-23def4e6c14b", + ) + go_repository( + name = "com_github_golang_groupcache", + importpath = "github.com/golang/groupcache", + sum = "h1:veQD95Isof8w9/WXiA+pa3tz3fJXkt5B7QaRBrM62gk=", + version = "v0.0.0-20190129154638-5b532d6fd5ef", + ) + go_repository( + name = "com_github_golang_mock", + importpath = "github.com/golang/mock", + sum = "h1:28o5sBqPkBsMGnC6b4MvE2TzSr5/AT4c/1fLqVGIwlk=", + version = "v1.2.0", + ) + go_repository( + name = "com_github_golang_protobuf", + importpath = "github.com/golang/protobuf", + sum = "h1:YF8+flBXS5eO826T4nzqPrxfhQThhXl0YzfuUPu4SBg=", + version = "v1.3.1", + ) + go_repository( + name = "com_github_golang_snappy", + importpath = "github.com/golang/snappy", + sum = "h1:woRePGFeVFfLKN/pOkfl+p/TAqKOfFu+7KPlMVpok/w=", + version = "v0.0.0-20180518054509-2e65f85255db", + ) + go_repository( + name = "com_github_google_btree", + importpath = "github.com/google/btree", + sum = "h1:0udJVsspx3VBr5FwtLhQQtuAsVc79tTq0ocGIPAU6qo=", + version = "v1.0.0", + ) + go_repository( + name = "com_github_google_go_cmp", + importpath = "github.com/google/go-cmp", + sum = "h1:+dTQ8DZQJz0Mb/HjFlkptS1FeQ4cWSnN941F8aEG4SQ=", + version = "v0.2.0", + ) + go_repository( + name = "com_github_google_go_github", + importpath = "github.com/google/go-github", + sum = "h1:N0LgJ1j65A7kfXrZnUDaYCs/Sf4rEjNlfyDHW9dolSY=", + version = "v17.0.0+incompatible", + ) + go_repository( + name = "com_github_google_go_querystring", + importpath = "github.com/google/go-querystring", + sum = "h1:Xkwi/a1rcvNg1PPYe5vI8GbeBY/jrVuDX5ASuANWTrk=", + version = "v1.0.0", + ) + go_repository( + name = "com_github_google_gofuzz", + importpath = "github.com/google/gofuzz", + sum = "h1:A8PeW59pxE9IoFRqBp37U+mSNaQoZ46F1f0f863XSXw=", + version = "v1.0.0", + ) + go_repository( + name = "com_github_google_martian", + importpath = "github.com/google/martian", + sum = "h1:/CP5g8u/VJHijgedC/Legn3BAbAaWPgecwXBIDzw5no=", + version = "v2.1.0+incompatible", + ) + go_repository( + name = "com_github_google_pprof", + importpath = "github.com/google/pprof", + sum = "h1:eqyIo2HjKhKe/mJzTG8n4VqvLXIOEG+SLdDqX7xGtkY=", + version = "v0.0.0-20181206194817-3ea8567a2e57", + ) + go_repository( + name = "com_github_google_uuid", + importpath = "github.com/google/uuid", + sum = "h1:Gkbcsh/GbpXz7lPftLA3P6TYMwjCLYm83jiFQZF/3gY=", + version = "v1.1.1", + ) + go_repository( + name = "com_github_googleapis_gax_go", + importpath = "github.com/googleapis/gax-go", + sum = "h1:j0GKcs05QVmm7yesiZq2+9cxHkNK9YM6zKx4D2qucQU=", + version = "v2.0.0+incompatible", + ) + go_repository( + name = "com_github_googleapis_gax_go_v2", + importpath = "github.com/googleapis/gax-go/v2", + sum = "h1:hU4mGcQI4DaAYW+IbTun+2qEZVFxK0ySjQLTbS0VQKc=", + version = "v2.0.4", + ) + go_repository( + name = "com_github_googleapis_gnostic", + importpath = "github.com/googleapis/gnostic", + sum = "h1:l6N3VoaVzTncYYW+9yOz2LJJammFZGBO13sqgEhpy9g=", + version = "v0.2.0", + ) + go_repository( + name = "com_github_gophercloud_gophercloud", + importpath = "github.com/gophercloud/gophercloud", + sum = "h1:3dfUujjROkkXcwIpsh9z6bjOhPFooLpxejc7qgX13/g=", + version = "v0.0.0-20190408160324-6c7ac67f8855", + ) + go_repository( + name = "com_github_gorilla_context", + importpath = "github.com/gorilla/context", + sum = "h1:AWwleXJkX/nhcU9bZSnZoi3h/qGYqQAGhq6zZe/aQW8=", + version = "v1.1.1", + ) + go_repository( + name = "com_github_gorilla_mux", + importpath = "github.com/gorilla/mux", + sum = "h1:Pgr17XVTNXAk3q/r4CpKzC5xBM/qW1uVLV+IhRZpIIk=", + version = "v1.6.2", + ) + go_repository( + name = "com_github_gorilla_websocket", + importpath = "github.com/gorilla/websocket", + sum = "h1:WDFjx/TMzVgy9VdMMQi2K2Emtwi2QcUQsztZ/zLaH/Q=", + version = "v1.4.0", + ) + go_repository( + name = "com_github_gotestyourself_gotestyourself", + importpath = "github.com/gotestyourself/gotestyourself", + sum = "h1:AQwinXlbQR2HvPjQZOmDhRqsv5mZf+Jb1RnSLxcqZcI=", + version = "v2.2.0+incompatible", + ) + go_repository( + name = "com_github_gregjones_httpcache", + importpath = "github.com/gregjones/httpcache", + sum = "h1:ShTPMJQes6tubcjzGMODIVG5hlrCeImaBnZzKF2N8SM=", + version = "v0.0.0-20181110185634-c63ab54fda8f", + ) + go_repository( + name = "com_github_grpc_ecosystem_go_grpc_middleware", + importpath = "github.com/grpc-ecosystem/go-grpc-middleware", + sum = "h1:Iju5GlWwrvL6UBg4zJJt3btmonfrMlCDdsejg4CZE7c=", + version = "v1.0.0", + ) + go_repository( + name = "com_github_grpc_ecosystem_go_grpc_prometheus", + importpath = "github.com/grpc-ecosystem/go-grpc-prometheus", + sum = "h1:Ovs26xHkKqVztRpIrF/92BcuyuQ/YW4NSIpoGtfXNho=", + version = "v1.2.0", + ) + go_repository( + name = "com_github_grpc_ecosystem_grpc_gateway", + importpath = "github.com/grpc-ecosystem/grpc-gateway", + sum = "h1:2+KSC78XiO6Qy0hIjfc1OD9H+hsaJdJlb8Kqsd41CTE=", + version = "v1.8.5", + ) + go_repository( + name = "com_github_grpc_ecosystem_grpc_health_probe", + importpath = "github.com/grpc-ecosystem/grpc-health-probe", + sum = "h1:Os9pdioxm25j+92QbQNW7sOClH9Px9Jo9W9nhLTA5EU=", + version = "v0.2.0", + ) + go_repository( + name = "com_github_hashicorp_golang_lru", + importpath = "github.com/hashicorp/golang-lru", + sum = "h1:0hERBMJE1eitiLkihrMvRVBYAkpHzc/J3QdDN+dAcgU=", + version = "v0.5.1", + ) + go_repository( + name = "com_github_hashicorp_hcl", + importpath = "github.com/hashicorp/hcl", + sum = "h1:0Anlzjpi4vEasTeNFn2mLJgTSwt0+6sfsiTG8qcWGx4=", + version = "v1.0.0", + ) + go_repository( + name = "com_github_hpcloud_tail", + importpath = "github.com/hpcloud/tail", + sum = "h1:nfCOvKYfkgYP8hkirhJocXT2+zOD8yUNjXaWfTlyFKI=", + version = "v1.0.0", + ) + go_repository( + name = "com_github_huandu_xstrings", + importpath = "github.com/huandu/xstrings", + sum = "h1:yPeWdRnmynF7p+lLYz0H2tthW9lqhMJrQV/U7yy4wX0=", + version = "v1.2.0", + ) + go_repository( + name = "com_github_iancoleman_strcase", + importpath = "github.com/iancoleman/strcase", + sum = "h1:ux/56T2xqZO/3cP1I2F86qpeoYPCOzk+KF/UH/Ar+lk=", + version = "v0.0.0-20180726023541-3605ed457bf7", + ) + go_repository( + name = "com_github_imdario_mergo", + importpath = "github.com/imdario/mergo", + sum = "h1:Y+UAYTZ7gDEuOfhxKWy+dvb5dRQ6rJjFSdX2HZY1/gI=", + version = "v0.3.7", + ) + go_repository( + name = "com_github_inconshreveable_mousetrap", + importpath = "github.com/inconshreveable/mousetrap", + sum = "h1:Z8tu5sraLXCXIcARxBp/8cbvlwVa7Z1NHg9XEKhtSvM=", + version = "v1.0.0", + ) + go_repository( + name = "com_github_jellevandenhooff_dkim", + importpath = "github.com/jellevandenhooff/dkim", + sum = "h1:ujPKutqRlJtcfWk6toYVYagwra7HQHbXOaS171b4Tg8=", + version = "v0.0.0-20150330215556-f50fe3d243e1", + ) + go_repository( + name = "com_github_joho_godotenv", + importpath = "github.com/joho/godotenv", + sum = "h1:Zjp+RcGpHhGlrMbJzXTrZZPrWj+1vfm90La1wgB6Bhc=", + version = "v1.3.0", + ) + go_repository( + name = "com_github_jonboulle_clockwork", + importpath = "github.com/jonboulle/clockwork", + sum = "h1:VKV+ZcuP6l3yW9doeqz6ziZGgcynBVQO+obU0+0hcPo=", + version = "v0.1.0", + ) + go_repository( + name = "com_github_json_iterator_go", + importpath = "github.com/json-iterator/go", + sum = "h1:MrUvLMLTMxbqFJ9kzlvat/rYZqZnW3u4wkLzWTaFwKs=", + version = "v1.1.6", + ) + go_repository( + name = "com_github_jstemmer_go_junit_report", + importpath = "github.com/jstemmer/go-junit-report", + sum = "h1:rBMNdlhTLzJjJSDIjNEXX1Pz3Hmwmz91v+zycvx9PJc=", + version = "v0.0.0-20190106144839-af01ea7f8024", + ) + go_repository( + name = "com_github_julienschmidt_httprouter", + importpath = "github.com/julienschmidt/httprouter", + sum = "h1:TDTW5Yz1mjftljbcKqRcrYhd4XeOoI98t+9HbQbYf7g=", + version = "v1.2.0", + ) + go_repository( + name = "com_github_kisielk_errcheck", + importpath = "github.com/kisielk/errcheck", + sum = "h1:ZqfnKyx9KGpRcW04j5nnPDgRgoXUeLh2YFBeFzphcA0=", + version = "v1.1.0", + ) + go_repository( + name = "com_github_kisielk_gotool", + importpath = "github.com/kisielk/gotool", + sum = "h1:AV2c/EiW3KqPNT9ZKl07ehoAGi4C5/01Cfbblndcapg=", + version = "v1.0.0", + ) + go_repository( + name = "com_github_konsorten_go_windows_terminal_sequences", + importpath = "github.com/konsorten/go-windows-terminal-sequences", + sum = "h1:DB17ag19krx9CFsz4o3enTrPXyIXCl+2iCXH/aMAp9s=", + version = "v1.0.2", + ) + go_repository( + name = "com_github_kr_logfmt", + importpath = "github.com/kr/logfmt", + sum = "h1:T+h1c/A9Gawja4Y9mFVWj2vyii2bbUNDw3kt9VxK2EY=", + version = "v0.0.0-20140226030751-b84e30acd515", + ) + go_repository( + name = "com_github_kr_pretty", + importpath = "github.com/kr/pretty", + sum = "h1:L/CwN0zerZDmRFUapSPitk6f+Q3+0za1rQkzVuMiMFI=", + version = "v0.1.0", + ) + go_repository( + name = "com_github_kr_pty", + importpath = "github.com/kr/pty", + sum = "h1:5Myjjh3JY/NaAi4IsUbHADytDyl1VE1Y9PXDlL+P/VQ=", + version = "v1.1.4", + ) + go_repository( + name = "com_github_kr_text", + importpath = "github.com/kr/text", + sum = "h1:45sCR5RtlFHMR4UwH9sdQ5TC8v0qDQCHnXt+kaKSTVE=", + version = "v0.1.0", + ) + go_repository( + name = "com_github_magiconair_properties", + importpath = "github.com/magiconair/properties", + sum = "h1:LLgXmsheXeRoUOBOjtwPQCWIYqM/LU1ayDtDePerRcY=", + version = "v1.8.0", + ) + go_repository( + name = "com_github_mailru_easyjson", + importpath = "github.com/mailru/easyjson", + sum = "h1:wL11wNW7dhKIcRCHSm4sHKPWz0tt4mwBsVodG7+Xyqg=", + version = "v0.0.0-20190403194419-1ea4449da983", + ) + go_repository( + name = "com_github_makenowjust_heredoc", + importpath = "github.com/MakeNowJust/heredoc", + sum = "h1:eb0Pzkt15Bm7f2FFYv7sjY7NPFi3cPkS3tv1CcrFBWA=", + version = "v0.0.0-20171113091838-e9091a26100e", + ) + go_repository( + name = "com_github_markbates_inflect", + importpath = "github.com/markbates/inflect", + sum = "h1:5fh1gzTFhfae06u3hzHYO9xe3l3v3nW5Pwt3naLTP5g=", + version = "v1.0.4", + ) + go_repository( + name = "com_github_martinlindhe_base36", + importpath = "github.com/martinlindhe/base36", + sum = "h1:p63hV5GaWH3hLNf2h1/PgWQFy0JnkyHpm4vsnQESR1k=", + version = "v0.0.0-20180729042928-5cda0030da17", + ) + go_repository( + name = "com_github_masterminds_goutils", + importpath = "github.com/Masterminds/goutils", + sum = "h1:zukEsf/1JZwCMgHiK3GZftabmxiCw4apj3a28RPBiVg=", + version = "v1.1.0", + ) + go_repository( + name = "com_github_masterminds_semver", + importpath = "github.com/Masterminds/semver", + sum = "h1:WBLTQ37jOCzSLtXNdoo8bNM8876KhNqOKvrlGITgsTc=", + version = "v1.4.2", + ) + go_repository( + name = "com_github_masterminds_sprig", + importpath = "github.com/Masterminds/sprig", + sum = "h1:lGvI8+dm9Y/Qr6BfsbmjAz3iC3iq9+vUQLSKCDROE6s=", + version = "v0.0.0-20190301161902-9f8fceff796f", + ) + go_repository( + name = "com_github_mattbaird_jsonpatch", + importpath = "github.com/mattbaird/jsonpatch", + sum = "h1:+J2gw7Bw77w/fbK7wnNJJDKmw1IbWft2Ul5BzrG1Qm8=", + version = "v0.0.0-20171005235357-81af80346b1a", + ) + go_repository( + name = "com_github_mattn_go_sqlite3", + importpath = "github.com/mattn/go-sqlite3", + sum = "h1:jbhqpg7tQe4SupckyijYiy0mJJ/pRyHvXf7JdWK860o=", + version = "v1.10.0", + ) + go_repository( + name = "com_github_matttproud_golang_protobuf_extensions", + importpath = "github.com/matttproud/golang_protobuf_extensions", + sum = "h1:4hp9jkHxhMHkqkrB3Ix0jegS5sx/RkqARlsWZ6pIwiU=", + version = "v1.0.1", + ) + go_repository( + name = "com_github_maxbrunsfeld_counterfeiter", + importpath = "github.com/maxbrunsfeld/counterfeiter", + sum = "h1:fJasMUaV/LYZvzK4bUOj13rNXc4fhVzU0Vu1OlcGUd4=", + version = "v0.0.0-20181017030959-1aadac120687", + ) + go_repository( + name = "com_github_mitchellh_go_homedir", + importpath = "github.com/mitchellh/go-homedir", + sum = "h1:lukF9ziXFxDFPkA1vsr5zpc1XuPDn/wFntq5mG+4E0Y=", + version = "v1.1.0", + ) + go_repository( + name = "com_github_mitchellh_go_wordwrap", + importpath = "github.com/mitchellh/go-wordwrap", + sum = "h1:6GlHJ/LTGMrIJbwgdqdl2eEH8o+Exx/0m8ir9Gns0u4=", + version = "v1.0.0", + ) + go_repository( + name = "com_github_mitchellh_mapstructure", + importpath = "github.com/mitchellh/mapstructure", + sum = "h1:fmNYVwqnSfB9mZU6OS2O6GsXM+wcskZDuKQzvN1EDeE=", + version = "v1.1.2", + ) + go_repository( + name = "com_github_modern_go_concurrent", + importpath = "github.com/modern-go/concurrent", + sum = "h1:TRLaZ9cD/w8PVh93nsPXa1VrQ6jlwL5oN8l14QlcNfg=", + version = "v0.0.0-20180306012644-bacd9c7ef1dd", + ) + go_repository( + name = "com_github_modern_go_reflect2", + importpath = "github.com/modern-go/reflect2", + sum = "h1:9f412s+6RmYXLWZSEzVVgPGK7C2PphHj5RJrvfx9AWI=", + version = "v1.0.1", + ) + go_repository( + name = "com_github_munnerz_goautoneg", + importpath = "github.com/munnerz/goautoneg", + sum = "h1:7PxY7LVfSZm7PEeBTyK1rj1gABdCO2mbri6GKO1cMDs=", + version = "v0.0.0-20120707110453-a547fc61f48d", + ) + go_repository( + name = "com_github_mwitkow_go_conntrack", + importpath = "github.com/mwitkow/go-conntrack", + sum = "h1:F9x/1yl3T2AeKLr2AMdilSD8+f9bvMnNN8VS5iDtovc=", + version = "v0.0.0-20161129095857-cc309e4a2223", + ) + go_repository( + name = "com_github_mxk_go_flowrate", + importpath = "github.com/mxk/go-flowrate", + sum = "h1:y5//uYreIhSUg3J1GEMiLbxo1LJaP8RfCpH6pymGZus=", + version = "v0.0.0-20140419014527-cca7078d478f", + ) + go_repository( + name = "com_github_nytimes_gziphandler", + importpath = "github.com/NYTimes/gziphandler", + sum = "h1:iLrQrdwjDd52kHDA5op2UBJFjmOb9g+7scBan4RN8F0=", + version = "v1.0.1", + ) + go_repository( + name = "com_github_onsi_ginkgo", + importpath = "github.com/onsi/ginkgo", + sum = "h1:VkHVNpR4iVnU8XQR6DBm8BqYjN7CRzw+xKUbVVbbW9w=", + version = "v1.8.0", + ) + go_repository( + name = "com_github_onsi_gomega", + importpath = "github.com/onsi/gomega", + sum = "h1:izbySO9zDPmjJ8rDjLvkA2zJHIo+HkYXHnf7eN7SSyo=", + version = "v1.5.0", + ) + go_repository( + name = "com_github_opencontainers_go_digest", + importpath = "github.com/opencontainers/go-digest", + sum = "h1:WzifXhOVOEOuFYOJAW6aQqW0TooG2iki3E3Ii+WN7gQ=", + version = "v1.0.0-rc1", + ) + go_repository( + name = "com_github_openshift_origin", + importpath = "github.com/openshift/origin", + sum = "h1:KLVRXtjLhZHVtrcdnuefaI2Bf182EEiTfEVDHokoyng=", + version = "v0.0.0-20160503220234-8f127d736703", + ) + go_repository( + name = "com_github_openzipkin_zipkin_go", + importpath = "github.com/openzipkin/zipkin-go", + sum = "h1:yXiysv1CSK7Q5yjGy1710zZGnsbMUIjluWBxtLXHPBo=", + version = "v0.1.6", + ) + go_repository( + name = "com_github_operator_framework_operator_lifecycle_manager", + importpath = "github.com/operator-framework/operator-lifecycle-manager", + sum = "h1:GS9s+8twPgqDRePzALZMEy5uzc8Ip5+F98oOHxlviGw=", + version = "v0.0.0-20190128024246-5eb7ae5bdb7a", + ) + go_repository( + name = "com_github_operator_framework_operator_registry", + importpath = "github.com/operator-framework/operator-registry", + sum = "h1:/xOuw0AFrnV/zjZQeEGtX/xH/ZoLOrNZqWaYU5bRQwM=", + version = "v1.0.4", + ) + go_repository( + name = "com_github_operator_framework_operator_sdk", + importpath = "github.com/operator-framework/operator-sdk", + sum = "h1:k2yovBNxaya06yIkJ1e6lNsqiWjhS32G+d2LUdjuu/E=", + version = "v0.10.0", + ) + go_repository( + name = "com_github_pborman_uuid", + importpath = "github.com/pborman/uuid", + sum = "h1:J7Q5mO4ysT1dv8hyrUGHb9+ooztCXu1D8MY8DZYsu3g=", + version = "v1.2.0", + ) + go_repository( + name = "com_github_pelletier_go_toml", + importpath = "github.com/pelletier/go-toml", + sum = "h1:e5+lF2E4Y2WCIxBefVowBuB0iHrUH4HZ8q+6mGF7fJc=", + version = "v1.3.0", + ) + go_repository( + name = "com_github_peterbourgon_diskv", + importpath = "github.com/peterbourgon/diskv", + sum = "h1:UBdAOUP5p4RWqPBg048CAvpKN+vxiaj6gdUUzhl4XmI=", + version = "v2.0.1+incompatible", + ) + go_repository( + name = "com_github_pierrec_lz4", + importpath = "github.com/pierrec/lz4", + sum = "h1:2xWsjqPFWcplujydGg4WmhC/6fZqK42wMM8aXeqhl0I=", + version = "v2.0.5+incompatible", + ) + go_repository( + name = "com_github_pkg_errors", + importpath = "github.com/pkg/errors", + sum = "h1:iURUrRGxPUNPdy5/HRSm+Yj6okJ6UtLINN0Q9M4+h3I=", + version = "v0.8.1", + ) + go_repository( + name = "com_github_pmezard_go_difflib", + importpath = "github.com/pmezard/go-difflib", + sum = "h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM=", + version = "v1.0.0", + ) + go_repository( + name = "com_github_prometheus_client_golang", + importpath = "github.com/prometheus/client_golang", + sum = "h1:D+CiwcpGTW6pL6bv6KI3KbyEyCKyS+1JWS2h8PNDnGA=", + version = "v0.9.3-0.20190127221311-3c4408c8b829", + ) + go_repository( + name = "com_github_prometheus_client_model", + importpath = "github.com/prometheus/client_model", + sum = "h1:S/YWwWx/RA8rT8tKFRuGUZhuA90OyIBpPCXkcbwU8DE=", + version = "v0.0.0-20190129233127-fd36f4220a90", + ) + go_repository( + name = "com_github_prometheus_common", + importpath = "github.com/prometheus/common", + sum = "h1:kUZDBDTdBVBYBj5Tmh2NZLlF60mfjA27rM34b+cVwNU=", + version = "v0.2.0", + ) + go_repository( + name = "com_github_prometheus_procfs", + importpath = "github.com/prometheus/procfs", + sum = "h1:0aNv3xC7DmQoy1/x1sMh18g+fihWW68LL13i8ao9kl4=", + version = "v0.0.0-20190403104016-ea9eea638872", + ) + go_repository( + name = "com_github_puerkitobio_purell", + importpath = "github.com/PuerkitoBio/purell", + sum = "h1:WEQqlqaGbrPkxLJWfBwQmfEAE1Z7ONdDLqrN38tNFfI=", + version = "v1.1.1", + ) + go_repository( + name = "com_github_puerkitobio_urlesc", + importpath = "github.com/PuerkitoBio/urlesc", + sum = "h1:d+Bc7a5rLufV/sSk/8dngufqelfh6jnri85riMAaF/M=", + version = "v0.0.0-20170810143723-de5bf2ad4578", + ) + go_repository( + name = "com_github_rcrowley_go_metrics", + importpath = "github.com/rcrowley/go-metrics", + sum = "h1:9ZKAASQSHhDYGoxY8uLVpewe1GDZ2vu2Tr/vTdVAkFQ=", + version = "v0.0.0-20181016184325-3113b8401b8a", + ) + go_repository( + name = "com_github_robfig_cron", + importpath = "github.com/robfig/cron", + sum = "h1:NZInwlJPD/G44mJDgBEMFvBfbv/QQKCrpo+az/QXn8c=", + version = "v0.0.0-20170526150127-736158dc09e1", + ) + go_repository( + name = "com_github_rogpeppe_fastuuid", + importpath = "github.com/rogpeppe/fastuuid", + sum = "h1:gu+uRPtBe88sKxUCEXRoeCvVG90TJmwhiqRpvdhQFng=", + version = "v0.0.0-20150106093220-6724a57986af", + ) + go_repository( + name = "com_github_rogpeppe_go_charset", + importpath = "github.com/rogpeppe/go-charset", + sum = "h1:BN/Nyn2nWMoqGRA7G7paDNDqTXE30mXGqzzybrfo05w=", + version = "v0.0.0-20180617210344-2471d30d28b4", + ) + go_repository( + name = "com_github_rogpeppe_go_internal", + importpath = "github.com/rogpeppe/go-internal", + sum = "h1:RR9dF3JtopPvtkroDZuVD7qquD0bnHlKSqaQhgwt8yk=", + version = "v1.3.0", + ) + go_repository( + name = "com_github_russross_blackfriday", + importpath = "github.com/russross/blackfriday", + sum = "h1:+6eORf9Bt4C3Wjt91epyu6wvLW+P6+AEODb6uKgO+4g=", + version = "v0.0.0-20151117072312-300106c228d5", + ) + go_repository( + name = "com_github_sclevine_spec", + importpath = "github.com/sclevine/spec", + sum = "h1:ILQ08A/CHCz8GGqivOvI54Hy1U40wwcpkf7WtB1MQfY=", + version = "v1.0.0", + ) + go_repository( + name = "com_github_sergi_go_diff", + importpath = "github.com/sergi/go-diff", + sum = "h1:Kpca3qRNrduNnOQeazBd0ysaKrUJiIuISHxogkT9RPQ=", + version = "v1.0.0", + ) + go_repository( + name = "com_github_shopify_sarama", + importpath = "github.com/Shopify/sarama", + sum = "h1:9oksLxC6uxVPHPVYUmq6xhr1BOF/hHobWH2UzO67z1s=", + version = "v1.19.0", + ) + go_repository( + name = "com_github_shopify_toxiproxy", + importpath = "github.com/Shopify/toxiproxy", + sum = "h1:TKdv8HiTLgE5wdJuEML90aBgNWsokNbMijUGhmcoBJc=", + version = "v2.1.4+incompatible", + ) + go_repository( + name = "com_github_shurcool_sanitized_anchor_name", + importpath = "github.com/shurcooL/sanitized_anchor_name", + sum = "h1:PdmoCO6wvbs+7yrJyMORt4/BmY5IYyJwS/kOiWx8mHo=", + version = "v1.0.0", + ) + go_repository( + name = "com_github_sirupsen_logrus", + importpath = "github.com/sirupsen/logrus", + sum = "h1:GL2rEmy6nsikmW0r8opw9JIRScdMF5hA8cOYLH7In1k=", + version = "v1.4.1", + ) + go_repository( + name = "com_github_soheilhy_cmux", + importpath = "github.com/soheilhy/cmux", + sum = "h1:0HKaf1o97UwFjHH9o5XsHUOF+tqmdA7KEzXLpiyaw0E=", + version = "v0.1.4", + ) + go_repository( + name = "com_github_spf13_afero", + importpath = "github.com/spf13/afero", + sum = "h1:5jhuqJyZCZf2JRofRvN/nIFgIWNzPa3/Vz8mYylgbWc=", + version = "v1.2.2", + ) + go_repository( + name = "com_github_spf13_cast", + importpath = "github.com/spf13/cast", + sum = "h1:oget//CVOEoFewqQxwr0Ej5yjygnqGkvggSE/gB35Q8=", + version = "v1.3.0", + ) + go_repository( + name = "com_github_spf13_cobra", + importpath = "github.com/spf13/cobra", + sum = "h1:ZlrZ4XsMRm04Fr5pSFxBgfND2EBVa1nLpiy1stUsX/8=", + version = "v0.0.3", + ) + go_repository( + name = "com_github_spf13_jwalterweatherman", + importpath = "github.com/spf13/jwalterweatherman", + sum = "h1:ue6voC5bR5F8YxI5S67j9i582FU4Qvo2bmqnqMYADFk=", + version = "v1.1.0", + ) + go_repository( + name = "com_github_spf13_pflag", + importpath = "github.com/spf13/pflag", + sum = "h1:zPAT6CGy6wXeQ7NtTnaTerfKOsV6V6F8agHXFiazDkg=", + version = "v1.0.3", + ) + go_repository( + name = "com_github_spf13_viper", + importpath = "github.com/spf13/viper", + sum = "h1:VUFqw5KcqRf7i70GOzW7N+Q7+gxVBkSSqiXB12+JQ4M=", + version = "v1.3.2", + ) + go_repository( + name = "com_github_stretchr_objx", + importpath = "github.com/stretchr/objx", + sum = "h1:2vfRuCMp5sSVIDSqO8oNnWJq7mPa6KVP3iPIwFBuy8A=", + version = "v0.1.1", + ) + go_repository( + name = "com_github_stretchr_testify", + importpath = "github.com/stretchr/testify", + sum = "h1:TivCn/peBQ7UY8ooIcPgZFpTNSz0Q2U6UrFlUfqbe0Q=", + version = "v1.3.0", + ) + go_repository( + name = "com_github_tarm_serial", + importpath = "github.com/tarm/serial", + sum = "h1:UyzmZLoiDWMRywV4DUYb9Fbt8uiOSooupjTq10vpvnU=", + version = "v0.0.0-20180830185346-98f6abe2eb07", + ) + go_repository( + name = "com_github_technosophos_moniker", + importpath = "github.com/technosophos/moniker", + sum = "h1:DNVk+NIkGS0RbLkjQOLCJb/759yfCysThkMbl7EXxyY=", + version = "v0.0.0-20180509230615-a5dbd03a2245", + ) + go_repository( + name = "com_github_tmc_grpc_websocket_proxy", + importpath = "github.com/tmc/grpc-websocket-proxy", + sum = "h1:LnC5Kc/wtumK+WB441p7ynQJzVuNRJiqddSIE3IlSEQ=", + version = "v0.0.0-20190109142713-0ad062ec5ee5", + ) + go_repository( + name = "com_github_ugorji_go_codec", + importpath = "github.com/ugorji/go/codec", + sum = "h1:3SVOIvH7Ae1KRYyQWRjXWJEA9sS/c/pjvH++55Gr648=", + version = "v0.0.0-20181204163529-d75b2dcb6bc8", + ) + go_repository( + name = "com_github_xiang90_probing", + importpath = "github.com/xiang90/probing", + sum = "h1:eY9dn8+vbi4tKz5Qo6v2eYzo7kUS51QINcR5jNpbZS8=", + version = "v0.0.0-20190116061207-43a291ad63a2", + ) + go_repository( + name = "com_github_xlab_handysort", + importpath = "github.com/xlab/handysort", + sum = "h1:j2hhcujLRHAg872RWAV5yaUrEjHEObwDv3aImCaNLek=", + version = "v0.0.0-20150421192137-fb3537ed64a1", + ) + go_repository( + name = "com_github_xordataexchange_crypt", + importpath = "github.com/xordataexchange/crypt", + sum = "h1:ESFSdwYZvkeru3RtdrYueztKhOBCSAAzS4Gf+k0tEow=", + version = "v0.0.3-0.20170626215501-b2862e3d0a77", + ) + go_repository( + name = "com_google_cloud_go", + importpath = "cloud.google.com/go", + sum = "h1:4y4L7BdHenTfZL0HervofNTHh9Ad6mNX72cQvl+5eH0=", + version = "v0.37.2", + ) + go_repository( + name = "in_gopkg_alecthomas_kingpin_v2", + importpath = "gopkg.in/alecthomas/kingpin.v2", + sum = "h1:jMFz6MfLP0/4fUyZle81rXUoxOBFi19VUFKVDOQfozc=", + version = "v2.2.6", + ) + go_repository( + name = "in_gopkg_check_v1", + importpath = "gopkg.in/check.v1", + sum = "h1:qIbj1fsPNlZgppZ+VLlY7N33q108Sa+fhmuc+sWQYwY=", + version = "v1.0.0-20180628173108-788fd7840127", + ) + go_repository( + name = "in_gopkg_errgo_v2", + importpath = "gopkg.in/errgo.v2", + sum = "h1:0vLT13EuvQ0hNvakwLuFZ/jYrLp5F3kcWHXdRggjCE8=", + version = "v2.1.0", + ) + go_repository( + name = "in_gopkg_fsnotify_v1", + importpath = "gopkg.in/fsnotify.v1", + sum = "h1:xOHLXZwVvI9hhs+cLKq5+I5onOuwQLhQwiu63xxlHs4=", + version = "v1.4.7", + ) + go_repository( + name = "in_gopkg_inf_v0", + importpath = "gopkg.in/inf.v0", + sum = "h1:73M5CoZyi3ZLMOyDlQh031Cx6N9NDJ2Vvfl76EDAgDc=", + version = "v0.9.1", + ) + go_repository( + name = "in_gopkg_natefinch_lumberjack_v2", + importpath = "gopkg.in/natefinch/lumberjack.v2", + sum = "h1:1Lc07Kr7qY4U2YPouBjpCLxpiyxIVoxqXgkXLknAOE8=", + version = "v2.0.0", + ) + go_repository( + name = "in_gopkg_resty_v1", + importpath = "gopkg.in/resty.v1", + sum = "h1:CuXP0Pjfw9rOuY6EP+UvtNvt5DSqHpIxILZKT/quCZI=", + version = "v1.12.0", + ) + go_repository( + name = "in_gopkg_square_go_jose_v2", + importpath = "gopkg.in/square/go-jose.v2", + sum = "h1:nLzhkFyl5bkblqYBoiWJUt5JkWOzmiaBtCxdJAqJd3U=", + version = "v2.3.0", + ) + go_repository( + name = "in_gopkg_tomb_v1", + importpath = "gopkg.in/tomb.v1", + sum = "h1:uRGJdciOHaEIrze2W8Q3AKkepLTh2hOroT7a+7czfdQ=", + version = "v1.0.0-20141024135613-dd632973f1e7", + ) + go_repository( + name = "in_gopkg_yaml_v2", + importpath = "gopkg.in/yaml.v2", + sum = "h1:ZCJp+EgiOT7lHqUV2J862kp8Qj64Jo6az82+3Td9dZw=", + version = "v2.2.2", + ) + go_repository( + name = "io_etcd_go_bbolt", + importpath = "go.etcd.io/bbolt", + sum = "h1:MUGmc65QhB3pIlaQ5bB4LwqSj6GIonVJXpZiaKNyaKk=", + version = "v1.3.3", + ) + go_repository( + name = "io_k8s_api", + importpath = "k8s.io/api", + replace = "k8s.io/api", + sum = "h1:MzQGt8qWQCR+39kbYRd0uQqsvSidpYqJLFeWiJ9l4OE=", + version = "v0.0.0-20190222213804-5cb15d344471", + ) + go_repository( + name = "io_k8s_apiextensions_apiserver", + importpath = "k8s.io/apiextensions-apiserver", + replace = "k8s.io/apiextensions-apiserver", + sum = "h1:JfFtjaElBIgYKCWEtYQkcNrTpW+lMO4GJy8NP6SVQmM=", + version = "v0.0.0-20190228180357-d002e88f6236", + ) + go_repository( + name = "io_k8s_apimachinery", + importpath = "k8s.io/apimachinery", + replace = "k8s.io/apimachinery", + sum = "h1:UYfHH+KEF88OTg+GojQUwFTNxbxwmoktLwutUzR0GPg=", + version = "v0.0.0-20190221213512-86fb29eff628", + ) + go_repository( + name = "io_k8s_apiserver", + importpath = "k8s.io/apiserver", + sum = "h1:NyOpnIh+7SLvC05NGCIXF9c4KhnkTZQE2SxF+m9otww=", + version = "v0.0.0-20181213151703-3ccfe8365421", + ) + go_repository( + name = "io_k8s_cli_runtime", + importpath = "k8s.io/cli-runtime", + sum = "h1:VCcOQ34dGCCgCCJIXgYGeqvr+X3qaMdfC+EYCsQoTTU=", + version = "v0.0.0-20181213153952-835b10687cb6", + ) + go_repository( + name = "io_k8s_client_go", + importpath = "k8s.io/client-go", + replace = "k8s.io/client-go", + sum = "h1:aE8wOCKuoRs2aU0OP/Rz8SXiAB0FTTku3VtGhhrkSmc=", + version = "v0.0.0-20190228174230-b40b2a5939e4", + ) + go_repository( + name = "io_k8s_code_generator", + importpath = "k8s.io/code-generator", + sum = "h1:f/Aa24HPnPEDWia884BCF94E1b29KYjOTVTHcBzvT2Q=", + version = "v0.0.0-20181203235156-f8cba74510f3", + ) + go_repository( + name = "io_k8s_gengo", + importpath = "k8s.io/gengo", + sum = "h1:QoHVuRquf80YZ+/bovwxoMO3Q/A3nt3yTgS0/0nejuk=", + version = "v0.0.0-20190327210449-e17681d19d3a", + ) + go_repository( + name = "io_k8s_helm", + importpath = "k8s.io/helm", + sum = "h1:qt0LBsHQ7uxCtS3F2r3XI0DNm8ml0xQeSJixUorDyn0=", + version = "v2.13.1+incompatible", + ) + go_repository( + name = "io_k8s_klog", + importpath = "k8s.io/klog", + sum = "h1:RVgyDHY/kFKtLqh67NvEWIgkMneNoIrdkN0CxDSQc68=", + version = "v0.3.1", + ) + go_repository( + name = "io_k8s_kube_aggregator", + importpath = "k8s.io/kube-aggregator", + sum = "h1:9vj0ZQXIH9i/wWkQBa3sexI49ViwcChQR6X6dC87bIk=", + version = "v0.0.0-20181213152105-1e8cd453c474", + ) + go_repository( + name = "io_k8s_kube_openapi", + importpath = "k8s.io/kube-openapi", + sum = "h1:5sW+fEHvlJI3Ngolx30CmubFulwH28DhKjGf70Xmtco=", + version = "v0.0.0-20190603182131-db7b694dc208", + ) + go_repository( + name = "io_k8s_kube_state_metrics", + importpath = "k8s.io/kube-state-metrics", + replace = "k8s.io/kube-state-metrics", + sum = "h1:6wkxiTPTZ4j+LoMWuT+rZ+OlUWswktzXs5yHmggmAZ0=", + version = "v1.6.0", + ) + go_repository( + name = "io_k8s_kubernetes", + importpath = "k8s.io/kubernetes", + sum = "h1:CzIOMOEjH+sQw35LY1Gl0jwthkyOojzaq2HIeYZYOrM=", + version = "v1.11.8-beta.0.0.20190124204751-3a10094374f2", + ) + go_repository( + name = "io_k8s_sigs_controller_runtime", + importpath = "sigs.k8s.io/controller-runtime", + replace = "sigs.k8s.io/controller-runtime", + sum = "h1:ovDq28E64PeY1yR+6H7DthakIC09soiDCrKvfP2tPYo=", + version = "v0.1.12", + ) + go_repository( + name = "io_k8s_sigs_controller_tools", + importpath = "sigs.k8s.io/controller-tools", + replace = "sigs.k8s.io/controller-tools", + sum = "h1:ZkaHf5rNYzIB6CB82keKMQNv7xxkqT0ylOBdfJPfi+k=", + version = "v0.1.11-0.20190411181648-9d55346c2bde", + ) + go_repository( + name = "io_k8s_sigs_structured_merge_diff", + importpath = "sigs.k8s.io/structured-merge-diff", + sum = "h1:4Z09Hglb792X0kfOBBJUPFEyvVfQWrYT/l8h5EKA6JQ=", + version = "v0.0.0-20190525122527-15d366b2352e", + ) + go_repository( + name = "io_k8s_sigs_testing_frameworks", + importpath = "sigs.k8s.io/testing_frameworks", + sum = "h1:cP2l8fkA3O9vekpy5Ks8mmA0NW/F7yBdXf8brkWhVrs=", + version = "v0.1.1", + ) + go_repository( + name = "io_k8s_sigs_yaml", + importpath = "sigs.k8s.io/yaml", + sum = "h1:4A07+ZFc2wgJwo8YNlQpr1rVlgUDlxXHhPJciaPY5gs=", + version = "v1.1.0", + ) + go_repository( + name = "io_k8s_utils", + importpath = "k8s.io/utils", + sum = "h1:8r+l4bNWjRlsFYlQJnKJ2p7s1YQPj4XyXiJVqDHRx7c=", + version = "v0.0.0-20190308190857-21c4ce38f2a7", + ) + go_repository( + name = "io_opencensus_go", + importpath = "go.opencensus.io", + sum = "h1:L/ARO58pdktB6dLmYI0zAyW1XnavEmGziFd0MKfxnck=", + version = "v0.20.0", + ) + go_repository( + name = "io_opencensus_go_contrib_exporter_ocagent", + importpath = "contrib.go.opencensus.io/exporter/ocagent", + sum = "h1:Zwy9skaqR2igcEfSVYDuAsbpa33N0RPtnYTHEe2whPI=", + version = "v0.4.11", + ) + go_repository( + name = "ml_vbom_util", + importpath = "vbom.ml/util", + sum = "h1:O69FD9pJA4WUZlEwYatBEEkRWKQ5cKodWpdKTrCS/iQ=", + version = "v0.0.0-20180919145318-efcd4e0f9787", + ) + go_repository( + name = "org_go4", + importpath = "go4.org", + sum = "h1:+hE86LblG4AyDgwMCLTE6FOlM9+qjHSYS+rKqxUVdsM=", + version = "v0.0.0-20180809161055-417644f6feb5", + ) + go_repository( + name = "org_go4_grpc", + importpath = "grpc.go4.org", + sum = "h1:tmXTu+dfa+d9Evp8NpJdgOy6+rt8/x4yG7qPBrtNfLY=", + version = "v0.0.0-20170609214715-11d0a25b4919", + ) + go_repository( + name = "org_golang_google_api", + importpath = "google.golang.org/api", + sum = "h1:UIJY20OEo3+tK5MBlcdx37kmdH6EnRjGkW78mc6+EeA=", + version = "v0.3.0", + ) + go_repository( + name = "org_golang_google_appengine", + importpath = "google.golang.org/appengine", + sum = "h1:KxkO13IPW4Lslp2bz+KHP2E3gtFlrIGNThxkZQ3g+4c=", + version = "v1.5.0", + ) + go_repository( + name = "org_golang_google_genproto", + importpath = "google.golang.org/genproto", + sum = "h1:xtNn7qFlagY2mQNFHMSRPjT2RkOV4OXM7P5TVy9xATo=", + version = "v0.0.0-20190404172233-64821d5d2107", + ) + go_repository( + name = "org_golang_google_grpc", + importpath = "google.golang.org/grpc", + sum = "h1:TrBcJ1yqAl1G++wO39nD/qtgpsW9/1+QGrluyMGEYgM=", + version = "v1.19.1", + ) + go_repository( + name = "org_golang_x_build", + importpath = "golang.org/x/build", + sum = "h1:9vRy8wdKITrvvXLEOnNC9FHAGhmzy3OwvKfscMgJ4vo=", + version = "v0.0.0-20190314133821-5284462c4bec", + ) + go_repository( + name = "org_golang_x_crypto", + importpath = "golang.org/x/crypto", + sum = "h1:bselrhR0Or1vomJZC8ZIjWtbDmn9OYFLX5Ik9alpJpE=", + version = "v0.0.0-20190404164418-38d8ce5564a5", + ) + go_repository( + name = "org_golang_x_exp", + importpath = "golang.org/x/exp", + sum = "h1:c2HOrn5iMezYjSlGPncknSEr/8x5LELb/ilJbXi9DEA=", + version = "v0.0.0-20190121172915-509febef88a4", + ) + go_repository( + name = "org_golang_x_lint", + importpath = "golang.org/x/lint", + sum = "h1:hX65Cu3JDlGH3uEdK7I99Ii+9kjD6mvnnpfLdEAH0x4=", + version = "v0.0.0-20190301231843-5614ed5bae6f", + ) + go_repository( + name = "org_golang_x_net", + importpath = "golang.org/x/net", + sum = "h1:0GoQqolDA55aaLxZyTzK/Y2ePZzZTUrRacwib7cNsYQ=", + version = "v0.0.0-20190404232315-eb5bcb51f2a3", + ) + go_repository( + name = "org_golang_x_oauth2", + importpath = "golang.org/x/oauth2", + sum = "h1:tImsplftrFpALCYumobsd0K86vlAs/eXGFms2txfJfA=", + version = "v0.0.0-20190402181905-9f3314589c9a", + ) + go_repository( + name = "org_golang_x_perf", + importpath = "golang.org/x/perf", + sum = "h1:xYq6+9AtI+xP3M4r0N1hCkHrInHDBohhquRgx9Kk6gI=", + version = "v0.0.0-20180704124530-6e6d33e29852", + ) + go_repository( + name = "org_golang_x_sync", + importpath = "golang.org/x/sync", + sum = "h1:bjcUS9ztw9kFmmIxJInhon/0Is3p+EHBKNgquIzo1OI=", + version = "v0.0.0-20190227155943-e225da77a7e6", + ) + go_repository( + name = "org_golang_x_sys", + importpath = "golang.org/x/sys", + sum = "h1:1Fzlr8kkDLQwqMP8GxrhptBLqZG/EDpiATneiZHY998=", + version = "v0.0.0-20190405154228-4b34438f7a67", + ) + go_repository( + name = "org_golang_x_text", + importpath = "golang.org/x/text", + sum = "h1:z99zHgr7hKfrUcX/KsoJk5FJfjTceCKIp96+biqP4To=", + version = "v0.3.1-0.20180807135948-17ff2d5776d2", + ) + go_repository( + name = "org_golang_x_time", + importpath = "golang.org/x/time", + sum = "h1:SvFZT6jyqRaOeXpc5h/JSfZenJ2O330aBsf7JfSUXmQ=", + version = "v0.0.0-20190308202827-9d24e82272b4", + ) + go_repository( + name = "org_golang_x_tools", + importpath = "golang.org/x/tools", + sum = "h1:0USRhKWpISljvJE8egltEaoJb+VD0IUA4eOH6W1yss8=", + version = "v0.0.0-20190408170212-12dd9f86f350", + ) + go_repository( + name = "org_uber_go_atomic", + importpath = "go.uber.org/atomic", + sum = "h1:2Oa65PReHzfn29GpvgsYwloV9AVFHPDk8tYxt2c2tr4=", + version = "v1.3.2", + ) + go_repository( + name = "org_uber_go_multierr", + importpath = "go.uber.org/multierr", + sum = "h1:HoEmRHQPVSqub6w2z2d2EOVs2fjyFRGyofhKuyDq0QI=", + version = "v1.1.0", + ) + go_repository( + name = "org_uber_go_zap", + importpath = "go.uber.org/zap", + sum = "h1:XCJQEf3W6eZaVwhRBof6ImoYGJSITeKWsyeh3HFu/5o=", + version = "v1.9.1", + ) + go_repository( + name = "tools_gotest", + importpath = "gotest.tools", + sum = "h1:VsBPFP1AI068pPrMxtb/S8Zkgf9xEmTLJjfM+P5UIEo=", + version = "v2.2.0+incompatible", + ) diff --git a/go.sum b/go.sum index 27d334e1..66bb0be0 100644 --- a/go.sum +++ b/go.sum @@ -130,8 +130,8 @@ github.com/go-openapi/swag v0.19.0 h1:Kg7Wl7LkTPlmc393QZQ/5rQadPhi7pBVEMZxyTi0Ii github.com/go-openapi/swag v0.19.0/go.mod h1:AByQ+nYG6gQg71GINrmuDXCPWdL640yX49/kXLo40Tg= github.com/go-openapi/validate v0.17.2/go.mod h1:Uh4HdOzKt19xGIGm1qHf/ofbX1YQ4Y+MYsct2VUrAJ4= github.com/go-openapi/validate v0.18.0/go.mod h1:Uh4HdOzKt19xGIGm1qHf/ofbX1YQ4Y+MYsct2VUrAJ4= -github.com/go-redis/redis v6.15.2+incompatible h1:9SpNVG76gr6InJGxoZ6IuuxaCOQwDAhzyXg+Bs+0Sb4= -github.com/go-redis/redis v6.15.2+incompatible/go.mod h1:NAIEuMOZ/fxfXJIrKDQDz8wamY7mA7PouImQ2Jvg6kA= +github.com/go-redis/redis v0.0.0-20190813142431-c5c4ad6a4cae h1:EUmwouP8B6dt84Hcd6hmi9/pJmAYA0Ju5nKvldfJLxI= +github.com/go-redis/redis v0.0.0-20190813142431-c5c4ad6a4cae/go.mod h1:nuQKdm6S7SnV28NJEN2ZNbKpddAM1O76Z2LMJcIxJVM= github.com/go-stack/stack v1.8.0/go.mod h1:v0f6uXyyMGvRgIKkXu+yp6POWl0qKG85gN/melR3HDY= github.com/gobuffalo/envy v1.6.5/go.mod h1:N+GkhhZ/93bGZc6ZKhJLP6+m+tCNPKwgSpH9kaifseQ= github.com/gobuffalo/envy v1.6.15 h1:OsV5vOpHYUpP7ZLS6sem1y40/lNX1BZj+ynMiRi21lQ= @@ -263,12 +263,14 @@ github.com/mwitkow/go-conntrack v0.0.0-20161129095857-cc309e4a2223/go.mod h1:qRW github.com/mxk/go-flowrate v0.0.0-20140419014527-cca7078d478f/go.mod h1:ZdcZmHo+o7JKHSa8/e818NopupXU1YMK5fe1lsApnBw= github.com/onsi/ginkgo v0.0.0-20170829012221-11459a886d9c/go.mod h1:lLunBs/Ym6LB5Z9jYTR76FiuTmxDTDusOGeTQH+WWjE= github.com/onsi/ginkgo v1.6.0/go.mod h1:lLunBs/Ym6LB5Z9jYTR76FiuTmxDTDusOGeTQH+WWjE= -github.com/onsi/ginkgo v1.7.0 h1:WSHQ+IS43OoUrWtD1/bbclrwK8TTH5hzp+umCiuxHgs= github.com/onsi/ginkgo v1.7.0/go.mod h1:lLunBs/Ym6LB5Z9jYTR76FiuTmxDTDusOGeTQH+WWjE= +github.com/onsi/ginkgo v1.8.0 h1:VkHVNpR4iVnU8XQR6DBm8BqYjN7CRzw+xKUbVVbbW9w= +github.com/onsi/ginkgo v1.8.0/go.mod h1:lLunBs/Ym6LB5Z9jYTR76FiuTmxDTDusOGeTQH+WWjE= github.com/onsi/gomega v0.0.0-20170829124025-dcabb60a477c/go.mod h1:C1qb7wdrVGGVU+Z6iS04AVkA3Q65CEZX59MT0QO5uiA= github.com/onsi/gomega v1.4.2-0.20180831124310-ae19f1b56d53/go.mod h1:C1qb7wdrVGGVU+Z6iS04AVkA3Q65CEZX59MT0QO5uiA= -github.com/onsi/gomega v1.4.3 h1:RE1xgDvH7imwFD45h+u2SgIfERHlS2yNG4DObb5BSKU= github.com/onsi/gomega v1.4.3/go.mod h1:ex+gbHU/CVuBBDIJjb2X0qEXbFg53c61hWP/1CpauHY= +github.com/onsi/gomega v1.5.0 h1:izbySO9zDPmjJ8rDjLvkA2zJHIo+HkYXHnf7eN7SSyo= +github.com/onsi/gomega v1.5.0/go.mod h1:ex+gbHU/CVuBBDIJjb2X0qEXbFg53c61hWP/1CpauHY= github.com/opencontainers/go-digest v1.0.0-rc1/go.mod h1:cMLVZDEM3+U2I4VmLI6N8jQYUd2OVphdqWwCJHrFt2s= github.com/openshift/origin v0.0.0-20160503220234-8f127d736703/go.mod h1:0Rox5r9C8aQn6j1oAOQ0c1uC86mYbUFObzjBRvUKHII= github.com/openzipkin/zipkin-go v0.1.1/go.mod h1:NtoC/o8u3JlF1lSlyPNswIbeQH9bJTmOf0Erfk+hxe8= @@ -279,8 +281,8 @@ github.com/operator-framework/operator-lifecycle-manager v0.0.0-20190105193533-8 github.com/operator-framework/operator-lifecycle-manager v0.0.0-20190128024246-5eb7ae5bdb7a/go.mod h1:vq6TTFvg6ti1Bn6ACsZneZTmjTsURgDD6tQtVDbEgsU= github.com/operator-framework/operator-registry v1.0.1/go.mod h1:1xEdZjjUg2hPEd52LG3YQ0jtwiwEGdm98S1TH5P4RAA= github.com/operator-framework/operator-registry v1.0.4/go.mod h1:hve6YwcjM2nGVlscLtNsp9sIIBkNZo6jlJgzWw7vP9s= -github.com/operator-framework/operator-sdk v0.9.0 h1:moY3n5vsg4OpD3FzHvqI68Fv+gJFQ1GaDKMHm2NRpF8= -github.com/operator-framework/operator-sdk v0.9.0/go.mod h1:7eW7ldXmvenehIMVdO2zCdERf/828Mrftq4u7GS0I68= +github.com/operator-framework/operator-sdk v0.10.0 h1:k2yovBNxaya06yIkJ1e6lNsqiWjhS32G+d2LUdjuu/E= +github.com/operator-framework/operator-sdk v0.10.0/go.mod h1:7eW7ldXmvenehIMVdO2zCdERf/828Mrftq4u7GS0I68= github.com/pborman/uuid v1.2.0 h1:J7Q5mO4ysT1dv8hyrUGHb9+ooztCXu1D8MY8DZYsu3g= github.com/pborman/uuid v1.2.0/go.mod h1:X/NO0urCmaxf9VXbdlT7C2Yzkj2IKimNn4k+gtPdI/k= github.com/pelletier/go-toml v1.2.0/go.mod h1:5z9KED0ma1S8pY6P1sdut58dfprrGBbd/94hg7ilaic= diff --git a/hack/build/push-image.sh b/hack/build/push-image.sh new file mode 100755 index 00000000..b074eb20 --- /dev/null +++ b/hack/build/push-image.sh @@ -0,0 +1,11 @@ +#!/usr/bin/env bash +# build and push operator image +set -o errexit +set -o nounset +set -o pipefail + +DOCKER_CONFIG=/tmp +export DOCKER_CONFIG +echo "${DOCKER_AUTH}" >"${DOCKER_CONFIG}/config.json" + +bazel run --platforms=@io_bazel_rules_go//go/toolchain:linux_amd64 //cmd/manager:push_manager_image diff --git a/hack/build/test.sh b/hack/build/test.sh new file mode 100755 index 00000000..add1411d --- /dev/null +++ b/hack/build/test.sh @@ -0,0 +1,9 @@ +#!/usr/bin/env bash +# run tests and build all +set -o errexit +set -o nounset +set -o pipefail +set -x + +bazel test --features=race //... +bazel build //... diff --git a/hack/print-status.sh b/hack/print-status.sh new file mode 100755 index 00000000..b0cfc359 --- /dev/null +++ b/hack/print-status.sh @@ -0,0 +1,15 @@ +#!/usr/bin/env bash +# Build time variable to embed. Should be passed as --workspace_status_command for bazel +# Refs: +# - https://github.com/bazelbuild/rules_go/blob/master/go/core.rst#defines-and-stamping +# - https://docs.drone.io/reference/environ/ +set -o errexit +set -o nounset +set -o pipefail + +cat <go.mod.bzl +true >go.sum + +# verify and vendor all dependencies +go mod verify +go mod tidy -v +go mod vendor + +# remove all files that were fetched with previous commands in order to avoid conflicts with proto rules +find vendor -iname BUILD.bazel -delete + +# update repositories +bazel run //:gazelle -- update-repos -from_file=go.mod -to_macro=go.mod.bzl%go_repositories + +# beautify bazel files +find . -type f -iname BUILD.bazel -o -name WORKSPACE | while IFS='' read -r buildfile; do + buildifier "${buildfile}" +done + +# create and update build files +bazel run //:gazelle diff --git a/pkg/apis/BUILD.bazel b/pkg/apis/BUILD.bazel new file mode 100644 index 00000000..cffe57ce --- /dev/null +++ b/pkg/apis/BUILD.bazel @@ -0,0 +1,15 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = [ + "addtoscheme_k8s_v1alpha1.go", + "apis.go", + ], + importpath = "github.com/amaizfinance/redis-operator/pkg/apis", + visibility = ["//visibility:public"], + deps = [ + "//pkg/apis/k8s/v1alpha1:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/runtime:go_default_library", + ], +) diff --git a/pkg/apis/k8s/BUILD.bazel b/pkg/apis/k8s/BUILD.bazel new file mode 100644 index 00000000..765b159c --- /dev/null +++ b/pkg/apis/k8s/BUILD.bazel @@ -0,0 +1,8 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = ["group.go"], + importpath = "github.com/amaizfinance/redis-operator/pkg/apis/k8s", + visibility = ["//visibility:public"], +) diff --git a/pkg/apis/k8s/v1alpha1/BUILD.bazel b/pkg/apis/k8s/v1alpha1/BUILD.bazel new file mode 100644 index 00000000..b23962a8 --- /dev/null +++ b/pkg/apis/k8s/v1alpha1/BUILD.bazel @@ -0,0 +1,23 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = [ + "doc.go", + "redis_types.go", + "register.go", + "zz_generated.deepcopy.go", + "zz_generated.openapi.go", + ], + importpath = "github.com/amaizfinance/redis-operator/pkg/apis/k8s/v1alpha1", + visibility = ["//visibility:public"], + deps = [ + "//vendor/github.com/go-openapi/spec:go_default_library", + "//vendor/k8s.io/api/core/v1:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/apis/meta/v1:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/runtime:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/runtime/schema:go_default_library", + "//vendor/k8s.io/kube-openapi/pkg/common:go_default_library", + "//vendor/sigs.k8s.io/controller-runtime/pkg/runtime/scheme:go_default_library", + ], +) diff --git a/pkg/controller/BUILD.bazel b/pkg/controller/BUILD.bazel new file mode 100644 index 00000000..5fc64b98 --- /dev/null +++ b/pkg/controller/BUILD.bazel @@ -0,0 +1,15 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = [ + "add_redis.go", + "controller.go", + ], + importpath = "github.com/amaizfinance/redis-operator/pkg/controller", + visibility = ["//visibility:public"], + deps = [ + "//pkg/controller/redis:go_default_library", + "//vendor/sigs.k8s.io/controller-runtime/pkg/manager:go_default_library", + ], +) diff --git a/pkg/controller/redis/BUILD.bazel b/pkg/controller/redis/BUILD.bazel new file mode 100644 index 00000000..aacae828 --- /dev/null +++ b/pkg/controller/redis/BUILD.bazel @@ -0,0 +1,44 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") + +go_library( + name = "go_default_library", + srcs = [ + "deepcontains.go", + "object_generator.go", + "redis_controller.go", + ], + importpath = "github.com/amaizfinance/redis-operator/pkg/controller/redis", + visibility = ["//visibility:public"], + deps = [ + "//pkg/apis/k8s/v1alpha1:go_default_library", + "//pkg/redis:go_default_library", + "//vendor/github.com/cenkalti/backoff:go_default_library", + "//vendor/golang.org/x/crypto/argon2:go_default_library", + "//vendor/k8s.io/api/apps/v1:go_default_library", + "//vendor/k8s.io/api/core/v1:go_default_library", + "//vendor/k8s.io/api/policy/v1beta1:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/api/errors:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/apis/meta/v1:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/labels:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/runtime:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/types:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/util/intstr:go_default_library", + "//vendor/sigs.k8s.io/controller-runtime/pkg/client:go_default_library", + "//vendor/sigs.k8s.io/controller-runtime/pkg/controller:go_default_library", + "//vendor/sigs.k8s.io/controller-runtime/pkg/controller/controllerutil:go_default_library", + "//vendor/sigs.k8s.io/controller-runtime/pkg/handler:go_default_library", + "//vendor/sigs.k8s.io/controller-runtime/pkg/manager:go_default_library", + "//vendor/sigs.k8s.io/controller-runtime/pkg/reconcile:go_default_library", + "//vendor/sigs.k8s.io/controller-runtime/pkg/runtime/log:go_default_library", + "//vendor/sigs.k8s.io/controller-runtime/pkg/source:go_default_library", + ], +) + +go_test( + name = "go_default_test", + srcs = [ + "deepcontains_test.go", + "object_generator_test.go", + ], + embed = [":go_default_library"], +) diff --git a/pkg/controller/redis/deepcontains_test.go b/pkg/controller/redis/deepcontains_test.go index d9874c4e..f6725df3 100644 --- a/pkg/controller/redis/deepcontains_test.go +++ b/pkg/controller/redis/deepcontains_test.go @@ -23,11 +23,11 @@ import ( func Test_deepContains(t *testing.T) { // test types type basicStruct struct { - Tstring string Tbool bool + Tfloat32 float32 Tint int Tuint uint - Tfloat32 float32 + Tstring string unexported int } diff --git a/pkg/redis/BUILD.bazel b/pkg/redis/BUILD.bazel new file mode 100644 index 00000000..18894f47 --- /dev/null +++ b/pkg/redis/BUILD.bazel @@ -0,0 +1,20 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") + +go_library( + name = "go_default_library", + srcs = ["redis.go"], + importpath = "github.com/amaizfinance/redis-operator/pkg/redis", + visibility = ["//visibility:public"], + deps = [ + "//vendor/github.com/cenkalti/backoff:go_default_library", + "//vendor/github.com/go-redis/redis:go_default_library", + "//vendor/github.com/spf13/cast:go_default_library", + ], +) + +go_test( + name = "go_default_test", + srcs = ["redis_test.go"], + embed = [":go_default_library"], + deps = ["//vendor/github.com/go-redis/redis:go_default_library"], +) diff --git a/vendor/cloud.google.com/go/compute/metadata/BUILD.bazel b/vendor/cloud.google.com/go/compute/metadata/BUILD.bazel new file mode 100644 index 00000000..3c6160f2 --- /dev/null +++ b/vendor/cloud.google.com/go/compute/metadata/BUILD.bazel @@ -0,0 +1,9 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = ["metadata.go"], + importmap = "github.com/amaizfinance/redis-operator/vendor/cloud.google.com/go/compute/metadata", + importpath = "cloud.google.com/go/compute/metadata", + visibility = ["//visibility:public"], +) diff --git a/vendor/contrib.go.opencensus.io/exporter/ocagent/BUILD.bazel b/vendor/contrib.go.opencensus.io/exporter/ocagent/BUILD.bazel new file mode 100644 index 00000000..8a137c05 --- /dev/null +++ b/vendor/contrib.go.opencensus.io/exporter/ocagent/BUILD.bazel @@ -0,0 +1,39 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = [ + "common.go", + "connection.go", + "nodeinfo.go", + "ocagent.go", + "options.go", + "transform_spans.go", + "transform_stats_to_metrics.go", + "version.go", + ], + importmap = "github.com/amaizfinance/redis-operator/vendor/contrib.go.opencensus.io/exporter/ocagent", + importpath = "contrib.go.opencensus.io/exporter/ocagent", + visibility = ["//visibility:public"], + deps = [ + "//vendor/github.com/census-instrumentation/opencensus-proto/gen-go/agent/common/v1:go_default_library", + "//vendor/github.com/census-instrumentation/opencensus-proto/gen-go/agent/metrics/v1:go_default_library", + "//vendor/github.com/census-instrumentation/opencensus-proto/gen-go/agent/trace/v1:go_default_library", + "//vendor/github.com/census-instrumentation/opencensus-proto/gen-go/metrics/v1:go_default_library", + "//vendor/github.com/census-instrumentation/opencensus-proto/gen-go/resource/v1:go_default_library", + "//vendor/github.com/census-instrumentation/opencensus-proto/gen-go/trace/v1:go_default_library", + "//vendor/github.com/golang/protobuf/ptypes/timestamp:go_default_library", + "//vendor/go.opencensus.io:go_default_library", + "//vendor/go.opencensus.io/plugin/ocgrpc:go_default_library", + "//vendor/go.opencensus.io/resource:go_default_library", + "//vendor/go.opencensus.io/stats:go_default_library", + "//vendor/go.opencensus.io/stats/view:go_default_library", + "//vendor/go.opencensus.io/tag:go_default_library", + "//vendor/go.opencensus.io/trace:go_default_library", + "//vendor/go.opencensus.io/trace/tracestate:go_default_library", + "//vendor/google.golang.org/api/support/bundler:go_default_library", + "//vendor/google.golang.org/grpc:go_default_library", + "//vendor/google.golang.org/grpc/credentials:go_default_library", + "//vendor/google.golang.org/grpc/metadata:go_default_library", + ], +) diff --git a/vendor/github.com/Azure/go-autorest/autorest/BUILD.bazel b/vendor/github.com/Azure/go-autorest/autorest/BUILD.bazel new file mode 100644 index 00000000..a379c9d9 --- /dev/null +++ b/vendor/github.com/Azure/go-autorest/autorest/BUILD.bazel @@ -0,0 +1,27 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = [ + "authorization.go", + "autorest.go", + "client.go", + "error.go", + "preparer.go", + "responder.go", + "retriablerequest.go", + "retriablerequest_1.7.go", + "retriablerequest_1.8.go", + "sender.go", + "utility.go", + "version.go", + ], + importmap = "github.com/amaizfinance/redis-operator/vendor/github.com/Azure/go-autorest/autorest", + importpath = "github.com/Azure/go-autorest/autorest", + visibility = ["//visibility:public"], + deps = [ + "//vendor/github.com/Azure/go-autorest/autorest/adal:go_default_library", + "//vendor/github.com/Azure/go-autorest/logger:go_default_library", + "//vendor/github.com/Azure/go-autorest/tracing:go_default_library", + ], +) diff --git a/vendor/github.com/Azure/go-autorest/autorest/adal/BUILD.bazel b/vendor/github.com/Azure/go-autorest/autorest/adal/BUILD.bazel new file mode 100644 index 00000000..7de80989 --- /dev/null +++ b/vendor/github.com/Azure/go-autorest/autorest/adal/BUILD.bazel @@ -0,0 +1,21 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = [ + "config.go", + "devicetoken.go", + "persist.go", + "sender.go", + "token.go", + "version.go", + ], + importmap = "github.com/amaizfinance/redis-operator/vendor/github.com/Azure/go-autorest/autorest/adal", + importpath = "github.com/Azure/go-autorest/autorest/adal", + visibility = ["//visibility:public"], + deps = [ + "//vendor/github.com/Azure/go-autorest/autorest/date:go_default_library", + "//vendor/github.com/Azure/go-autorest/tracing:go_default_library", + "//vendor/github.com/dgrijalva/jwt-go:go_default_library", + ], +) diff --git a/vendor/github.com/Azure/go-autorest/autorest/azure/BUILD.bazel b/vendor/github.com/Azure/go-autorest/autorest/azure/BUILD.bazel new file mode 100644 index 00000000..f09170cc --- /dev/null +++ b/vendor/github.com/Azure/go-autorest/autorest/azure/BUILD.bazel @@ -0,0 +1,19 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = [ + "async.go", + "azure.go", + "environments.go", + "metadata_environment.go", + "rp.go", + ], + importmap = "github.com/amaizfinance/redis-operator/vendor/github.com/Azure/go-autorest/autorest/azure", + importpath = "github.com/Azure/go-autorest/autorest/azure", + visibility = ["//visibility:public"], + deps = [ + "//vendor/github.com/Azure/go-autorest/autorest:go_default_library", + "//vendor/github.com/Azure/go-autorest/tracing:go_default_library", + ], +) diff --git a/vendor/github.com/Azure/go-autorest/autorest/date/BUILD.bazel b/vendor/github.com/Azure/go-autorest/autorest/date/BUILD.bazel new file mode 100644 index 00000000..e57bc936 --- /dev/null +++ b/vendor/github.com/Azure/go-autorest/autorest/date/BUILD.bazel @@ -0,0 +1,15 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = [ + "date.go", + "time.go", + "timerfc1123.go", + "unixtime.go", + "utility.go", + ], + importmap = "github.com/amaizfinance/redis-operator/vendor/github.com/Azure/go-autorest/autorest/date", + importpath = "github.com/Azure/go-autorest/autorest/date", + visibility = ["//visibility:public"], +) diff --git a/vendor/github.com/Azure/go-autorest/logger/BUILD.bazel b/vendor/github.com/Azure/go-autorest/logger/BUILD.bazel new file mode 100644 index 00000000..4764fcda --- /dev/null +++ b/vendor/github.com/Azure/go-autorest/logger/BUILD.bazel @@ -0,0 +1,9 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = ["logger.go"], + importmap = "github.com/amaizfinance/redis-operator/vendor/github.com/Azure/go-autorest/logger", + importpath = "github.com/Azure/go-autorest/logger", + visibility = ["//visibility:public"], +) diff --git a/vendor/github.com/Azure/go-autorest/tracing/BUILD.bazel b/vendor/github.com/Azure/go-autorest/tracing/BUILD.bazel new file mode 100644 index 00000000..ee74b68f --- /dev/null +++ b/vendor/github.com/Azure/go-autorest/tracing/BUILD.bazel @@ -0,0 +1,16 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = ["tracing.go"], + importmap = "github.com/amaizfinance/redis-operator/vendor/github.com/Azure/go-autorest/tracing", + importpath = "github.com/Azure/go-autorest/tracing", + visibility = ["//visibility:public"], + deps = [ + "//vendor/contrib.go.opencensus.io/exporter/ocagent:go_default_library", + "//vendor/go.opencensus.io/plugin/ochttp:go_default_library", + "//vendor/go.opencensus.io/plugin/ochttp/propagation/tracecontext:go_default_library", + "//vendor/go.opencensus.io/stats/view:go_default_library", + "//vendor/go.opencensus.io/trace:go_default_library", + ], +) diff --git a/vendor/github.com/PuerkitoBio/purell/BUILD.bazel b/vendor/github.com/PuerkitoBio/purell/BUILD.bazel new file mode 100644 index 00000000..3edbaeaa --- /dev/null +++ b/vendor/github.com/PuerkitoBio/purell/BUILD.bazel @@ -0,0 +1,15 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = ["purell.go"], + importmap = "github.com/amaizfinance/redis-operator/vendor/github.com/PuerkitoBio/purell", + importpath = "github.com/PuerkitoBio/purell", + visibility = ["//visibility:public"], + deps = [ + "//vendor/github.com/PuerkitoBio/urlesc:go_default_library", + "//vendor/golang.org/x/net/idna:go_default_library", + "//vendor/golang.org/x/text/unicode/norm:go_default_library", + "//vendor/golang.org/x/text/width:go_default_library", + ], +) diff --git a/vendor/github.com/PuerkitoBio/urlesc/BUILD.bazel b/vendor/github.com/PuerkitoBio/urlesc/BUILD.bazel new file mode 100644 index 00000000..6597e3e5 --- /dev/null +++ b/vendor/github.com/PuerkitoBio/urlesc/BUILD.bazel @@ -0,0 +1,9 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = ["urlesc.go"], + importmap = "github.com/amaizfinance/redis-operator/vendor/github.com/PuerkitoBio/urlesc", + importpath = "github.com/PuerkitoBio/urlesc", + visibility = ["//visibility:public"], +) diff --git a/vendor/github.com/appscode/jsonpatch/BUILD.bazel b/vendor/github.com/appscode/jsonpatch/BUILD.bazel new file mode 100644 index 00000000..d7c2f01e --- /dev/null +++ b/vendor/github.com/appscode/jsonpatch/BUILD.bazel @@ -0,0 +1,9 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = ["jsonpatch.go"], + importmap = "github.com/amaizfinance/redis-operator/vendor/github.com/appscode/jsonpatch", + importpath = "github.com/appscode/jsonpatch", + visibility = ["//visibility:public"], +) diff --git a/vendor/github.com/beorn7/perks/quantile/BUILD.bazel b/vendor/github.com/beorn7/perks/quantile/BUILD.bazel new file mode 100644 index 00000000..14b4bb63 --- /dev/null +++ b/vendor/github.com/beorn7/perks/quantile/BUILD.bazel @@ -0,0 +1,9 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = ["stream.go"], + importmap = "github.com/amaizfinance/redis-operator/vendor/github.com/beorn7/perks/quantile", + importpath = "github.com/beorn7/perks/quantile", + visibility = ["//visibility:public"], +) diff --git a/vendor/github.com/cenkalti/backoff/BUILD.bazel b/vendor/github.com/cenkalti/backoff/BUILD.bazel new file mode 100644 index 00000000..a93db0dd --- /dev/null +++ b/vendor/github.com/cenkalti/backoff/BUILD.bazel @@ -0,0 +1,16 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = [ + "backoff.go", + "context.go", + "exponential.go", + "retry.go", + "ticker.go", + "tries.go", + ], + importmap = "github.com/amaizfinance/redis-operator/vendor/github.com/cenkalti/backoff", + importpath = "github.com/cenkalti/backoff", + visibility = ["//visibility:public"], +) diff --git a/vendor/github.com/census-instrumentation/opencensus-proto/gen-go/agent/common/v1/BUILD.bazel b/vendor/github.com/census-instrumentation/opencensus-proto/gen-go/agent/common/v1/BUILD.bazel new file mode 100644 index 00000000..25f6de1e --- /dev/null +++ b/vendor/github.com/census-instrumentation/opencensus-proto/gen-go/agent/common/v1/BUILD.bazel @@ -0,0 +1,13 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = ["common.pb.go"], + importmap = "github.com/amaizfinance/redis-operator/vendor/github.com/census-instrumentation/opencensus-proto/gen-go/agent/common/v1", + importpath = "github.com/census-instrumentation/opencensus-proto/gen-go/agent/common/v1", + visibility = ["//visibility:public"], + deps = [ + "//vendor/github.com/golang/protobuf/proto:go_default_library", + "//vendor/github.com/golang/protobuf/ptypes/timestamp:go_default_library", + ], +) diff --git a/vendor/github.com/census-instrumentation/opencensus-proto/gen-go/agent/metrics/v1/BUILD.bazel b/vendor/github.com/census-instrumentation/opencensus-proto/gen-go/agent/metrics/v1/BUILD.bazel new file mode 100644 index 00000000..a5f8ed65 --- /dev/null +++ b/vendor/github.com/census-instrumentation/opencensus-proto/gen-go/agent/metrics/v1/BUILD.bazel @@ -0,0 +1,16 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = ["metrics_service.pb.go"], + importmap = "github.com/amaizfinance/redis-operator/vendor/github.com/census-instrumentation/opencensus-proto/gen-go/agent/metrics/v1", + importpath = "github.com/census-instrumentation/opencensus-proto/gen-go/agent/metrics/v1", + visibility = ["//visibility:public"], + deps = [ + "//vendor/github.com/census-instrumentation/opencensus-proto/gen-go/agent/common/v1:go_default_library", + "//vendor/github.com/census-instrumentation/opencensus-proto/gen-go/metrics/v1:go_default_library", + "//vendor/github.com/census-instrumentation/opencensus-proto/gen-go/resource/v1:go_default_library", + "//vendor/github.com/golang/protobuf/proto:go_default_library", + "//vendor/google.golang.org/grpc:go_default_library", + ], +) diff --git a/vendor/github.com/census-instrumentation/opencensus-proto/gen-go/agent/trace/v1/BUILD.bazel b/vendor/github.com/census-instrumentation/opencensus-proto/gen-go/agent/trace/v1/BUILD.bazel new file mode 100644 index 00000000..1d512f22 --- /dev/null +++ b/vendor/github.com/census-instrumentation/opencensus-proto/gen-go/agent/trace/v1/BUILD.bazel @@ -0,0 +1,25 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = [ + "trace_service.pb.go", + "trace_service.pb.gw.go", + ], + importmap = "github.com/amaizfinance/redis-operator/vendor/github.com/census-instrumentation/opencensus-proto/gen-go/agent/trace/v1", + importpath = "github.com/census-instrumentation/opencensus-proto/gen-go/agent/trace/v1", + visibility = ["//visibility:public"], + deps = [ + "//vendor/github.com/census-instrumentation/opencensus-proto/gen-go/agent/common/v1:go_default_library", + "//vendor/github.com/census-instrumentation/opencensus-proto/gen-go/resource/v1:go_default_library", + "//vendor/github.com/census-instrumentation/opencensus-proto/gen-go/trace/v1:go_default_library", + "//vendor/github.com/golang/protobuf/proto:go_default_library", + "//vendor/github.com/grpc-ecosystem/grpc-gateway/runtime:go_default_library", + "//vendor/github.com/grpc-ecosystem/grpc-gateway/utilities:go_default_library", + "//vendor/golang.org/x/net/context:go_default_library", + "//vendor/google.golang.org/grpc:go_default_library", + "//vendor/google.golang.org/grpc/codes:go_default_library", + "//vendor/google.golang.org/grpc/grpclog:go_default_library", + "//vendor/google.golang.org/grpc/status:go_default_library", + ], +) diff --git a/vendor/github.com/census-instrumentation/opencensus-proto/gen-go/metrics/v1/BUILD.bazel b/vendor/github.com/census-instrumentation/opencensus-proto/gen-go/metrics/v1/BUILD.bazel new file mode 100644 index 00000000..881d8759 --- /dev/null +++ b/vendor/github.com/census-instrumentation/opencensus-proto/gen-go/metrics/v1/BUILD.bazel @@ -0,0 +1,15 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = ["metrics.pb.go"], + importmap = "github.com/amaizfinance/redis-operator/vendor/github.com/census-instrumentation/opencensus-proto/gen-go/metrics/v1", + importpath = "github.com/census-instrumentation/opencensus-proto/gen-go/metrics/v1", + visibility = ["//visibility:public"], + deps = [ + "//vendor/github.com/census-instrumentation/opencensus-proto/gen-go/resource/v1:go_default_library", + "//vendor/github.com/golang/protobuf/proto:go_default_library", + "//vendor/github.com/golang/protobuf/ptypes/timestamp:go_default_library", + "//vendor/github.com/golang/protobuf/ptypes/wrappers:go_default_library", + ], +) diff --git a/vendor/github.com/census-instrumentation/opencensus-proto/gen-go/resource/v1/BUILD.bazel b/vendor/github.com/census-instrumentation/opencensus-proto/gen-go/resource/v1/BUILD.bazel new file mode 100644 index 00000000..db23f9a7 --- /dev/null +++ b/vendor/github.com/census-instrumentation/opencensus-proto/gen-go/resource/v1/BUILD.bazel @@ -0,0 +1,10 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = ["resource.pb.go"], + importmap = "github.com/amaizfinance/redis-operator/vendor/github.com/census-instrumentation/opencensus-proto/gen-go/resource/v1", + importpath = "github.com/census-instrumentation/opencensus-proto/gen-go/resource/v1", + visibility = ["//visibility:public"], + deps = ["//vendor/github.com/golang/protobuf/proto:go_default_library"], +) diff --git a/vendor/github.com/census-instrumentation/opencensus-proto/gen-go/trace/v1/BUILD.bazel b/vendor/github.com/census-instrumentation/opencensus-proto/gen-go/trace/v1/BUILD.bazel new file mode 100644 index 00000000..bff57e38 --- /dev/null +++ b/vendor/github.com/census-instrumentation/opencensus-proto/gen-go/trace/v1/BUILD.bazel @@ -0,0 +1,18 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = [ + "trace.pb.go", + "trace_config.pb.go", + ], + importmap = "github.com/amaizfinance/redis-operator/vendor/github.com/census-instrumentation/opencensus-proto/gen-go/trace/v1", + importpath = "github.com/census-instrumentation/opencensus-proto/gen-go/trace/v1", + visibility = ["//visibility:public"], + deps = [ + "//vendor/github.com/census-instrumentation/opencensus-proto/gen-go/resource/v1:go_default_library", + "//vendor/github.com/golang/protobuf/proto:go_default_library", + "//vendor/github.com/golang/protobuf/ptypes/timestamp:go_default_library", + "//vendor/github.com/golang/protobuf/ptypes/wrappers:go_default_library", + ], +) diff --git a/vendor/github.com/coreos/prometheus-operator/pkg/apis/monitoring/BUILD.bazel b/vendor/github.com/coreos/prometheus-operator/pkg/apis/monitoring/BUILD.bazel new file mode 100644 index 00000000..bc365f78 --- /dev/null +++ b/vendor/github.com/coreos/prometheus-operator/pkg/apis/monitoring/BUILD.bazel @@ -0,0 +1,9 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = ["register.go"], + importmap = "github.com/amaizfinance/redis-operator/vendor/github.com/coreos/prometheus-operator/pkg/apis/monitoring", + importpath = "github.com/coreos/prometheus-operator/pkg/apis/monitoring", + visibility = ["//visibility:public"], +) diff --git a/vendor/github.com/coreos/prometheus-operator/pkg/apis/monitoring/v1/BUILD.bazel b/vendor/github.com/coreos/prometheus-operator/pkg/apis/monitoring/v1/BUILD.bazel new file mode 100644 index 00000000..e7981871 --- /dev/null +++ b/vendor/github.com/coreos/prometheus-operator/pkg/apis/monitoring/v1/BUILD.bazel @@ -0,0 +1,26 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = [ + "crd_kinds.go", + "doc.go", + "openapi_generated.go", + "register.go", + "types.go", + "zz_generated.deepcopy.go", + ], + importmap = "github.com/amaizfinance/redis-operator/vendor/github.com/coreos/prometheus-operator/pkg/apis/monitoring/v1", + importpath = "github.com/coreos/prometheus-operator/pkg/apis/monitoring/v1", + visibility = ["//visibility:public"], + deps = [ + "//vendor/github.com/coreos/prometheus-operator/pkg/apis/monitoring:go_default_library", + "//vendor/github.com/go-openapi/spec:go_default_library", + "//vendor/k8s.io/api/core/v1:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/apis/meta/v1:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/runtime:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/runtime/schema:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/util/intstr:go_default_library", + "//vendor/k8s.io/kube-openapi/pkg/common:go_default_library", + ], +) diff --git a/vendor/github.com/coreos/prometheus-operator/pkg/client/versioned/scheme/BUILD.bazel b/vendor/github.com/coreos/prometheus-operator/pkg/client/versioned/scheme/BUILD.bazel new file mode 100644 index 00000000..e015ec9c --- /dev/null +++ b/vendor/github.com/coreos/prometheus-operator/pkg/client/versioned/scheme/BUILD.bazel @@ -0,0 +1,20 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = [ + "doc.go", + "register.go", + ], + importmap = "github.com/amaizfinance/redis-operator/vendor/github.com/coreos/prometheus-operator/pkg/client/versioned/scheme", + importpath = "github.com/coreos/prometheus-operator/pkg/client/versioned/scheme", + visibility = ["//visibility:public"], + deps = [ + "//vendor/github.com/coreos/prometheus-operator/pkg/apis/monitoring/v1:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/apis/meta/v1:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/runtime:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/runtime/schema:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/runtime/serializer:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/util/runtime:go_default_library", + ], +) diff --git a/vendor/github.com/coreos/prometheus-operator/pkg/client/versioned/typed/monitoring/v1/BUILD.bazel b/vendor/github.com/coreos/prometheus-operator/pkg/client/versioned/typed/monitoring/v1/BUILD.bazel new file mode 100644 index 00000000..3ff6ec05 --- /dev/null +++ b/vendor/github.com/coreos/prometheus-operator/pkg/client/versioned/typed/monitoring/v1/BUILD.bazel @@ -0,0 +1,26 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = [ + "alertmanager.go", + "doc.go", + "generated_expansion.go", + "monitoring_client.go", + "prometheus.go", + "prometheusrule.go", + "servicemonitor.go", + ], + importmap = "github.com/amaizfinance/redis-operator/vendor/github.com/coreos/prometheus-operator/pkg/client/versioned/typed/monitoring/v1", + importpath = "github.com/coreos/prometheus-operator/pkg/client/versioned/typed/monitoring/v1", + visibility = ["//visibility:public"], + deps = [ + "//vendor/github.com/coreos/prometheus-operator/pkg/apis/monitoring/v1:go_default_library", + "//vendor/github.com/coreos/prometheus-operator/pkg/client/versioned/scheme:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/apis/meta/v1:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/runtime/serializer:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/types:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/watch:go_default_library", + "//vendor/k8s.io/client-go/rest:go_default_library", + ], +) diff --git a/vendor/github.com/davecgh/go-spew/spew/BUILD.bazel b/vendor/github.com/davecgh/go-spew/spew/BUILD.bazel new file mode 100644 index 00000000..ef13a672 --- /dev/null +++ b/vendor/github.com/davecgh/go-spew/spew/BUILD.bazel @@ -0,0 +1,18 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = [ + "bypass.go", + "bypasssafe.go", + "common.go", + "config.go", + "doc.go", + "dump.go", + "format.go", + "spew.go", + ], + importmap = "github.com/amaizfinance/redis-operator/vendor/github.com/davecgh/go-spew/spew", + importpath = "github.com/davecgh/go-spew/spew", + visibility = ["//visibility:public"], +) diff --git a/vendor/github.com/dgrijalva/jwt-go/BUILD.bazel b/vendor/github.com/dgrijalva/jwt-go/BUILD.bazel new file mode 100644 index 00000000..28c680e2 --- /dev/null +++ b/vendor/github.com/dgrijalva/jwt-go/BUILD.bazel @@ -0,0 +1,24 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = [ + "claims.go", + "doc.go", + "ecdsa.go", + "ecdsa_utils.go", + "errors.go", + "hmac.go", + "map_claims.go", + "none.go", + "parser.go", + "rsa.go", + "rsa_pss.go", + "rsa_utils.go", + "signing_method.go", + "token.go", + ], + importmap = "github.com/amaizfinance/redis-operator/vendor/github.com/dgrijalva/jwt-go", + importpath = "github.com/dgrijalva/jwt-go", + visibility = ["//visibility:public"], +) diff --git a/vendor/github.com/emicklei/go-restful/BUILD.bazel b/vendor/github.com/emicklei/go-restful/BUILD.bazel new file mode 100644 index 00000000..a64390a9 --- /dev/null +++ b/vendor/github.com/emicklei/go-restful/BUILD.bazel @@ -0,0 +1,39 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = [ + "compress.go", + "compressor_cache.go", + "compressor_pools.go", + "compressors.go", + "constants.go", + "container.go", + "cors_filter.go", + "curly.go", + "curly_route.go", + "doc.go", + "entity_accessors.go", + "filter.go", + "json.go", + "jsr311.go", + "logger.go", + "mime.go", + "options_filter.go", + "parameter.go", + "path_expression.go", + "path_processor.go", + "request.go", + "response.go", + "route.go", + "route_builder.go", + "router.go", + "service_error.go", + "web_service.go", + "web_service_container.go", + ], + importmap = "github.com/amaizfinance/redis-operator/vendor/github.com/emicklei/go-restful", + importpath = "github.com/emicklei/go-restful", + visibility = ["//visibility:public"], + deps = ["//vendor/github.com/emicklei/go-restful/log:go_default_library"], +) diff --git a/vendor/github.com/emicklei/go-restful/log/BUILD.bazel b/vendor/github.com/emicklei/go-restful/log/BUILD.bazel new file mode 100644 index 00000000..3ec8b5c2 --- /dev/null +++ b/vendor/github.com/emicklei/go-restful/log/BUILD.bazel @@ -0,0 +1,9 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = ["log.go"], + importmap = "github.com/amaizfinance/redis-operator/vendor/github.com/emicklei/go-restful/log", + importpath = "github.com/emicklei/go-restful/log", + visibility = ["//visibility:public"], +) diff --git a/vendor/github.com/ghodss/yaml/BUILD.bazel b/vendor/github.com/ghodss/yaml/BUILD.bazel new file mode 100644 index 00000000..67237924 --- /dev/null +++ b/vendor/github.com/ghodss/yaml/BUILD.bazel @@ -0,0 +1,13 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = [ + "fields.go", + "yaml.go", + ], + importmap = "github.com/amaizfinance/redis-operator/vendor/github.com/ghodss/yaml", + importpath = "github.com/ghodss/yaml", + visibility = ["//visibility:public"], + deps = ["//vendor/gopkg.in/yaml.v2:go_default_library"], +) diff --git a/vendor/github.com/go-logr/logr/BUILD.bazel b/vendor/github.com/go-logr/logr/BUILD.bazel new file mode 100644 index 00000000..b9701889 --- /dev/null +++ b/vendor/github.com/go-logr/logr/BUILD.bazel @@ -0,0 +1,9 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = ["logr.go"], + importmap = "github.com/amaizfinance/redis-operator/vendor/github.com/go-logr/logr", + importpath = "github.com/go-logr/logr", + visibility = ["//visibility:public"], +) diff --git a/vendor/github.com/go-logr/zapr/BUILD.bazel b/vendor/github.com/go-logr/zapr/BUILD.bazel new file mode 100644 index 00000000..c62c2748 --- /dev/null +++ b/vendor/github.com/go-logr/zapr/BUILD.bazel @@ -0,0 +1,14 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = ["zapr.go"], + importmap = "github.com/amaizfinance/redis-operator/vendor/github.com/go-logr/zapr", + importpath = "github.com/go-logr/zapr", + visibility = ["//visibility:public"], + deps = [ + "//vendor/github.com/go-logr/logr:go_default_library", + "//vendor/go.uber.org/zap:go_default_library", + "//vendor/go.uber.org/zap/zapcore:go_default_library", + ], +) diff --git a/vendor/github.com/go-openapi/jsonpointer/BUILD.bazel b/vendor/github.com/go-openapi/jsonpointer/BUILD.bazel new file mode 100644 index 00000000..864db6bb --- /dev/null +++ b/vendor/github.com/go-openapi/jsonpointer/BUILD.bazel @@ -0,0 +1,10 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = ["pointer.go"], + importmap = "github.com/amaizfinance/redis-operator/vendor/github.com/go-openapi/jsonpointer", + importpath = "github.com/go-openapi/jsonpointer", + visibility = ["//visibility:public"], + deps = ["//vendor/github.com/go-openapi/swag:go_default_library"], +) diff --git a/vendor/github.com/go-openapi/jsonreference/BUILD.bazel b/vendor/github.com/go-openapi/jsonreference/BUILD.bazel new file mode 100644 index 00000000..06ec9fa9 --- /dev/null +++ b/vendor/github.com/go-openapi/jsonreference/BUILD.bazel @@ -0,0 +1,13 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = ["reference.go"], + importmap = "github.com/amaizfinance/redis-operator/vendor/github.com/go-openapi/jsonreference", + importpath = "github.com/go-openapi/jsonreference", + visibility = ["//visibility:public"], + deps = [ + "//vendor/github.com/PuerkitoBio/purell:go_default_library", + "//vendor/github.com/go-openapi/jsonpointer:go_default_library", + ], +) diff --git a/vendor/github.com/go-openapi/spec/BUILD.bazel b/vendor/github.com/go-openapi/spec/BUILD.bazel new file mode 100644 index 00000000..44370a50 --- /dev/null +++ b/vendor/github.com/go-openapi/spec/BUILD.bazel @@ -0,0 +1,41 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = [ + "bindata.go", + "cache.go", + "contact_info.go", + "debug.go", + "expander.go", + "external_docs.go", + "header.go", + "info.go", + "items.go", + "license.go", + "normalizer.go", + "operation.go", + "parameter.go", + "path_item.go", + "paths.go", + "ref.go", + "response.go", + "responses.go", + "schema.go", + "schema_loader.go", + "security_scheme.go", + "spec.go", + "swagger.go", + "tag.go", + "unused.go", + "xml_object.go", + ], + importmap = "github.com/amaizfinance/redis-operator/vendor/github.com/go-openapi/spec", + importpath = "github.com/go-openapi/spec", + visibility = ["//visibility:public"], + deps = [ + "//vendor/github.com/go-openapi/jsonpointer:go_default_library", + "//vendor/github.com/go-openapi/jsonreference:go_default_library", + "//vendor/github.com/go-openapi/swag:go_default_library", + ], +) diff --git a/vendor/github.com/go-openapi/swag/BUILD.bazel b/vendor/github.com/go-openapi/swag/BUILD.bazel new file mode 100644 index 00000000..f6807265 --- /dev/null +++ b/vendor/github.com/go-openapi/swag/BUILD.bazel @@ -0,0 +1,28 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = [ + "convert.go", + "convert_types.go", + "doc.go", + "json.go", + "loading.go", + "net.go", + "path.go", + "post_go18.go", + "post_go19.go", + "pre_go18.go", + "pre_go19.go", + "util.go", + "yaml.go", + ], + importmap = "github.com/amaizfinance/redis-operator/vendor/github.com/go-openapi/swag", + importpath = "github.com/go-openapi/swag", + visibility = ["//visibility:public"], + deps = [ + "//vendor/github.com/mailru/easyjson/jlexer:go_default_library", + "//vendor/github.com/mailru/easyjson/jwriter:go_default_library", + "//vendor/gopkg.in/yaml.v2:go_default_library", + ], +) diff --git a/vendor/github.com/go-redis/redis/.travis.yml b/vendor/github.com/go-redis/redis/.travis.yml index 6b110b4c..06d7897b 100644 --- a/vendor/github.com/go-redis/redis/.travis.yml +++ b/vendor/github.com/go-redis/redis/.travis.yml @@ -8,6 +8,7 @@ go: - 1.9.x - 1.10.x - 1.11.x + - 1.12.x - tip matrix: diff --git a/vendor/github.com/go-redis/redis/BUILD.bazel b/vendor/github.com/go-redis/redis/BUILD.bazel new file mode 100644 index 00000000..b2efd73b --- /dev/null +++ b/vendor/github.com/go-redis/redis/BUILD.bazel @@ -0,0 +1,33 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = [ + "cluster.go", + "cluster_commands.go", + "command.go", + "commands.go", + "doc.go", + "iterator.go", + "options.go", + "pipeline.go", + "pubsub.go", + "redis.go", + "result.go", + "ring.go", + "script.go", + "sentinel.go", + "tx.go", + "universal.go", + ], + importmap = "github.com/amaizfinance/redis-operator/vendor/github.com/go-redis/redis", + importpath = "github.com/go-redis/redis", + visibility = ["//visibility:public"], + deps = [ + "//vendor/github.com/go-redis/redis/internal:go_default_library", + "//vendor/github.com/go-redis/redis/internal/consistenthash:go_default_library", + "//vendor/github.com/go-redis/redis/internal/hashtag:go_default_library", + "//vendor/github.com/go-redis/redis/internal/pool:go_default_library", + "//vendor/github.com/go-redis/redis/internal/proto:go_default_library", + ], +) diff --git a/vendor/github.com/go-redis/redis/README.md b/vendor/github.com/go-redis/redis/README.md index 7d05b446..6c8d99af 100644 --- a/vendor/github.com/go-redis/redis/README.md +++ b/vendor/github.com/go-redis/redis/README.md @@ -9,7 +9,7 @@ Supports: - Redis 3 commands except QUIT, MONITOR, SLOWLOG and SYNC. - Automatic connection pooling with [circuit breaker](https://en.wikipedia.org/wiki/Circuit_breaker_design_pattern) support. - [Pub/Sub](https://godoc.org/github.com/go-redis/redis#PubSub). -- [Transactions](https://godoc.org/github.com/go-redis/redis#Multi). +- [Transactions](https://godoc.org/github.com/go-redis/redis#example-Client-TxPipeline). - [Pipeline](https://godoc.org/github.com/go-redis/redis#example-Client-Pipeline) and [TxPipeline](https://godoc.org/github.com/go-redis/redis#example-Client-TxPipeline). - [Scripting](https://godoc.org/github.com/go-redis/redis#Script). - [Timeouts](https://godoc.org/github.com/go-redis/redis#Options). @@ -143,4 +143,4 @@ BenchmarkRedisClusterPing-4 100000 11535 ns/op 117 B/op - [Golang PostgreSQL ORM](https://github.com/go-pg/pg) - [Golang msgpack](https://github.com/vmihailenco/msgpack) -- [Golang message task queue](https://github.com/go-msgqueue/msgqueue) +- [Golang message task queue](https://github.com/vmihailenco/taskq) diff --git a/vendor/github.com/go-redis/redis/cluster.go b/vendor/github.com/go-redis/redis/cluster.go index 0cecc62c..ab2c76f0 100644 --- a/vendor/github.com/go-redis/redis/cluster.go +++ b/vendor/github.com/go-redis/redis/cluster.go @@ -703,12 +703,12 @@ func (c *ClusterClient) WithContext(ctx context.Context) *ClusterClient { if ctx == nil { panic("nil context") } - c2 := c.copy() + c2 := c.clone() c2.ctx = ctx return c2 } -func (c *ClusterClient) copy() *ClusterClient { +func (c *ClusterClient) clone() *ClusterClient { cp := *c cp.init() return &cp @@ -1198,6 +1198,7 @@ func (c *ClusterClient) WrapProcessPipeline( fn func(oldProcess func([]Cmder) error) func([]Cmder) error, ) { c.processPipeline = fn(c.processPipeline) + c.processTxPipeline = fn(c.processTxPipeline) } func (c *ClusterClient) defaultProcessPipeline(cmds []Cmder) error { @@ -1537,16 +1538,21 @@ func (c *ClusterClient) pubSub() *PubSub { panic("node != nil") } - slot := hashtag.Slot(channels[0]) - var err error - node, err = c.slotMasterNode(slot) + if len(channels) > 0 { + slot := hashtag.Slot(channels[0]) + node, err = c.slotMasterNode(slot) + } else { + node, err = c.nodes.Random() + } if err != nil { return nil, err } cn, err := node.Client.newConn() if err != nil { + node = nil + return nil, err } diff --git a/vendor/github.com/go-redis/redis/command.go b/vendor/github.com/go-redis/redis/command.go index cb4f94b1..dde513be 100644 --- a/vendor/github.com/go-redis/redis/command.go +++ b/vendor/github.com/go-redis/redis/command.go @@ -218,6 +218,25 @@ func (cmd *Cmd) Uint64() (uint64, error) { } } +func (cmd *Cmd) Float32() (float32, error) { + if cmd.err != nil { + return 0, cmd.err + } + switch val := cmd.val.(type) { + case int64: + return float32(val), nil + case string: + f, err := strconv.ParseFloat(val, 32) + if err != nil { + return 0, err + } + return float32(f), nil + default: + err := fmt.Errorf("redis: unexpected type=%T for Float32", val) + return 0, err + } +} + func (cmd *Cmd) Float64() (float64, error) { if cmd.err != nil { return 0, cmd.err @@ -585,6 +604,17 @@ func (cmd *StringCmd) Uint64() (uint64, error) { return strconv.ParseUint(cmd.Val(), 10, 64) } +func (cmd *StringCmd) Float32() (float32, error) { + if cmd.err != nil { + return 0, cmd.err + } + f, err := strconv.ParseFloat(cmd.Val(), 32) + if err != nil { + return 0, err + } + return float32(f), nil +} + func (cmd *StringCmd) Float64() (float64, error) { if cmd.err != nil { return 0, cmd.err @@ -687,12 +717,12 @@ func (cmd *StringSliceCmd) readReply(rd *proto.Reader) error { func stringSliceParser(rd *proto.Reader, n int64) (interface{}, error) { ss := make([]string, 0, n) for i := int64(0); i < n; i++ { - s, err := rd.ReadString() - if err == Nil { + switch s, err := rd.ReadString(); { + case err == Nil: ss = append(ss, "") - } else if err != nil { + case err != nil: return nil, err - } else { + default: ss = append(ss, s) } } diff --git a/vendor/github.com/go-redis/redis/go.mod b/vendor/github.com/go-redis/redis/go.mod new file mode 100644 index 00000000..eb4969db --- /dev/null +++ b/vendor/github.com/go-redis/redis/go.mod @@ -0,0 +1,8 @@ +module github.com/go-redis/redis + +require ( + github.com/onsi/ginkgo v1.8.0 + github.com/onsi/gomega v1.5.0 +) + +go 1.13 diff --git a/vendor/github.com/go-redis/redis/go.sum b/vendor/github.com/go-redis/redis/go.sum new file mode 100644 index 00000000..4fd21a15 --- /dev/null +++ b/vendor/github.com/go-redis/redis/go.sum @@ -0,0 +1,27 @@ +github.com/fsnotify/fsnotify v1.4.7 h1:IXs+QLmnXW2CcXuY+8Mzv/fWEsPGWxqefPtCP5CnV9I= +github.com/fsnotify/fsnotify v1.4.7/go.mod h1:jwhsz4b93w/PPRr/qN1Yymfu8t87LnFCMoQvtojpjFo= +github.com/golang/protobuf v1.2.0 h1:P3YflyNX/ehuJFLhxviNdFxQPkGK5cDcApsge1SqnvM= +github.com/golang/protobuf v1.2.0/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= +github.com/hpcloud/tail v1.0.0 h1:nfCOvKYfkgYP8hkirhJocXT2+zOD8yUNjXaWfTlyFKI= +github.com/hpcloud/tail v1.0.0/go.mod h1:ab1qPbhIpdTxEkNHXyeSf5vhxWSCs/tWer42PpOxQnU= +github.com/onsi/ginkgo v1.6.0/go.mod h1:lLunBs/Ym6LB5Z9jYTR76FiuTmxDTDusOGeTQH+WWjE= +github.com/onsi/ginkgo v1.8.0 h1:VkHVNpR4iVnU8XQR6DBm8BqYjN7CRzw+xKUbVVbbW9w= +github.com/onsi/ginkgo v1.8.0/go.mod h1:lLunBs/Ym6LB5Z9jYTR76FiuTmxDTDusOGeTQH+WWjE= +github.com/onsi/gomega v1.5.0 h1:izbySO9zDPmjJ8rDjLvkA2zJHIo+HkYXHnf7eN7SSyo= +github.com/onsi/gomega v1.5.0/go.mod h1:ex+gbHU/CVuBBDIJjb2X0qEXbFg53c61hWP/1CpauHY= +golang.org/x/net v0.0.0-20180906233101-161cd47e91fd h1:nTDtHvHSdCn1m6ITfMRqtOd/9+7a3s8RBNOZ3eYZzJA= +golang.org/x/net v0.0.0-20180906233101-161cd47e91fd/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= +golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f h1:wMNYb4v58l5UBM7MYRLPG6ZhfOqbKu7X5eyFl8ZhKvA= +golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= +golang.org/x/sys v0.0.0-20180909124046-d0be0721c37e h1:o3PsSEY8E4eXWkXrIP9YJALUkVZqzHJT5DOasTyn8Vs= +golang.org/x/sys v0.0.0-20180909124046-d0be0721c37e/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= +golang.org/x/text v0.3.0 h1:g61tztE5qeGQ89tm6NTjjM9VPIm088od1l6aSorWRWg= +golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= +gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 h1:yhCVgyC4o1eVCa2tZl7eS0r+SDo693bJlVdllGtEeKM= +gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= +gopkg.in/fsnotify.v1 v1.4.7 h1:xOHLXZwVvI9hhs+cLKq5+I5onOuwQLhQwiu63xxlHs4= +gopkg.in/fsnotify.v1 v1.4.7/go.mod h1:Tz8NjZHkW78fSQdbUxIjBTcgA1z1m8ZHf0WmKUhAMys= +gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 h1:uRGJdciOHaEIrze2W8Q3AKkepLTh2hOroT7a+7czfdQ= +gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7/go.mod h1:dt/ZhP58zS4L8KSrWDmTeBkI65Dw0HsyUHuEVlX15mw= +gopkg.in/yaml.v2 v2.2.1 h1:mUhvW9EsL+naU5Q3cakzfE91YhliOondGd6ZrsDBHQE= +gopkg.in/yaml.v2 v2.2.1/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= diff --git a/vendor/github.com/go-redis/redis/internal/BUILD.bazel b/vendor/github.com/go-redis/redis/internal/BUILD.bazel new file mode 100644 index 00000000..4a902d02 --- /dev/null +++ b/vendor/github.com/go-redis/redis/internal/BUILD.bazel @@ -0,0 +1,19 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = [ + "error.go", + "internal.go", + "log.go", + "once.go", + "util.go", + ], + importmap = "github.com/amaizfinance/redis-operator/vendor/github.com/go-redis/redis/internal", + importpath = "github.com/go-redis/redis/internal", + visibility = ["//visibility:public"], + deps = [ + "//vendor/github.com/go-redis/redis/internal/proto:go_default_library", + "//vendor/github.com/go-redis/redis/internal/util:go_default_library", + ], +) diff --git a/vendor/github.com/go-redis/redis/internal/consistenthash/BUILD.bazel b/vendor/github.com/go-redis/redis/internal/consistenthash/BUILD.bazel new file mode 100644 index 00000000..4399f58a --- /dev/null +++ b/vendor/github.com/go-redis/redis/internal/consistenthash/BUILD.bazel @@ -0,0 +1,9 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = ["consistenthash.go"], + importmap = "github.com/amaizfinance/redis-operator/vendor/github.com/go-redis/redis/internal/consistenthash", + importpath = "github.com/go-redis/redis/internal/consistenthash", + visibility = ["//vendor/github.com/go-redis/redis:__subpackages__"], +) diff --git a/vendor/github.com/go-redis/redis/internal/hashtag/BUILD.bazel b/vendor/github.com/go-redis/redis/internal/hashtag/BUILD.bazel new file mode 100644 index 00000000..41e0f7a2 --- /dev/null +++ b/vendor/github.com/go-redis/redis/internal/hashtag/BUILD.bazel @@ -0,0 +1,9 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = ["hashtag.go"], + importmap = "github.com/amaizfinance/redis-operator/vendor/github.com/go-redis/redis/internal/hashtag", + importpath = "github.com/go-redis/redis/internal/hashtag", + visibility = ["//vendor/github.com/go-redis/redis:__subpackages__"], +) diff --git a/vendor/github.com/go-redis/redis/internal/pool/BUILD.bazel b/vendor/github.com/go-redis/redis/internal/pool/BUILD.bazel new file mode 100644 index 00000000..579fa1a8 --- /dev/null +++ b/vendor/github.com/go-redis/redis/internal/pool/BUILD.bazel @@ -0,0 +1,18 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = [ + "conn.go", + "pool.go", + "pool_single.go", + "pool_sticky.go", + ], + importmap = "github.com/amaizfinance/redis-operator/vendor/github.com/go-redis/redis/internal/pool", + importpath = "github.com/go-redis/redis/internal/pool", + visibility = ["//vendor/github.com/go-redis/redis:__subpackages__"], + deps = [ + "//vendor/github.com/go-redis/redis/internal:go_default_library", + "//vendor/github.com/go-redis/redis/internal/proto:go_default_library", + ], +) diff --git a/vendor/github.com/go-redis/redis/internal/pool/conn.go b/vendor/github.com/go-redis/redis/internal/pool/conn.go index 1095bfe5..ac48113b 100644 --- a/vendor/github.com/go-redis/redis/internal/pool/conn.go +++ b/vendor/github.com/go-redis/redis/internal/pool/conn.go @@ -17,14 +17,16 @@ type Conn struct { rdLocked bool wr *proto.Writer - InitedAt time.Time - pooled bool - usedAt atomic.Value + Inited bool + pooled bool + createdAt time.Time + usedAt atomic.Value } func NewConn(netConn net.Conn) *Conn { cn := &Conn{ - netConn: netConn, + netConn: netConn, + createdAt: time.Now(), } cn.rd = proto.NewReader(netConn) cn.wr = proto.NewWriter(netConn) diff --git a/vendor/github.com/go-redis/redis/internal/pool/pool.go b/vendor/github.com/go-redis/redis/internal/pool/pool.go index 9cecee8a..cd4c8d69 100644 --- a/vendor/github.com/go-redis/redis/internal/pool/pool.go +++ b/vendor/github.com/go-redis/redis/internal/pool/pool.go @@ -38,7 +38,7 @@ type Pooler interface { Get() (*Conn, error) Put(*Conn) - Remove(*Conn) + Remove(*Conn, error) Len() int IdleLen() int @@ -289,7 +289,7 @@ func (p *ConnPool) popIdle() *Conn { func (p *ConnPool) Put(cn *Conn) { if !cn.pooled { - p.Remove(cn) + p.Remove(cn, nil) return } @@ -300,7 +300,7 @@ func (p *ConnPool) Put(cn *Conn) { p.freeTurn() } -func (p *ConnPool) Remove(cn *Conn) { +func (p *ConnPool) Remove(cn *Conn, reason error) { p.removeConn(cn) p.freeTurn() _ = p.closeConn(cn) @@ -468,7 +468,7 @@ func (p *ConnPool) isStaleConn(cn *Conn) bool { if p.opt.IdleTimeout > 0 && now.Sub(cn.UsedAt()) >= p.opt.IdleTimeout { return true } - if p.opt.MaxConnAge > 0 && now.Sub(cn.InitedAt) >= p.opt.MaxConnAge { + if p.opt.MaxConnAge > 0 && now.Sub(cn.createdAt) >= p.opt.MaxConnAge { return true } diff --git a/vendor/github.com/go-redis/redis/internal/pool/pool_single.go b/vendor/github.com/go-redis/redis/internal/pool/pool_single.go index b35b78af..cd0289b6 100644 --- a/vendor/github.com/go-redis/redis/internal/pool/pool_single.go +++ b/vendor/github.com/go-redis/redis/internal/pool/pool_single.go @@ -1,53 +1,203 @@ package pool +import ( + "fmt" + "sync/atomic" +) + +const ( + stateDefault = 0 + stateInited = 1 + stateClosed = 2 +) + +type BadConnError struct { + wrapped error +} + +var _ error = (*BadConnError)(nil) + +func (e BadConnError) Error() string { + return "pg: Conn is in a bad state" +} + +func (e BadConnError) Unwrap() error { + return e.wrapped +} + type SingleConnPool struct { - cn *Conn + pool Pooler + level int32 // atomic + + state uint32 // atomic + ch chan *Conn + + _badConnError atomic.Value } var _ Pooler = (*SingleConnPool)(nil) -func NewSingleConnPool(cn *Conn) *SingleConnPool { - return &SingleConnPool{ - cn: cn, +func NewSingleConnPool(pool Pooler) *SingleConnPool { + p, ok := pool.(*SingleConnPool) + if !ok { + p = &SingleConnPool{ + pool: pool, + ch: make(chan *Conn, 1), + } + } + atomic.AddInt32(&p.level, 1) + return p +} + +func (p *SingleConnPool) SetConn(cn *Conn) { + if atomic.CompareAndSwapUint32(&p.state, stateDefault, stateInited) { + p.ch <- cn + } else { + panic("not reached") } } func (p *SingleConnPool) NewConn() (*Conn, error) { - panic("not implemented") + return p.pool.NewConn() } -func (p *SingleConnPool) CloseConn(*Conn) error { - panic("not implemented") +func (p *SingleConnPool) CloseConn(cn *Conn) error { + return p.pool.CloseConn(cn) } func (p *SingleConnPool) Get() (*Conn, error) { - return p.cn, nil + // In worst case this races with Close which is not a very common operation. + for i := 0; i < 1000; i++ { + switch atomic.LoadUint32(&p.state) { + case stateDefault: + cn, err := p.pool.Get() + if err != nil { + return nil, err + } + if atomic.CompareAndSwapUint32(&p.state, stateDefault, stateInited) { + return cn, nil + } + p.pool.Remove(cn, ErrClosed) + case stateInited: + if err := p.badConnError(); err != nil { + return nil, err + } + cn, ok := <-p.ch + if !ok { + return nil, ErrClosed + } + return cn, nil + case stateClosed: + return nil, ErrClosed + default: + panic("not reached") + } + } + return nil, fmt.Errorf("pg: SingleConnPool.Get: infinite loop") } func (p *SingleConnPool) Put(cn *Conn) { - if p.cn != cn { - panic("p.cn != cn") - } + defer func() { + if recover() != nil { + p.freeConn(cn) + } + }() + p.ch <- cn } -func (p *SingleConnPool) Remove(cn *Conn) { - if p.cn != cn { - panic("p.cn != cn") +func (p *SingleConnPool) freeConn(cn *Conn) { + if err := p.badConnError(); err != nil { + p.pool.Remove(cn, err) + } else { + p.pool.Put(cn) } } +func (p *SingleConnPool) Remove(cn *Conn, reason error) { + defer func() { + if recover() != nil { + p.pool.Remove(cn, ErrClosed) + } + }() + p._badConnError.Store(BadConnError{wrapped: reason}) + p.ch <- cn +} + func (p *SingleConnPool) Len() int { - return 1 + switch atomic.LoadUint32(&p.state) { + case stateDefault: + return 0 + case stateInited: + return 1 + case stateClosed: + return 0 + default: + panic("not reached") + } } func (p *SingleConnPool) IdleLen() int { - return 0 + return len(p.ch) } func (p *SingleConnPool) Stats() *Stats { - return nil + return &Stats{} } func (p *SingleConnPool) Close() error { + level := atomic.AddInt32(&p.level, -1) + if level > 0 { + return nil + } + + for i := 0; i < 1000; i++ { + state := atomic.LoadUint32(&p.state) + if state == stateClosed { + return ErrClosed + } + if atomic.CompareAndSwapUint32(&p.state, state, stateClosed) { + close(p.ch) + cn, ok := <-p.ch + if ok { + p.freeConn(cn) + } + return nil + } + } + + return fmt.Errorf("pg: SingleConnPool.Close: infinite loop") +} + +func (p *SingleConnPool) Reset() error { + if p.badConnError() == nil { + return nil + } + + select { + case cn, ok := <-p.ch: + if !ok { + return ErrClosed + } + p.pool.Remove(cn, ErrClosed) + p._badConnError.Store(BadConnError{wrapped: nil}) + default: + return fmt.Errorf("pg: SingleConnPool does not have a Conn") + } + + if !atomic.CompareAndSwapUint32(&p.state, stateInited, stateDefault) { + state := atomic.LoadUint32(&p.state) + return fmt.Errorf("pg: invalid SingleConnPool state: %d", state) + } + + return nil +} + +func (p *SingleConnPool) badConnError() error { + if v := p._badConnError.Load(); v != nil { + err := v.(BadConnError) + if err.wrapped != nil { + return err + } + } return nil } diff --git a/vendor/github.com/go-redis/redis/internal/pool/pool_sticky.go b/vendor/github.com/go-redis/redis/internal/pool/pool_sticky.go index 91bd9133..3e8f5036 100644 --- a/vendor/github.com/go-redis/redis/internal/pool/pool_sticky.go +++ b/vendor/github.com/go-redis/redis/internal/pool/pool_sticky.go @@ -55,13 +55,13 @@ func (p *StickyConnPool) putUpstream() { func (p *StickyConnPool) Put(cn *Conn) {} -func (p *StickyConnPool) removeUpstream() { - p.pool.Remove(p.cn) +func (p *StickyConnPool) removeUpstream(reason error) { + p.pool.Remove(p.cn, reason) p.cn = nil } -func (p *StickyConnPool) Remove(cn *Conn) { - p.removeUpstream() +func (p *StickyConnPool) Remove(cn *Conn, reason error) { + p.removeUpstream(reason) } func (p *StickyConnPool) Len() int { @@ -101,7 +101,7 @@ func (p *StickyConnPool) Close() error { if p.reusable { p.putUpstream() } else { - p.removeUpstream() + p.removeUpstream(ErrClosed) } } diff --git a/vendor/github.com/go-redis/redis/internal/proto/BUILD.bazel b/vendor/github.com/go-redis/redis/internal/proto/BUILD.bazel new file mode 100644 index 00000000..b7320f0a --- /dev/null +++ b/vendor/github.com/go-redis/redis/internal/proto/BUILD.bazel @@ -0,0 +1,14 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = [ + "reader.go", + "scan.go", + "writer.go", + ], + importmap = "github.com/amaizfinance/redis-operator/vendor/github.com/go-redis/redis/internal/proto", + importpath = "github.com/go-redis/redis/internal/proto", + visibility = ["//vendor/github.com/go-redis/redis:__subpackages__"], + deps = ["//vendor/github.com/go-redis/redis/internal/util:go_default_library"], +) diff --git a/vendor/github.com/go-redis/redis/internal/util.go b/vendor/github.com/go-redis/redis/internal/util.go index ffd2353e..80a60038 100644 --- a/vendor/github.com/go-redis/redis/internal/util.go +++ b/vendor/github.com/go-redis/redis/internal/util.go @@ -27,3 +27,13 @@ func isLower(s string) bool { } return true } + +func Unwrap(err error) error { + u, ok := err.(interface { + Unwrap() error + }) + if !ok { + return nil + } + return u.Unwrap() +} diff --git a/vendor/github.com/go-redis/redis/internal/util/BUILD.bazel b/vendor/github.com/go-redis/redis/internal/util/BUILD.bazel new file mode 100644 index 00000000..c10b1194 --- /dev/null +++ b/vendor/github.com/go-redis/redis/internal/util/BUILD.bazel @@ -0,0 +1,12 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = [ + "strconv.go", + "unsafe.go", + ], + importmap = "github.com/amaizfinance/redis-operator/vendor/github.com/go-redis/redis/internal/util", + importpath = "github.com/go-redis/redis/internal/util", + visibility = ["//vendor/github.com/go-redis/redis:__subpackages__"], +) diff --git a/vendor/github.com/go-redis/redis/pipeline.go b/vendor/github.com/go-redis/redis/pipeline.go index b3a8844a..2714ceb8 100644 --- a/vendor/github.com/go-redis/redis/pipeline.go +++ b/vendor/github.com/go-redis/redis/pipeline.go @@ -8,6 +8,19 @@ import ( type pipelineExecer func([]Cmder) error +// Pipeliner is an mechanism to realise Redis Pipeline technique. +// +// Pipelining is a technique to extremely speed up processing by packing +// operations to batches, send them at once to Redis and read a replies in a +// singe step. +// See https://redis.io/topics/pipelining +// +// Pay attention, that Pipeline is not a transaction, so you can get unexpected +// results in case of big pipelines and small read/write timeouts. +// Redis client has retransmission logic in case of timeouts, pipeline +// can be retransmitted and commands can be executed more then once. +// To avoid this: it is good idea to use reasonable bigger read/write timeouts +// depends of your batch size and/or use TxPipeline. type Pipeliner interface { StatefulCmdable Do(args ...interface{}) *Cmd diff --git a/vendor/github.com/go-redis/redis/pubsub.go b/vendor/github.com/go-redis/redis/pubsub.go index 0afb47cd..03b01566 100644 --- a/vendor/github.com/go-redis/redis/pubsub.go +++ b/vendor/github.com/go-redis/redis/pubsub.go @@ -3,6 +3,7 @@ package redis import ( "errors" "fmt" + "strings" "sync" "time" @@ -13,7 +14,7 @@ import ( var errPingTimeout = errors.New("redis: ping timeout") -// PubSub implements Pub/Sub commands bas described in +// PubSub implements Pub/Sub commands as described in // http://redis.io/topics/pubsub. Message receiving is NOT safe // for concurrent use by multiple goroutines. // @@ -29,8 +30,9 @@ type PubSub struct { cn *pool.Conn channels map[string]struct{} patterns map[string]struct{} - closed bool - exit chan struct{} + + closed bool + exit chan struct{} cmd *Cmd @@ -39,6 +41,12 @@ type PubSub struct { ping chan struct{} } +func (c *PubSub) String() string { + channels := mapKeys(c.channels) + channels = append(channels, mapKeys(c.patterns)...) + return fmt.Sprintf("PubSub(%s)", strings.Join(channels, ", ")) +} + func (c *PubSub) init() { c.exit = make(chan struct{}) } @@ -389,16 +397,39 @@ func (c *PubSub) ReceiveMessage() (*Message, error) { // It periodically sends Ping messages to test connection health. // The channel is closed with PubSub. Receive* APIs can not be used // after channel is created. +// +// If the Go channel is full for 30 seconds the message is dropped. func (c *PubSub) Channel() <-chan *Message { - c.chOnce.Do(c.initChannel) + return c.channel(100) +} + +// ChannelSize is like Channel, but creates a Go channel +// with specified buffer size. +func (c *PubSub) ChannelSize(size int) <-chan *Message { + return c.channel(size) +} + +func (c *PubSub) channel(size int) <-chan *Message { + c.chOnce.Do(func() { + c.initChannel(size) + }) + if cap(c.ch) != size { + err := fmt.Errorf("redis: PubSub.Channel is called with different buffer size") + panic(err) + } return c.ch } -func (c *PubSub) initChannel() { - c.ch = make(chan *Message, 100) - c.ping = make(chan struct{}, 10) +func (c *PubSub) initChannel(size int) { + const timeout = 30 * time.Second + + c.ch = make(chan *Message, size) + c.ping = make(chan struct{}, 1) go func() { + timer := time.NewTimer(timeout) + timer.Stop() + var errCount int for { msg, err := c.Receive() @@ -413,6 +444,7 @@ func (c *PubSub) initChannel() { errCount++ continue } + errCount = 0 // Any message is as good as a ping. @@ -427,16 +459,24 @@ func (c *PubSub) initChannel() { case *Pong: // Ignore. case *Message: - c.ch <- msg + timer.Reset(timeout) + select { + case c.ch <- msg: + if !timer.Stop() { + <-timer.C + } + case <-timer.C: + internal.Logf( + "redis: %s channel is full for %s (message is dropped)", + c, timeout) + } default: - internal.Logf("redis: unknown message: %T", msg) + internal.Logf("redis: unknown message type: %T", msg) } } }() go func() { - const timeout = 5 * time.Second - timer := time.NewTimer(timeout) timer.Stop() diff --git a/vendor/github.com/go-redis/redis/redis.go b/vendor/github.com/go-redis/redis/redis.go index aca30648..2a6013c3 100644 --- a/vendor/github.com/go-redis/redis/redis.go +++ b/vendor/github.com/go-redis/redis/redis.go @@ -51,11 +51,10 @@ func (c *baseClient) newConn() (*pool.Conn, error) { return nil, err } - if cn.InitedAt.IsZero() { - if err := c.initConn(cn); err != nil { - _ = c.connPool.CloseConn(cn) - return nil, err - } + err = c.initConn(cn) + if err != nil { + _ = c.connPool.CloseConn(cn) + return nil, err } return cn, nil @@ -85,12 +84,13 @@ func (c *baseClient) _getConn() (*pool.Conn, error) { return nil, err } - if cn.InitedAt.IsZero() { - err := c.initConn(cn) - if err != nil { - c.connPool.Remove(cn) + err = c.initConn(cn) + if err != nil { + c.connPool.Remove(cn, err) + if err := internal.Unwrap(err); err != nil { return nil, err } + return nil, err } return cn, nil @@ -102,7 +102,7 @@ func (c *baseClient) releaseConn(cn *pool.Conn, err error) { } if internal.IsBadConn(err, false) { - c.connPool.Remove(cn) + c.connPool.Remove(cn, err) } else { c.connPool.Put(cn) } @@ -116,12 +116,15 @@ func (c *baseClient) releaseConnStrict(cn *pool.Conn, err error) { if err == nil || internal.IsRedisError(err) { c.connPool.Put(cn) } else { - c.connPool.Remove(cn) + c.connPool.Remove(cn, err) } } func (c *baseClient) initConn(cn *pool.Conn) error { - cn.InitedAt = time.Now() + if cn.Inited { + return nil + } + cn.Inited = true if c.opt.Password == "" && c.opt.DB == 0 && @@ -201,9 +204,7 @@ func (c *baseClient) defaultProcess(cmd Cmder) error { return err } - err = cn.WithReader(c.cmdTimeout(cmd), func(rd *proto.Reader) error { - return cmd.readReply(rd) - }) + err = cn.WithReader(c.cmdTimeout(cmd), cmd.readReply) c.releaseConn(cn, err) if err != nil && internal.IsRetryableError(err, cmd.readTimeout() == nil) { continue @@ -237,7 +238,7 @@ func (c *baseClient) cmdTimeout(cmd Cmder) time.Duration { func (c *baseClient) Close() error { var firstErr error if c.onClose != nil { - if err := c.onClose(); err != nil && firstErr == nil { + if err := c.onClose(); err != nil { firstErr = err } } @@ -543,10 +544,12 @@ type Conn struct { } func newConn(opt *Options, cn *pool.Conn) *Conn { + connPool := pool.NewSingleConnPool(nil) + connPool.SetConn(cn) c := Conn{ baseClient: baseClient{ opt: opt, - connPool: pool.NewSingleConnPool(cn), + connPool: connPool, }, } c.baseClient.init() diff --git a/vendor/github.com/go-redis/redis/ring.go b/vendor/github.com/go-redis/redis/ring.go index 250e5f64..5956b71a 100644 --- a/vendor/github.com/go-redis/redis/ring.go +++ b/vendor/github.com/go-redis/redis/ring.go @@ -273,9 +273,13 @@ func (c *ringShards) Heartbeat(frequency time.Duration) { // rebalance removes dead shards from the Ring. func (c *ringShards) rebalance() { + c.mu.RLock() + shards := c.shards + c.mu.RUnlock() + hash := newConsistentHash(c.opt) var shardsNum int - for name, shard := range c.shards { + for name, shard := range shards { if shard.IsUp() { hash.Add(name) shardsNum++ @@ -357,7 +361,8 @@ func NewRing(opt *RingOptions) *Ring { ring.process = ring.defaultProcess ring.processPipeline = ring.defaultProcessPipeline - ring.cmdable.setProcessor(ring.Process) + + ring.init() for name, addr := range opt.Addrs { clopt := opt.clientOptions() @@ -370,6 +375,10 @@ func NewRing(opt *RingOptions) *Ring { return ring } +func (c *Ring) init() { + c.cmdable.setProcessor(c.Process) +} + func (c *Ring) Context() context.Context { if c.ctx != nil { return c.ctx @@ -381,13 +390,15 @@ func (c *Ring) WithContext(ctx context.Context) *Ring { if ctx == nil { panic("nil context") } - c2 := c.copy() + c2 := c.clone() c2.ctx = ctx return c2 } -func (c *Ring) copy() *Ring { +func (c *Ring) clone() *Ring { cp := *c + cp.init() + return &cp } @@ -653,6 +664,39 @@ func (c *Ring) Close() error { return c.shards.Close() } +func (c *Ring) Watch(fn func(*Tx) error, keys ...string) error { + if len(keys) == 0 { + return fmt.Errorf("redis: Watch requires at least one key") + } + + var shards []*ringShard + for _, key := range keys { + if key != "" { + shard, err := c.shards.GetByKey(hashtag.Key(key)) + if err != nil { + return err + } + + shards = append(shards, shard) + } + } + + if len(shards) == 0 { + return fmt.Errorf("redis: Watch requires at least one shard") + } + + if len(shards) > 1 { + for _, shard := range shards[1:] { + if shard.Client != shards[0].Client { + err := fmt.Errorf("redis: Watch requires all keys to be in the same shard") + return err + } + } + } + + return shards[0].Client.Watch(fn, keys...) +} + func newConsistentHash(opt *RingOptions) *consistenthash.Map { return consistenthash.New(opt.HashReplicas, consistenthash.Hash(opt.Hash)) } diff --git a/vendor/github.com/go-redis/redis/sentinel.go b/vendor/github.com/go-redis/redis/sentinel.go index 7cbb90bd..016aa765 100644 --- a/vendor/github.com/go-redis/redis/sentinel.go +++ b/vendor/github.com/go-redis/redis/sentinel.go @@ -90,9 +90,7 @@ func NewFailoverClient(failoverOpt *FailoverOptions) *Client { opt: opt, connPool: failover.Pool(), - onClose: func() error { - return failover.Close() - }, + onClose: failover.Close, }, } c.baseClient.init() @@ -182,6 +180,21 @@ func (c *SentinelClient) Reset(pattern string) *IntCmd { return cmd } +// FlushConfig forces Sentinel to rewrite its configuration on disk, including +// the current Sentinel state. +func (c *SentinelClient) FlushConfig() *StatusCmd { + cmd := NewStatusCmd("sentinel", "flushconfig") + c.Process(cmd) + return cmd +} + +// Master shows the state and info of the specified master. +func (c *SentinelClient) Master(name string) *StringStringMapCmd { + cmd := NewStringStringMapCmd("sentinel", "master", name) + c.Process(cmd) + return cmd +} + type sentinelFailover struct { sentinelAddrs []string @@ -376,8 +389,7 @@ func (c *sentinelFailover) listen(pubsub *PubSub) { break } - switch msg.Channel { - case "+switch-master": + if msg.Channel == "+switch-master" { parts := strings.Split(msg.Payload, " ") if parts[0] != c.masterName { internal.Logf("sentinel: ignore addr for master=%q", parts[0]) diff --git a/vendor/github.com/go-redis/redis/universal.go b/vendor/github.com/go-redis/redis/universal.go index a6075624..03bfa0fa 100644 --- a/vendor/github.com/go-redis/redis/universal.go +++ b/vendor/github.com/go-redis/redis/universal.go @@ -155,6 +155,7 @@ type UniversalClient interface { Watch(fn func(*Tx) error, keys ...string) error Process(cmd Cmder) error WrapProcess(fn func(oldProcess func(cmd Cmder) error) func(cmd Cmder) error) + WrapProcessPipeline(fn func(oldProcess func([]Cmder) error) func([]Cmder) error) Subscribe(channels ...string) *PubSub PSubscribe(channels ...string) *PubSub Close() error diff --git a/vendor/github.com/gobuffalo/envy/BUILD.bazel b/vendor/github.com/gobuffalo/envy/BUILD.bazel new file mode 100644 index 00000000..992e6815 --- /dev/null +++ b/vendor/github.com/gobuffalo/envy/BUILD.bazel @@ -0,0 +1,16 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = [ + "envy.go", + "version.go", + ], + importmap = "github.com/amaizfinance/redis-operator/vendor/github.com/gobuffalo/envy", + importpath = "github.com/gobuffalo/envy", + visibility = ["//visibility:public"], + deps = [ + "//vendor/github.com/joho/godotenv:go_default_library", + "//vendor/github.com/rogpeppe/go-internal/modfile:go_default_library", + ], +) diff --git a/vendor/github.com/gogo/protobuf/proto/BUILD.bazel b/vendor/github.com/gogo/protobuf/proto/BUILD.bazel new file mode 100644 index 00000000..c89acae0 --- /dev/null +++ b/vendor/github.com/gogo/protobuf/proto/BUILD.bazel @@ -0,0 +1,42 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = [ + "clone.go", + "custom_gogo.go", + "decode.go", + "deprecated.go", + "discard.go", + "duration.go", + "duration_gogo.go", + "encode.go", + "encode_gogo.go", + "equal.go", + "extensions.go", + "extensions_gogo.go", + "lib.go", + "lib_gogo.go", + "message_set.go", + "pointer_unsafe.go", + "pointer_unsafe_gogo.go", + "properties.go", + "properties_gogo.go", + "skip_gogo.go", + "table_marshal.go", + "table_marshal_gogo.go", + "table_merge.go", + "table_unmarshal.go", + "table_unmarshal_gogo.go", + "text.go", + "text_gogo.go", + "text_parser.go", + "timestamp.go", + "timestamp_gogo.go", + "wrappers.go", + "wrappers_gogo.go", + ], + importmap = "github.com/amaizfinance/redis-operator/vendor/github.com/gogo/protobuf/proto", + importpath = "github.com/gogo/protobuf/proto", + visibility = ["//visibility:public"], +) diff --git a/vendor/github.com/gogo/protobuf/sortkeys/BUILD.bazel b/vendor/github.com/gogo/protobuf/sortkeys/BUILD.bazel new file mode 100644 index 00000000..40cf3469 --- /dev/null +++ b/vendor/github.com/gogo/protobuf/sortkeys/BUILD.bazel @@ -0,0 +1,9 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = ["sortkeys.go"], + importmap = "github.com/amaizfinance/redis-operator/vendor/github.com/gogo/protobuf/sortkeys", + importpath = "github.com/gogo/protobuf/sortkeys", + visibility = ["//visibility:public"], +) diff --git a/vendor/github.com/golang/groupcache/lru/BUILD.bazel b/vendor/github.com/golang/groupcache/lru/BUILD.bazel new file mode 100644 index 00000000..772e84b6 --- /dev/null +++ b/vendor/github.com/golang/groupcache/lru/BUILD.bazel @@ -0,0 +1,9 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = ["lru.go"], + importmap = "github.com/amaizfinance/redis-operator/vendor/github.com/golang/groupcache/lru", + importpath = "github.com/golang/groupcache/lru", + visibility = ["//visibility:public"], +) diff --git a/vendor/github.com/golang/protobuf/jsonpb/BUILD.bazel b/vendor/github.com/golang/protobuf/jsonpb/BUILD.bazel new file mode 100644 index 00000000..d7ed0e1d --- /dev/null +++ b/vendor/github.com/golang/protobuf/jsonpb/BUILD.bazel @@ -0,0 +1,13 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = ["jsonpb.go"], + importmap = "github.com/amaizfinance/redis-operator/vendor/github.com/golang/protobuf/jsonpb", + importpath = "github.com/golang/protobuf/jsonpb", + visibility = ["//visibility:public"], + deps = [ + "//vendor/github.com/golang/protobuf/proto:go_default_library", + "//vendor/github.com/golang/protobuf/ptypes/struct:go_default_library", + ], +) diff --git a/vendor/github.com/golang/protobuf/proto/BUILD.bazel b/vendor/github.com/golang/protobuf/proto/BUILD.bazel new file mode 100644 index 00000000..432f7e74 --- /dev/null +++ b/vendor/github.com/golang/protobuf/proto/BUILD.bazel @@ -0,0 +1,26 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = [ + "clone.go", + "decode.go", + "deprecated.go", + "discard.go", + "encode.go", + "equal.go", + "extensions.go", + "lib.go", + "message_set.go", + "pointer_unsafe.go", + "properties.go", + "table_marshal.go", + "table_merge.go", + "table_unmarshal.go", + "text.go", + "text_parser.go", + ], + importmap = "github.com/amaizfinance/redis-operator/vendor/github.com/golang/protobuf/proto", + importpath = "github.com/golang/protobuf/proto", + visibility = ["//visibility:public"], +) diff --git a/vendor/github.com/golang/protobuf/protoc-gen-go/descriptor/BUILD.bazel b/vendor/github.com/golang/protobuf/protoc-gen-go/descriptor/BUILD.bazel new file mode 100644 index 00000000..fc1dec64 --- /dev/null +++ b/vendor/github.com/golang/protobuf/protoc-gen-go/descriptor/BUILD.bazel @@ -0,0 +1,10 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = ["descriptor.pb.go"], + importmap = "github.com/amaizfinance/redis-operator/vendor/github.com/golang/protobuf/protoc-gen-go/descriptor", + importpath = "github.com/golang/protobuf/protoc-gen-go/descriptor", + visibility = ["//visibility:public"], + deps = ["//vendor/github.com/golang/protobuf/proto:go_default_library"], +) diff --git a/vendor/github.com/golang/protobuf/protoc-gen-go/generator/BUILD.bazel b/vendor/github.com/golang/protobuf/protoc-gen-go/generator/BUILD.bazel new file mode 100644 index 00000000..9cdf84e7 --- /dev/null +++ b/vendor/github.com/golang/protobuf/protoc-gen-go/generator/BUILD.bazel @@ -0,0 +1,15 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = ["generator.go"], + importmap = "github.com/amaizfinance/redis-operator/vendor/github.com/golang/protobuf/protoc-gen-go/generator", + importpath = "github.com/golang/protobuf/protoc-gen-go/generator", + visibility = ["//visibility:public"], + deps = [ + "//vendor/github.com/golang/protobuf/proto:go_default_library", + "//vendor/github.com/golang/protobuf/protoc-gen-go/descriptor:go_default_library", + "//vendor/github.com/golang/protobuf/protoc-gen-go/generator/internal/remap:go_default_library", + "//vendor/github.com/golang/protobuf/protoc-gen-go/plugin:go_default_library", + ], +) diff --git a/vendor/github.com/golang/protobuf/protoc-gen-go/generator/internal/remap/BUILD.bazel b/vendor/github.com/golang/protobuf/protoc-gen-go/generator/internal/remap/BUILD.bazel new file mode 100644 index 00000000..4a3ca212 --- /dev/null +++ b/vendor/github.com/golang/protobuf/protoc-gen-go/generator/internal/remap/BUILD.bazel @@ -0,0 +1,9 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = ["remap.go"], + importmap = "github.com/amaizfinance/redis-operator/vendor/github.com/golang/protobuf/protoc-gen-go/generator/internal/remap", + importpath = "github.com/golang/protobuf/protoc-gen-go/generator/internal/remap", + visibility = ["//vendor/github.com/golang/protobuf/protoc-gen-go/generator:__subpackages__"], +) diff --git a/vendor/github.com/golang/protobuf/protoc-gen-go/plugin/BUILD.bazel b/vendor/github.com/golang/protobuf/protoc-gen-go/plugin/BUILD.bazel new file mode 100644 index 00000000..34a41598 --- /dev/null +++ b/vendor/github.com/golang/protobuf/protoc-gen-go/plugin/BUILD.bazel @@ -0,0 +1,13 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = ["plugin.pb.go"], + importmap = "github.com/amaizfinance/redis-operator/vendor/github.com/golang/protobuf/protoc-gen-go/plugin", + importpath = "github.com/golang/protobuf/protoc-gen-go/plugin", + visibility = ["//visibility:public"], + deps = [ + "//vendor/github.com/golang/protobuf/proto:go_default_library", + "//vendor/github.com/golang/protobuf/protoc-gen-go/descriptor:go_default_library", + ], +) diff --git a/vendor/github.com/golang/protobuf/ptypes/BUILD.bazel b/vendor/github.com/golang/protobuf/ptypes/BUILD.bazel new file mode 100644 index 00000000..e7bd7e35 --- /dev/null +++ b/vendor/github.com/golang/protobuf/ptypes/BUILD.bazel @@ -0,0 +1,20 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = [ + "any.go", + "doc.go", + "duration.go", + "timestamp.go", + ], + importmap = "github.com/amaizfinance/redis-operator/vendor/github.com/golang/protobuf/ptypes", + importpath = "github.com/golang/protobuf/ptypes", + visibility = ["//visibility:public"], + deps = [ + "//vendor/github.com/golang/protobuf/proto:go_default_library", + "//vendor/github.com/golang/protobuf/ptypes/any:go_default_library", + "//vendor/github.com/golang/protobuf/ptypes/duration:go_default_library", + "//vendor/github.com/golang/protobuf/ptypes/timestamp:go_default_library", + ], +) diff --git a/vendor/github.com/golang/protobuf/ptypes/any/BUILD.bazel b/vendor/github.com/golang/protobuf/ptypes/any/BUILD.bazel new file mode 100644 index 00000000..ed4a8809 --- /dev/null +++ b/vendor/github.com/golang/protobuf/ptypes/any/BUILD.bazel @@ -0,0 +1,10 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = ["any.pb.go"], + importmap = "github.com/amaizfinance/redis-operator/vendor/github.com/golang/protobuf/ptypes/any", + importpath = "github.com/golang/protobuf/ptypes/any", + visibility = ["//visibility:public"], + deps = ["//vendor/github.com/golang/protobuf/proto:go_default_library"], +) diff --git a/vendor/github.com/golang/protobuf/ptypes/duration/BUILD.bazel b/vendor/github.com/golang/protobuf/ptypes/duration/BUILD.bazel new file mode 100644 index 00000000..0846f1c8 --- /dev/null +++ b/vendor/github.com/golang/protobuf/ptypes/duration/BUILD.bazel @@ -0,0 +1,10 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = ["duration.pb.go"], + importmap = "github.com/amaizfinance/redis-operator/vendor/github.com/golang/protobuf/ptypes/duration", + importpath = "github.com/golang/protobuf/ptypes/duration", + visibility = ["//visibility:public"], + deps = ["//vendor/github.com/golang/protobuf/proto:go_default_library"], +) diff --git a/vendor/github.com/golang/protobuf/ptypes/struct/BUILD.bazel b/vendor/github.com/golang/protobuf/ptypes/struct/BUILD.bazel new file mode 100644 index 00000000..3809c3b6 --- /dev/null +++ b/vendor/github.com/golang/protobuf/ptypes/struct/BUILD.bazel @@ -0,0 +1,10 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = ["struct.pb.go"], + importmap = "github.com/amaizfinance/redis-operator/vendor/github.com/golang/protobuf/ptypes/struct", + importpath = "github.com/golang/protobuf/ptypes/struct", + visibility = ["//visibility:public"], + deps = ["//vendor/github.com/golang/protobuf/proto:go_default_library"], +) diff --git a/vendor/github.com/golang/protobuf/ptypes/timestamp/BUILD.bazel b/vendor/github.com/golang/protobuf/ptypes/timestamp/BUILD.bazel new file mode 100644 index 00000000..8d02a36d --- /dev/null +++ b/vendor/github.com/golang/protobuf/ptypes/timestamp/BUILD.bazel @@ -0,0 +1,10 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = ["timestamp.pb.go"], + importmap = "github.com/amaizfinance/redis-operator/vendor/github.com/golang/protobuf/ptypes/timestamp", + importpath = "github.com/golang/protobuf/ptypes/timestamp", + visibility = ["//visibility:public"], + deps = ["//vendor/github.com/golang/protobuf/proto:go_default_library"], +) diff --git a/vendor/github.com/golang/protobuf/ptypes/wrappers/BUILD.bazel b/vendor/github.com/golang/protobuf/ptypes/wrappers/BUILD.bazel new file mode 100644 index 00000000..9c9315e8 --- /dev/null +++ b/vendor/github.com/golang/protobuf/ptypes/wrappers/BUILD.bazel @@ -0,0 +1,10 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = ["wrappers.pb.go"], + importmap = "github.com/amaizfinance/redis-operator/vendor/github.com/golang/protobuf/ptypes/wrappers", + importpath = "github.com/golang/protobuf/ptypes/wrappers", + visibility = ["//visibility:public"], + deps = ["//vendor/github.com/golang/protobuf/proto:go_default_library"], +) diff --git a/vendor/github.com/google/btree/BUILD.bazel b/vendor/github.com/google/btree/BUILD.bazel new file mode 100644 index 00000000..f4d7db51 --- /dev/null +++ b/vendor/github.com/google/btree/BUILD.bazel @@ -0,0 +1,9 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = ["btree.go"], + importmap = "github.com/amaizfinance/redis-operator/vendor/github.com/google/btree", + importpath = "github.com/google/btree", + visibility = ["//visibility:public"], +) diff --git a/vendor/github.com/google/gofuzz/BUILD.bazel b/vendor/github.com/google/gofuzz/BUILD.bazel new file mode 100644 index 00000000..5060e3b9 --- /dev/null +++ b/vendor/github.com/google/gofuzz/BUILD.bazel @@ -0,0 +1,12 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = [ + "doc.go", + "fuzz.go", + ], + importmap = "github.com/amaizfinance/redis-operator/vendor/github.com/google/gofuzz", + importpath = "github.com/google/gofuzz", + visibility = ["//visibility:public"], +) diff --git a/vendor/github.com/google/uuid/BUILD.bazel b/vendor/github.com/google/uuid/BUILD.bazel new file mode 100644 index 00000000..f256c0e0 --- /dev/null +++ b/vendor/github.com/google/uuid/BUILD.bazel @@ -0,0 +1,22 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = [ + "dce.go", + "doc.go", + "hash.go", + "marshal.go", + "node.go", + "node_net.go", + "sql.go", + "time.go", + "util.go", + "uuid.go", + "version1.go", + "version4.go", + ], + importmap = "github.com/amaizfinance/redis-operator/vendor/github.com/google/uuid", + importpath = "github.com/google/uuid", + visibility = ["//visibility:public"], +) diff --git a/vendor/github.com/googleapis/gnostic/OpenAPIv2/BUILD.bazel b/vendor/github.com/googleapis/gnostic/OpenAPIv2/BUILD.bazel new file mode 100644 index 00000000..e5801366 --- /dev/null +++ b/vendor/github.com/googleapis/gnostic/OpenAPIv2/BUILD.bazel @@ -0,0 +1,18 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = [ + "OpenAPIv2.go", + "OpenAPIv2.pb.go", + ], + importmap = "github.com/amaizfinance/redis-operator/vendor/github.com/googleapis/gnostic/OpenAPIv2", + importpath = "github.com/googleapis/gnostic/OpenAPIv2", + visibility = ["//visibility:public"], + deps = [ + "//vendor/github.com/golang/protobuf/proto:go_default_library", + "//vendor/github.com/golang/protobuf/ptypes/any:go_default_library", + "//vendor/github.com/googleapis/gnostic/compiler:go_default_library", + "//vendor/gopkg.in/yaml.v2:go_default_library", + ], +) diff --git a/vendor/github.com/googleapis/gnostic/compiler/BUILD.bazel b/vendor/github.com/googleapis/gnostic/compiler/BUILD.bazel new file mode 100644 index 00000000..17294e34 --- /dev/null +++ b/vendor/github.com/googleapis/gnostic/compiler/BUILD.bazel @@ -0,0 +1,22 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = [ + "context.go", + "error.go", + "extension-handler.go", + "helpers.go", + "main.go", + "reader.go", + ], + importmap = "github.com/amaizfinance/redis-operator/vendor/github.com/googleapis/gnostic/compiler", + importpath = "github.com/googleapis/gnostic/compiler", + visibility = ["//visibility:public"], + deps = [ + "//vendor/github.com/golang/protobuf/proto:go_default_library", + "//vendor/github.com/golang/protobuf/ptypes/any:go_default_library", + "//vendor/github.com/googleapis/gnostic/extensions:go_default_library", + "//vendor/gopkg.in/yaml.v2:go_default_library", + ], +) diff --git a/vendor/github.com/googleapis/gnostic/extensions/BUILD.bazel b/vendor/github.com/googleapis/gnostic/extensions/BUILD.bazel new file mode 100644 index 00000000..a688ba97 --- /dev/null +++ b/vendor/github.com/googleapis/gnostic/extensions/BUILD.bazel @@ -0,0 +1,17 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = [ + "extension.pb.go", + "extensions.go", + ], + importmap = "github.com/amaizfinance/redis-operator/vendor/github.com/googleapis/gnostic/extensions", + importpath = "github.com/googleapis/gnostic/extensions", + visibility = ["//visibility:public"], + deps = [ + "//vendor/github.com/golang/protobuf/proto:go_default_library", + "//vendor/github.com/golang/protobuf/ptypes:go_default_library", + "//vendor/github.com/golang/protobuf/ptypes/any:go_default_library", + ], +) diff --git a/vendor/github.com/gophercloud/gophercloud/BUILD.bazel b/vendor/github.com/gophercloud/gophercloud/BUILD.bazel new file mode 100644 index 00000000..ecc08878 --- /dev/null +++ b/vendor/github.com/gophercloud/gophercloud/BUILD.bazel @@ -0,0 +1,20 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = [ + "auth_options.go", + "auth_result.go", + "doc.go", + "endpoint_search.go", + "errors.go", + "params.go", + "provider_client.go", + "results.go", + "service_client.go", + "util.go", + ], + importmap = "github.com/amaizfinance/redis-operator/vendor/github.com/gophercloud/gophercloud", + importpath = "github.com/gophercloud/gophercloud", + visibility = ["//visibility:public"], +) diff --git a/vendor/github.com/gophercloud/gophercloud/openstack/BUILD.bazel b/vendor/github.com/gophercloud/gophercloud/openstack/BUILD.bazel new file mode 100644 index 00000000..d11c7024 --- /dev/null +++ b/vendor/github.com/gophercloud/gophercloud/openstack/BUILD.bazel @@ -0,0 +1,21 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = [ + "auth_env.go", + "client.go", + "doc.go", + "endpoint_location.go", + "errors.go", + ], + importmap = "github.com/amaizfinance/redis-operator/vendor/github.com/gophercloud/gophercloud/openstack", + importpath = "github.com/gophercloud/gophercloud/openstack", + visibility = ["//visibility:public"], + deps = [ + "//vendor/github.com/gophercloud/gophercloud:go_default_library", + "//vendor/github.com/gophercloud/gophercloud/openstack/identity/v2/tokens:go_default_library", + "//vendor/github.com/gophercloud/gophercloud/openstack/identity/v3/tokens:go_default_library", + "//vendor/github.com/gophercloud/gophercloud/openstack/utils:go_default_library", + ], +) diff --git a/vendor/github.com/gophercloud/gophercloud/openstack/identity/v2/tenants/BUILD.bazel b/vendor/github.com/gophercloud/gophercloud/openstack/identity/v2/tenants/BUILD.bazel new file mode 100644 index 00000000..2bfa9346 --- /dev/null +++ b/vendor/github.com/gophercloud/gophercloud/openstack/identity/v2/tenants/BUILD.bazel @@ -0,0 +1,18 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = [ + "doc.go", + "requests.go", + "results.go", + "urls.go", + ], + importmap = "github.com/amaizfinance/redis-operator/vendor/github.com/gophercloud/gophercloud/openstack/identity/v2/tenants", + importpath = "github.com/gophercloud/gophercloud/openstack/identity/v2/tenants", + visibility = ["//visibility:public"], + deps = [ + "//vendor/github.com/gophercloud/gophercloud:go_default_library", + "//vendor/github.com/gophercloud/gophercloud/pagination:go_default_library", + ], +) diff --git a/vendor/github.com/gophercloud/gophercloud/openstack/identity/v2/tokens/BUILD.bazel b/vendor/github.com/gophercloud/gophercloud/openstack/identity/v2/tokens/BUILD.bazel new file mode 100644 index 00000000..d517825b --- /dev/null +++ b/vendor/github.com/gophercloud/gophercloud/openstack/identity/v2/tokens/BUILD.bazel @@ -0,0 +1,18 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = [ + "doc.go", + "requests.go", + "results.go", + "urls.go", + ], + importmap = "github.com/amaizfinance/redis-operator/vendor/github.com/gophercloud/gophercloud/openstack/identity/v2/tokens", + importpath = "github.com/gophercloud/gophercloud/openstack/identity/v2/tokens", + visibility = ["//visibility:public"], + deps = [ + "//vendor/github.com/gophercloud/gophercloud:go_default_library", + "//vendor/github.com/gophercloud/gophercloud/openstack/identity/v2/tenants:go_default_library", + ], +) diff --git a/vendor/github.com/gophercloud/gophercloud/openstack/identity/v3/tokens/BUILD.bazel b/vendor/github.com/gophercloud/gophercloud/openstack/identity/v3/tokens/BUILD.bazel new file mode 100644 index 00000000..56bdd111 --- /dev/null +++ b/vendor/github.com/gophercloud/gophercloud/openstack/identity/v3/tokens/BUILD.bazel @@ -0,0 +1,15 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = [ + "doc.go", + "requests.go", + "results.go", + "urls.go", + ], + importmap = "github.com/amaizfinance/redis-operator/vendor/github.com/gophercloud/gophercloud/openstack/identity/v3/tokens", + importpath = "github.com/gophercloud/gophercloud/openstack/identity/v3/tokens", + visibility = ["//visibility:public"], + deps = ["//vendor/github.com/gophercloud/gophercloud:go_default_library"], +) diff --git a/vendor/github.com/gophercloud/gophercloud/openstack/utils/BUILD.bazel b/vendor/github.com/gophercloud/gophercloud/openstack/utils/BUILD.bazel new file mode 100644 index 00000000..58ddda16 --- /dev/null +++ b/vendor/github.com/gophercloud/gophercloud/openstack/utils/BUILD.bazel @@ -0,0 +1,13 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = [ + "base_endpoint.go", + "choose_version.go", + ], + importmap = "github.com/amaizfinance/redis-operator/vendor/github.com/gophercloud/gophercloud/openstack/utils", + importpath = "github.com/gophercloud/gophercloud/openstack/utils", + visibility = ["//visibility:public"], + deps = ["//vendor/github.com/gophercloud/gophercloud:go_default_library"], +) diff --git a/vendor/github.com/gophercloud/gophercloud/pagination/BUILD.bazel b/vendor/github.com/gophercloud/gophercloud/pagination/BUILD.bazel new file mode 100644 index 00000000..cf858ca3 --- /dev/null +++ b/vendor/github.com/gophercloud/gophercloud/pagination/BUILD.bazel @@ -0,0 +1,17 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = [ + "http.go", + "linked.go", + "marker.go", + "pager.go", + "pkg.go", + "single.go", + ], + importmap = "github.com/amaizfinance/redis-operator/vendor/github.com/gophercloud/gophercloud/pagination", + importpath = "github.com/gophercloud/gophercloud/pagination", + visibility = ["//visibility:public"], + deps = ["//vendor/github.com/gophercloud/gophercloud:go_default_library"], +) diff --git a/vendor/github.com/gregjones/httpcache/BUILD.bazel b/vendor/github.com/gregjones/httpcache/BUILD.bazel new file mode 100644 index 00000000..6c586685 --- /dev/null +++ b/vendor/github.com/gregjones/httpcache/BUILD.bazel @@ -0,0 +1,9 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = ["httpcache.go"], + importmap = "github.com/amaizfinance/redis-operator/vendor/github.com/gregjones/httpcache", + importpath = "github.com/gregjones/httpcache", + visibility = ["//visibility:public"], +) diff --git a/vendor/github.com/gregjones/httpcache/diskcache/BUILD.bazel b/vendor/github.com/gregjones/httpcache/diskcache/BUILD.bazel new file mode 100644 index 00000000..3aa58b56 --- /dev/null +++ b/vendor/github.com/gregjones/httpcache/diskcache/BUILD.bazel @@ -0,0 +1,10 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = ["diskcache.go"], + importmap = "github.com/amaizfinance/redis-operator/vendor/github.com/gregjones/httpcache/diskcache", + importpath = "github.com/gregjones/httpcache/diskcache", + visibility = ["//visibility:public"], + deps = ["//vendor/github.com/peterbourgon/diskv:go_default_library"], +) diff --git a/vendor/github.com/grpc-ecosystem/grpc-gateway/internal/BUILD.bazel b/vendor/github.com/grpc-ecosystem/grpc-gateway/internal/BUILD.bazel index 76cafe6e..cf96483c 100644 --- a/vendor/github.com/grpc-ecosystem/grpc-gateway/internal/BUILD.bazel +++ b/vendor/github.com/grpc-ecosystem/grpc-gateway/internal/BUILD.bazel @@ -1,22 +1,13 @@ load("@io_bazel_rules_go//go:def.bzl", "go_library") -load("@io_bazel_rules_go//proto:def.bzl", "go_proto_library") - -package(default_visibility = ["//visibility:public"]) - -proto_library( - name = "internal_proto", - srcs = ["stream_chunk.proto"], - deps = ["@com_google_protobuf//:any_proto"], -) - -go_proto_library( - name = "internal_go_proto", - importpath = "github.com/grpc-ecosystem/grpc-gateway/internal", - proto = ":internal_proto", -) go_library( name = "go_default_library", - embed = [":internal_go_proto"], + srcs = ["stream_chunk.pb.go"], + importmap = "github.com/amaizfinance/redis-operator/vendor/github.com/grpc-ecosystem/grpc-gateway/internal", importpath = "github.com/grpc-ecosystem/grpc-gateway/internal", + visibility = ["//visibility:public"], + deps = [ + "//vendor/github.com/golang/protobuf/proto:go_default_library", + "//vendor/github.com/golang/protobuf/ptypes/any:go_default_library", + ], ) diff --git a/vendor/github.com/grpc-ecosystem/grpc-gateway/runtime/BUILD.bazel b/vendor/github.com/grpc-ecosystem/grpc-gateway/runtime/BUILD.bazel index c99f83e5..23e5650b 100644 --- a/vendor/github.com/grpc-ecosystem/grpc-gateway/runtime/BUILD.bazel +++ b/vendor/github.com/grpc-ecosystem/grpc-gateway/runtime/BUILD.bazel @@ -1,6 +1,4 @@ -load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") - -package(default_visibility = ["//visibility:public"]) +load("@io_bazel_rules_go//go:def.bzl", "go_library") go_library( name = "go_default_library", @@ -11,6 +9,7 @@ go_library( "errors.go", "fieldmask.go", "handler.go", + "marshal_httpbodyproto.go", "marshal_json.go", "marshal_jsonpb.go", "marshal_proto.go", @@ -22,59 +21,24 @@ go_library( "proto_errors.go", "query.go", ], + importmap = "github.com/amaizfinance/redis-operator/vendor/github.com/grpc-ecosystem/grpc-gateway/runtime", importpath = "github.com/grpc-ecosystem/grpc-gateway/runtime", + visibility = ["//visibility:public"], deps = [ - "//internal:go_default_library", - "//utilities:go_default_library", - "@com_github_golang_protobuf//jsonpb:go_default_library_gen", - "@com_github_golang_protobuf//proto:go_default_library", - "@com_github_golang_protobuf//protoc-gen-go/generator:go_default_library_gen", - "@io_bazel_rules_go//proto/wkt:any_go_proto", - "@io_bazel_rules_go//proto/wkt:duration_go_proto", - "@io_bazel_rules_go//proto/wkt:field_mask_go_proto", - "@io_bazel_rules_go//proto/wkt:timestamp_go_proto", - "@io_bazel_rules_go//proto/wkt:wrappers_go_proto", - "@org_golang_google_grpc//codes:go_default_library", - "@org_golang_google_grpc//grpclog:go_default_library", - "@org_golang_google_grpc//metadata:go_default_library", - "@org_golang_google_grpc//status:go_default_library", - ], -) - -go_test( - name = "go_default_test", - size = "small", - srcs = [ - "context_test.go", - "errors_test.go", - "fieldmask_test.go", - "handler_test.go", - "marshal_json_test.go", - "marshal_jsonpb_test.go", - "marshal_proto_test.go", - "marshaler_registry_test.go", - "mux_test.go", - "pattern_test.go", - "query_test.go", - ], - embed = [":go_default_library"], - deps = [ - "//examples/proto/examplepb:go_default_library", - "//internal:go_default_library", - "//utilities:go_default_library", - "@com_github_golang_protobuf//jsonpb:go_default_library_gen", - "@com_github_golang_protobuf//proto:go_default_library", - "@com_github_golang_protobuf//ptypes:go_default_library_gen", - "@go_googleapis//google/rpc:errdetails_go_proto", - "@io_bazel_rules_go//proto/wkt:duration_go_proto", - "@io_bazel_rules_go//proto/wkt:empty_go_proto", - "@io_bazel_rules_go//proto/wkt:field_mask_go_proto", - "@io_bazel_rules_go//proto/wkt:struct_go_proto", - "@io_bazel_rules_go//proto/wkt:timestamp_go_proto", - "@io_bazel_rules_go//proto/wkt:wrappers_go_proto", - "@org_golang_google_grpc//:go_default_library", - "@org_golang_google_grpc//codes:go_default_library", - "@org_golang_google_grpc//metadata:go_default_library", - "@org_golang_google_grpc//status:go_default_library", + "//vendor/github.com/golang/protobuf/jsonpb:go_default_library", + "//vendor/github.com/golang/protobuf/proto:go_default_library", + "//vendor/github.com/golang/protobuf/protoc-gen-go/generator:go_default_library", + "//vendor/github.com/golang/protobuf/ptypes/any:go_default_library", + "//vendor/github.com/golang/protobuf/ptypes/duration:go_default_library", + "//vendor/github.com/golang/protobuf/ptypes/timestamp:go_default_library", + "//vendor/github.com/golang/protobuf/ptypes/wrappers:go_default_library", + "//vendor/github.com/grpc-ecosystem/grpc-gateway/internal:go_default_library", + "//vendor/github.com/grpc-ecosystem/grpc-gateway/utilities:go_default_library", + "//vendor/google.golang.org/genproto/googleapis/api/httpbody:go_default_library", + "//vendor/google.golang.org/genproto/protobuf/field_mask:go_default_library", + "//vendor/google.golang.org/grpc/codes:go_default_library", + "//vendor/google.golang.org/grpc/grpclog:go_default_library", + "//vendor/google.golang.org/grpc/metadata:go_default_library", + "//vendor/google.golang.org/grpc/status:go_default_library", ], ) diff --git a/vendor/github.com/grpc-ecosystem/grpc-gateway/utilities/BUILD.bazel b/vendor/github.com/grpc-ecosystem/grpc-gateway/utilities/BUILD.bazel index 7109d793..044c0dcd 100644 --- a/vendor/github.com/grpc-ecosystem/grpc-gateway/utilities/BUILD.bazel +++ b/vendor/github.com/grpc-ecosystem/grpc-gateway/utilities/BUILD.bazel @@ -1,6 +1,4 @@ -load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") - -package(default_visibility = ["//visibility:public"]) +load("@io_bazel_rules_go//go:def.bzl", "go_library") go_library( name = "go_default_library", @@ -10,12 +8,7 @@ go_library( "readerfactory.go", "trie.go", ], + importmap = "github.com/amaizfinance/redis-operator/vendor/github.com/grpc-ecosystem/grpc-gateway/utilities", importpath = "github.com/grpc-ecosystem/grpc-gateway/utilities", -) - -go_test( - name = "go_default_test", - size = "small", - srcs = ["trie_test.go"], - embed = [":go_default_library"], + visibility = ["//visibility:public"], ) diff --git a/vendor/github.com/hashicorp/golang-lru/BUILD.bazel b/vendor/github.com/hashicorp/golang-lru/BUILD.bazel new file mode 100644 index 00000000..6763e3e2 --- /dev/null +++ b/vendor/github.com/hashicorp/golang-lru/BUILD.bazel @@ -0,0 +1,15 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = [ + "2q.go", + "arc.go", + "doc.go", + "lru.go", + ], + importmap = "github.com/amaizfinance/redis-operator/vendor/github.com/hashicorp/golang-lru", + importpath = "github.com/hashicorp/golang-lru", + visibility = ["//visibility:public"], + deps = ["//vendor/github.com/hashicorp/golang-lru/simplelru:go_default_library"], +) diff --git a/vendor/github.com/hashicorp/golang-lru/simplelru/BUILD.bazel b/vendor/github.com/hashicorp/golang-lru/simplelru/BUILD.bazel new file mode 100644 index 00000000..72c31aaf --- /dev/null +++ b/vendor/github.com/hashicorp/golang-lru/simplelru/BUILD.bazel @@ -0,0 +1,12 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = [ + "lru.go", + "lru_interface.go", + ], + importmap = "github.com/amaizfinance/redis-operator/vendor/github.com/hashicorp/golang-lru/simplelru", + importpath = "github.com/hashicorp/golang-lru/simplelru", + visibility = ["//visibility:public"], +) diff --git a/vendor/github.com/imdario/mergo/BUILD.bazel b/vendor/github.com/imdario/mergo/BUILD.bazel new file mode 100644 index 00000000..89a8248a --- /dev/null +++ b/vendor/github.com/imdario/mergo/BUILD.bazel @@ -0,0 +1,14 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = [ + "doc.go", + "map.go", + "merge.go", + "mergo.go", + ], + importmap = "github.com/amaizfinance/redis-operator/vendor/github.com/imdario/mergo", + importpath = "github.com/imdario/mergo", + visibility = ["//visibility:public"], +) diff --git a/vendor/github.com/joho/godotenv/BUILD.bazel b/vendor/github.com/joho/godotenv/BUILD.bazel new file mode 100644 index 00000000..5cc82ea6 --- /dev/null +++ b/vendor/github.com/joho/godotenv/BUILD.bazel @@ -0,0 +1,9 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = ["godotenv.go"], + importmap = "github.com/amaizfinance/redis-operator/vendor/github.com/joho/godotenv", + importpath = "github.com/joho/godotenv", + visibility = ["//visibility:public"], +) diff --git a/vendor/github.com/json-iterator/go/BUILD.bazel b/vendor/github.com/json-iterator/go/BUILD.bazel new file mode 100644 index 00000000..41048c42 --- /dev/null +++ b/vendor/github.com/json-iterator/go/BUILD.bazel @@ -0,0 +1,56 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = [ + "adapter.go", + "any.go", + "any_array.go", + "any_bool.go", + "any_float.go", + "any_int32.go", + "any_int64.go", + "any_invalid.go", + "any_nil.go", + "any_number.go", + "any_object.go", + "any_str.go", + "any_uint32.go", + "any_uint64.go", + "config.go", + "iter.go", + "iter_array.go", + "iter_float.go", + "iter_int.go", + "iter_object.go", + "iter_skip.go", + "iter_skip_strict.go", + "iter_str.go", + "jsoniter.go", + "pool.go", + "reflect.go", + "reflect_array.go", + "reflect_dynamic.go", + "reflect_extension.go", + "reflect_json_number.go", + "reflect_json_raw_message.go", + "reflect_map.go", + "reflect_marshaler.go", + "reflect_native.go", + "reflect_optional.go", + "reflect_slice.go", + "reflect_struct_decoder.go", + "reflect_struct_encoder.go", + "stream.go", + "stream_float.go", + "stream_int.go", + "stream_str.go", + ], + importmap = "github.com/amaizfinance/redis-operator/vendor/github.com/json-iterator/go", + importpath = "github.com/json-iterator/go", + visibility = ["//visibility:public"], + deps = [ + "//vendor/github.com/modern-go/concurrent:go_default_library", + "//vendor/github.com/modern-go/reflect2:go_default_library", + ], +) diff --git a/vendor/github.com/mailru/easyjson/buffer/BUILD.bazel b/vendor/github.com/mailru/easyjson/buffer/BUILD.bazel new file mode 100644 index 00000000..34f6dbda --- /dev/null +++ b/vendor/github.com/mailru/easyjson/buffer/BUILD.bazel @@ -0,0 +1,9 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = ["pool.go"], + importmap = "github.com/amaizfinance/redis-operator/vendor/github.com/mailru/easyjson/buffer", + importpath = "github.com/mailru/easyjson/buffer", + visibility = ["//visibility:public"], +) diff --git a/vendor/github.com/mailru/easyjson/jlexer/BUILD.bazel b/vendor/github.com/mailru/easyjson/jlexer/BUILD.bazel new file mode 100644 index 00000000..1495227c --- /dev/null +++ b/vendor/github.com/mailru/easyjson/jlexer/BUILD.bazel @@ -0,0 +1,13 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = [ + "bytestostr.go", + "error.go", + "lexer.go", + ], + importmap = "github.com/amaizfinance/redis-operator/vendor/github.com/mailru/easyjson/jlexer", + importpath = "github.com/mailru/easyjson/jlexer", + visibility = ["//visibility:public"], +) diff --git a/vendor/github.com/mailru/easyjson/jwriter/BUILD.bazel b/vendor/github.com/mailru/easyjson/jwriter/BUILD.bazel new file mode 100644 index 00000000..1f2f931d --- /dev/null +++ b/vendor/github.com/mailru/easyjson/jwriter/BUILD.bazel @@ -0,0 +1,10 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = ["writer.go"], + importmap = "github.com/amaizfinance/redis-operator/vendor/github.com/mailru/easyjson/jwriter", + importpath = "github.com/mailru/easyjson/jwriter", + visibility = ["//visibility:public"], + deps = ["//vendor/github.com/mailru/easyjson/buffer:go_default_library"], +) diff --git a/vendor/github.com/markbates/inflect/BUILD.bazel b/vendor/github.com/markbates/inflect/BUILD.bazel new file mode 100644 index 00000000..339e88b2 --- /dev/null +++ b/vendor/github.com/markbates/inflect/BUILD.bazel @@ -0,0 +1,15 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = [ + "helpers.go", + "inflect.go", + "name.go", + "version.go", + ], + importmap = "github.com/amaizfinance/redis-operator/vendor/github.com/markbates/inflect", + importpath = "github.com/markbates/inflect", + visibility = ["//visibility:public"], + deps = ["//vendor/github.com/gobuffalo/envy:go_default_library"], +) diff --git a/vendor/github.com/matttproud/golang_protobuf_extensions/pbutil/BUILD.bazel b/vendor/github.com/matttproud/golang_protobuf_extensions/pbutil/BUILD.bazel new file mode 100644 index 00000000..aad9e50b --- /dev/null +++ b/vendor/github.com/matttproud/golang_protobuf_extensions/pbutil/BUILD.bazel @@ -0,0 +1,14 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = [ + "decode.go", + "doc.go", + "encode.go", + ], + importmap = "github.com/amaizfinance/redis-operator/vendor/github.com/matttproud/golang_protobuf_extensions/pbutil", + importpath = "github.com/matttproud/golang_protobuf_extensions/pbutil", + visibility = ["//visibility:public"], + deps = ["//vendor/github.com/golang/protobuf/proto:go_default_library"], +) diff --git a/vendor/github.com/modern-go/concurrent/BUILD.bazel b/vendor/github.com/modern-go/concurrent/BUILD.bazel new file mode 100644 index 00000000..c4d5d615 --- /dev/null +++ b/vendor/github.com/modern-go/concurrent/BUILD.bazel @@ -0,0 +1,15 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = [ + "executor.go", + "go_above_19.go", + "go_below_19.go", + "log.go", + "unbounded_executor.go", + ], + importmap = "github.com/amaizfinance/redis-operator/vendor/github.com/modern-go/concurrent", + importpath = "github.com/modern-go/concurrent", + visibility = ["//visibility:public"], +) diff --git a/vendor/github.com/modern-go/reflect2/BUILD.bazel b/vendor/github.com/modern-go/reflect2/BUILD.bazel new file mode 100644 index 00000000..cae8b23f --- /dev/null +++ b/vendor/github.com/modern-go/reflect2/BUILD.bazel @@ -0,0 +1,42 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = [ + "go_above_17.go", + "go_above_19.go", + "go_below_17.go", + "go_below_19.go", + "reflect2.go", + "reflect2_amd64.s", + "reflect2_kind.go", + "relfect2_386.s", + "relfect2_amd64p32.s", + "relfect2_arm.s", + "relfect2_arm64.s", + "relfect2_mips64x.s", + "relfect2_mipsx.s", + "relfect2_ppc64x.s", + "relfect2_s390x.s", + "safe_field.go", + "safe_map.go", + "safe_slice.go", + "safe_struct.go", + "safe_type.go", + "type_map.go", + "unsafe_array.go", + "unsafe_eface.go", + "unsafe_field.go", + "unsafe_iface.go", + "unsafe_link.go", + "unsafe_map.go", + "unsafe_ptr.go", + "unsafe_slice.go", + "unsafe_struct.go", + "unsafe_type.go", + ], + importmap = "github.com/amaizfinance/redis-operator/vendor/github.com/modern-go/reflect2", + importpath = "github.com/modern-go/reflect2", + visibility = ["//visibility:public"], + deps = ["//vendor/github.com/modern-go/concurrent:go_default_library"], +) diff --git a/vendor/github.com/operator-framework/operator-sdk/pkg/k8sutil/BUILD.bazel b/vendor/github.com/operator-framework/operator-sdk/pkg/k8sutil/BUILD.bazel new file mode 100644 index 00000000..65decb5c --- /dev/null +++ b/vendor/github.com/operator-framework/operator-sdk/pkg/k8sutil/BUILD.bazel @@ -0,0 +1,20 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = [ + "constants.go", + "k8sutil.go", + ], + importmap = "github.com/amaizfinance/redis-operator/vendor/github.com/operator-framework/operator-sdk/pkg/k8sutil", + importpath = "github.com/operator-framework/operator-sdk/pkg/k8sutil", + visibility = ["//visibility:public"], + deps = [ + "//vendor/k8s.io/api/core/v1:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/runtime:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/runtime/schema:go_default_library", + "//vendor/k8s.io/client-go/discovery:go_default_library", + "//vendor/sigs.k8s.io/controller-runtime/pkg/client:go_default_library", + "//vendor/sigs.k8s.io/controller-runtime/pkg/runtime/log:go_default_library", + ], +) diff --git a/vendor/github.com/operator-framework/operator-sdk/pkg/k8sutil/k8sutil.go b/vendor/github.com/operator-framework/operator-sdk/pkg/k8sutil/k8sutil.go index 62cc4bc0..420b637d 100644 --- a/vendor/github.com/operator-framework/operator-sdk/pkg/k8sutil/k8sutil.go +++ b/vendor/github.com/operator-framework/operator-sdk/pkg/k8sutil/k8sutil.go @@ -29,6 +29,17 @@ import ( logf "sigs.k8s.io/controller-runtime/pkg/runtime/log" ) +// ForceRunModeEnv indicates if the operator should be forced to run in either local +// or cluster mode (currently only used for local mode) +var ForceRunModeEnv = "OSDK_FORCE_RUN_MODE" + +type RunModeType string + +const ( + LocalRunMode RunModeType = "local" + ClusterRunMode RunModeType = "cluster" +) + var log = logf.Log.WithName("k8sutil") // GetWatchNamespace returns the namespace the operator should be watching for changes @@ -40,12 +51,19 @@ func GetWatchNamespace() (string, error) { return ns, nil } -// errNoNS indicates that a namespace could not be found for the current +// ErrNoNamespace indicates that a namespace could not be found for the current // environment var ErrNoNamespace = fmt.Errorf("namespace not found for current environment") +// ErrRunLocal indicates that the operator is set to run in local mode (this error +// is returned by functions that only work on operators running in cluster mode) +var ErrRunLocal = fmt.Errorf("operator run mode forced to local") + // GetOperatorNamespace returns the namespace the operator should be running in. func GetOperatorNamespace() (string, error) { + if isRunModeLocal() { + return "", ErrRunLocal + } nsBytes, err := ioutil.ReadFile("/var/run/secrets/kubernetes.io/serviceaccount/namespace") if err != nil { if os.IsNotExist(err) { @@ -93,6 +111,9 @@ func ResourceExists(dc discovery.DiscoveryInterface, apiGroupVersion, kind strin // is currently running. // It expects the environment variable POD_NAME to be set by the downwards API. func GetPod(ctx context.Context, client crclient.Client, ns string) (*corev1.Pod, error) { + if isRunModeLocal() { + return nil, ErrRunLocal + } podName := os.Getenv(PodNameEnvVar) if podName == "" { return nil, fmt.Errorf("required env %s not set, please configure downward API", PodNameEnvVar) @@ -156,3 +177,7 @@ func isKubeMetaKind(kind string) bool { return false } + +func isRunModeLocal() bool { + return os.Getenv(ForceRunModeEnv) == string(LocalRunMode) +} diff --git a/vendor/github.com/operator-framework/operator-sdk/pkg/kube-metrics/BUILD.bazel b/vendor/github.com/operator-framework/operator-sdk/pkg/kube-metrics/BUILD.bazel new file mode 100644 index 00000000..213426de --- /dev/null +++ b/vendor/github.com/operator-framework/operator-sdk/pkg/kube-metrics/BUILD.bazel @@ -0,0 +1,32 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = [ + "collector.go", + "metrics.go", + "server.go", + "uclient.go", + ], + importmap = "github.com/amaizfinance/redis-operator/vendor/github.com/operator-framework/operator-sdk/pkg/kube-metrics", + importpath = "github.com/operator-framework/operator-sdk/pkg/kube-metrics", + visibility = ["//visibility:public"], + deps = [ + "//vendor/github.com/pkg/errors:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/apis/meta/v1:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/apis/meta/v1/unstructured:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/runtime:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/runtime/schema:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/runtime/serializer:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/watch:go_default_library", + "//vendor/k8s.io/client-go/dynamic:go_default_library", + "//vendor/k8s.io/client-go/kubernetes:go_default_library", + "//vendor/k8s.io/client-go/kubernetes/scheme:go_default_library", + "//vendor/k8s.io/client-go/rest:go_default_library", + "//vendor/k8s.io/client-go/tools/cache:go_default_library", + "//vendor/k8s.io/kube-state-metrics/pkg/collector:go_default_library", + "//vendor/k8s.io/kube-state-metrics/pkg/metric:go_default_library", + "//vendor/k8s.io/kube-state-metrics/pkg/metrics_store:go_default_library", + "//vendor/sigs.k8s.io/controller-runtime/pkg/runtime/log:go_default_library", + ], +) diff --git a/vendor/github.com/operator-framework/operator-sdk/pkg/leader/BUILD.bazel b/vendor/github.com/operator-framework/operator-sdk/pkg/leader/BUILD.bazel new file mode 100644 index 00000000..ad45a193 --- /dev/null +++ b/vendor/github.com/operator-framework/operator-sdk/pkg/leader/BUILD.bazel @@ -0,0 +1,22 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = [ + "doc.go", + "leader.go", + ], + importmap = "github.com/amaizfinance/redis-operator/vendor/github.com/operator-framework/operator-sdk/pkg/leader", + importpath = "github.com/operator-framework/operator-sdk/pkg/leader", + visibility = ["//visibility:public"], + deps = [ + "//vendor/github.com/operator-framework/operator-sdk/pkg/k8sutil:go_default_library", + "//vendor/k8s.io/api/core/v1:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/api/errors:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/apis/meta/v1:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/util/wait:go_default_library", + "//vendor/sigs.k8s.io/controller-runtime/pkg/client:go_default_library", + "//vendor/sigs.k8s.io/controller-runtime/pkg/client/config:go_default_library", + "//vendor/sigs.k8s.io/controller-runtime/pkg/runtime/log:go_default_library", + ], +) diff --git a/vendor/github.com/operator-framework/operator-sdk/pkg/leader/leader.go b/vendor/github.com/operator-framework/operator-sdk/pkg/leader/leader.go index f93b2663..1b127828 100644 --- a/vendor/github.com/operator-framework/operator-sdk/pkg/leader/leader.go +++ b/vendor/github.com/operator-framework/operator-sdk/pkg/leader/leader.go @@ -47,7 +47,7 @@ func Become(ctx context.Context, lockName string) error { ns, err := k8sutil.GetOperatorNamespace() if err != nil { - if err == k8sutil.ErrNoNamespace { + if err == k8sutil.ErrNoNamespace || err == k8sutil.ErrRunLocal { log.Info("Skipping leader election; not running in a cluster.") return nil } diff --git a/vendor/github.com/operator-framework/operator-sdk/pkg/log/zap/BUILD.bazel b/vendor/github.com/operator-framework/operator-sdk/pkg/log/zap/BUILD.bazel new file mode 100644 index 00000000..b2808363 --- /dev/null +++ b/vendor/github.com/operator-framework/operator-sdk/pkg/log/zap/BUILD.bazel @@ -0,0 +1,21 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = [ + "flags.go", + "logger.go", + ], + importmap = "github.com/amaizfinance/redis-operator/vendor/github.com/operator-framework/operator-sdk/pkg/log/zap", + importpath = "github.com/operator-framework/operator-sdk/pkg/log/zap", + visibility = ["//visibility:public"], + deps = [ + "//vendor/github.com/go-logr/logr:go_default_library", + "//vendor/github.com/go-logr/zapr:go_default_library", + "//vendor/github.com/spf13/pflag:go_default_library", + "//vendor/go.uber.org/zap:go_default_library", + "//vendor/go.uber.org/zap/zapcore:go_default_library", + "//vendor/k8s.io/klog:go_default_library", + "//vendor/sigs.k8s.io/controller-runtime/pkg/runtime/log:go_default_library", + ], +) diff --git a/vendor/github.com/operator-framework/operator-sdk/pkg/log/zap/flags.go b/vendor/github.com/operator-framework/operator-sdk/pkg/log/zap/flags.go index d94911d9..f8449479 100644 --- a/vendor/github.com/operator-framework/operator-sdk/pkg/log/zap/flags.go +++ b/vendor/github.com/operator-framework/operator-sdk/pkg/log/zap/flags.go @@ -29,10 +29,11 @@ import ( var ( zapFlagSet *pflag.FlagSet - development bool - encoderVal encoderValue - levelVal levelValue - sampleVal sampleValue + development bool + encoderVal encoderValue + levelVal levelValue + sampleVal sampleValue + timeEncodingVal timeEncodingValue ) func init() { @@ -41,6 +42,7 @@ func init() { zapFlagSet.Var(&encoderVal, "zap-encoder", "Zap log encoding ('json' or 'console')") zapFlagSet.Var(&levelVal, "zap-level", "Zap log level (one of 'debug', 'info', 'error' or any integer value > 0)") zapFlagSet.Var(&sampleVal, "zap-sample", "Enable zap log sampling. Sampling will be disabled for integer log levels > 1") + zapFlagSet.Var(&timeEncodingVal, "zap-time-encoding", "Sets the zap time format ('epoch', 'millis', 'nano', or 'iso8601')") } // FlagSet - The zap logging flagset. @@ -48,19 +50,21 @@ func FlagSet() *pflag.FlagSet { return zapFlagSet } +type encoderConfigFunc func(*zapcore.EncoderConfig) + type encoderValue struct { - set bool - encoder zapcore.Encoder - str string + set bool + newEncoder func(...encoderConfigFunc) zapcore.Encoder + str string } func (v *encoderValue) Set(e string) error { v.set = true switch e { case "json": - v.encoder = jsonEncoder() + v.newEncoder = newJSONEncoder case "console": - v.encoder = consoleEncoder() + v.newEncoder = newConsoleEncoder default: return fmt.Errorf("unknown encoder \"%s\"", e) } @@ -76,13 +80,19 @@ func (v encoderValue) Type() string { return "encoder" } -func jsonEncoder() zapcore.Encoder { +func newJSONEncoder(ecfs ...encoderConfigFunc) zapcore.Encoder { encoderConfig := zap.NewProductionEncoderConfig() + for _, f := range ecfs { + f(&encoderConfig) + } return zapcore.NewJSONEncoder(encoderConfig) } -func consoleEncoder() zapcore.Encoder { +func newConsoleEncoder(ecfs ...encoderConfigFunc) zapcore.Encoder { encoderConfig := zap.NewDevelopmentEncoderConfig() + for _, f := range ecfs { + f(&encoderConfig) + } return zapcore.NewConsoleEncoder(encoderConfig) } @@ -158,3 +168,48 @@ func (v sampleValue) IsBoolFlag() bool { func (v sampleValue) Type() string { return "sample" } + +type timeEncodingValue struct { + set bool + timeEncoder zapcore.TimeEncoder + str string +} + +func (v *timeEncodingValue) Set(s string) error { + v.set = true + + // As of zap v1.9.1, UnmarshalText does not return an error. Instead, it + // uses the epoch time encoding when unknown strings are unmarshalled. + // + // Set s to "epoch" if it doesn't match one of the known formats, so that + // it aligns with the default time encoder function. + // + // TODO: remove this entire switch statement if UnmarshalText is ever + // refactored to return an error. + switch s { + case "iso8601", "ISO8601", "millis", "nanos": + default: + s = "epoch" + } + + v.str = s + return v.timeEncoder.UnmarshalText([]byte(s)) +} + +func (v timeEncodingValue) String() string { + return v.str +} + +func (v timeEncodingValue) IsBoolFlag() bool { + return false +} + +func (v timeEncodingValue) Type() string { + return "timeEncoding" +} + +func withTimeEncoding(te zapcore.TimeEncoder) encoderConfigFunc { + return func(ec *zapcore.EncoderConfig) { + ec.EncodeTime = te + } +} diff --git a/vendor/github.com/operator-framework/operator-sdk/pkg/log/zap/logger.go b/vendor/github.com/operator-framework/operator-sdk/pkg/log/zap/logger.go index 795cbff3..fa4db44b 100644 --- a/vendor/github.com/operator-framework/operator-sdk/pkg/log/zap/logger.go +++ b/vendor/github.com/operator-framework/operator-sdk/pkg/log/zap/logger.go @@ -31,8 +31,12 @@ func Logger() logr.Logger { } func LoggerTo(destWriter io.Writer) logr.Logger { - syncer := zapcore.AddSync(destWriter) conf := getConfig() + return createLogger(conf, destWriter) +} + +func createLogger(conf config, destWriter io.Writer) logr.Logger { + syncer := zapcore.AddSync(destWriter) conf.encoder = &logf.KubeAwareEncoder{Encoder: conf.encoder, Verbose: conf.level.Level() < 0} if conf.sample { @@ -56,23 +60,32 @@ type config struct { func getConfig() config { var c config + var newEncoder func(...encoderConfigFunc) zapcore.Encoder + // Set the defaults depending on the log mode (development vs. production) if development { - c.encoder = consoleEncoder() + newEncoder = newConsoleEncoder c.level = zap.NewAtomicLevelAt(zap.DebugLevel) c.opts = append(c.opts, zap.Development(), zap.AddStacktrace(zap.ErrorLevel)) c.sample = false } else { - c.encoder = jsonEncoder() + newEncoder = newJSONEncoder c.level = zap.NewAtomicLevelAt(zap.InfoLevel) c.opts = append(c.opts, zap.AddStacktrace(zap.WarnLevel)) c.sample = true } // Override the defaults if the flags were set explicitly on the command line + var ecfs []encoderConfigFunc if encoderVal.set { - c.encoder = encoderVal.encoder + newEncoder = encoderVal.newEncoder + } + if timeEncodingVal.set { + ecfs = append(ecfs, withTimeEncoding(timeEncodingVal.timeEncoder)) } + + c.encoder = newEncoder(ecfs...) + if levelVal.set { c.level = zap.NewAtomicLevelAt(levelVal.level) } diff --git a/vendor/github.com/operator-framework/operator-sdk/pkg/metrics/BUILD.bazel b/vendor/github.com/operator-framework/operator-sdk/pkg/metrics/BUILD.bazel new file mode 100644 index 00000000..ba382c2e --- /dev/null +++ b/vendor/github.com/operator-framework/operator-sdk/pkg/metrics/BUILD.bazel @@ -0,0 +1,26 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = [ + "metrics.go", + "service-monitor.go", + ], + importmap = "github.com/amaizfinance/redis-operator/vendor/github.com/operator-framework/operator-sdk/pkg/metrics", + importpath = "github.com/operator-framework/operator-sdk/pkg/metrics", + visibility = ["//visibility:public"], + deps = [ + "//vendor/github.com/coreos/prometheus-operator/pkg/apis/monitoring/v1:go_default_library", + "//vendor/github.com/coreos/prometheus-operator/pkg/client/versioned/typed/monitoring/v1:go_default_library", + "//vendor/github.com/operator-framework/operator-sdk/pkg/k8sutil:go_default_library", + "//vendor/k8s.io/api/core/v1:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/api/errors:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/apis/meta/v1:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/apis/meta/v1/unstructured:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/types:go_default_library", + "//vendor/k8s.io/client-go/discovery:go_default_library", + "//vendor/k8s.io/client-go/rest:go_default_library", + "//vendor/sigs.k8s.io/controller-runtime/pkg/client:go_default_library", + "//vendor/sigs.k8s.io/controller-runtime/pkg/runtime/log:go_default_library", + ], +) diff --git a/vendor/github.com/operator-framework/operator-sdk/pkg/metrics/metrics.go b/vendor/github.com/operator-framework/operator-sdk/pkg/metrics/metrics.go index b80651e1..d732cf7e 100644 --- a/vendor/github.com/operator-framework/operator-sdk/pkg/metrics/metrics.go +++ b/vendor/github.com/operator-framework/operator-sdk/pkg/metrics/metrics.go @@ -53,7 +53,7 @@ func CreateMetricsService(ctx context.Context, cfg *rest.Config, servicePorts [] } s, err := initOperatorService(ctx, client, servicePorts) if err != nil { - if err == k8sutil.ErrNoNamespace { + if err == k8sutil.ErrNoNamespace || err == k8sutil.ErrRunLocal { log.Info("Skipping metrics Service creation; not running in a cluster.") return nil, nil } diff --git a/vendor/github.com/operator-framework/operator-sdk/pkg/metrics/service-monitor.go b/vendor/github.com/operator-framework/operator-sdk/pkg/metrics/service-monitor.go index b3cb544c..25a1848f 100644 --- a/vendor/github.com/operator-framework/operator-sdk/pkg/metrics/service-monitor.go +++ b/vendor/github.com/operator-framework/operator-sdk/pkg/metrics/service-monitor.go @@ -15,6 +15,8 @@ package metrics import ( + "fmt" + monitoringv1 "github.com/coreos/prometheus-operator/pkg/apis/monitoring/v1" monclientv1 "github.com/coreos/prometheus-operator/pkg/client/versioned/typed/monitoring/v1" "github.com/operator-framework/operator-sdk/pkg/k8sutil" @@ -24,6 +26,8 @@ import ( "k8s.io/client-go/rest" ) +var ErrServiceMonitorNotPresent = fmt.Errorf("no ServiceMonitor registered with the API") + // CreateServiceMonitors creates ServiceMonitors objects based on an array of Service objects. // If CR ServiceMonitor is not registered in the Cluster it will not attempt at creating resources. func CreateServiceMonitors(config *rest.Config, ns string, services []*v1.Service) ([]*monitoringv1.ServiceMonitor, error) { @@ -33,14 +37,16 @@ func CreateServiceMonitors(config *rest.Config, ns string, services []*v1.Servic return nil, err } if !exists { - // ServiceMonitor was not registered, but we don't want to produce more errors just return. - return nil, nil + return nil, ErrServiceMonitorNotPresent } var serviceMonitors []*monitoringv1.ServiceMonitor mclient := monclientv1.NewForConfigOrDie(config) for _, s := range services { + if s == nil { + continue + } sm := GenerateServiceMonitor(s) smc, err := mclient.ServiceMonitors(ns).Create(sm) if err != nil { @@ -60,12 +66,23 @@ func GenerateServiceMonitor(s *v1.Service) *monitoringv1.ServiceMonitor { labels[k] = v } endpoints := populateEndpointsFromServicePorts(s) + boolTrue := true return &monitoringv1.ServiceMonitor{ ObjectMeta: metav1.ObjectMeta{ Name: s.ObjectMeta.Name, Namespace: s.ObjectMeta.Namespace, Labels: labels, + OwnerReferences: []metav1.OwnerReference{ + { + APIVersion: "v1", + BlockOwnerDeletion: &boolTrue, + Controller: &boolTrue, + Kind: "Service", + Name: s.Name, + UID: s.UID, + }, + }, }, Spec: monitoringv1.ServiceMonitorSpec{ Selector: metav1.LabelSelector{ diff --git a/vendor/github.com/operator-framework/operator-sdk/pkg/restmapper/BUILD.bazel b/vendor/github.com/operator-framework/operator-sdk/pkg/restmapper/BUILD.bazel new file mode 100644 index 00000000..dd374788 --- /dev/null +++ b/vendor/github.com/operator-framework/operator-sdk/pkg/restmapper/BUILD.bazel @@ -0,0 +1,17 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = ["dynamicrestmapper.go"], + importmap = "github.com/amaizfinance/redis-operator/vendor/github.com/operator-framework/operator-sdk/pkg/restmapper", + importpath = "github.com/operator-framework/operator-sdk/pkg/restmapper", + visibility = ["//visibility:public"], + deps = [ + "//vendor/k8s.io/apimachinery/pkg/api/meta:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/runtime/schema:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/util/runtime:go_default_library", + "//vendor/k8s.io/client-go/discovery:go_default_library", + "//vendor/k8s.io/client-go/rest:go_default_library", + "//vendor/k8s.io/client-go/restmapper:go_default_library", + ], +) diff --git a/vendor/github.com/operator-framework/operator-sdk/version/BUILD.bazel b/vendor/github.com/operator-framework/operator-sdk/version/BUILD.bazel new file mode 100644 index 00000000..e9bea4d2 --- /dev/null +++ b/vendor/github.com/operator-framework/operator-sdk/version/BUILD.bazel @@ -0,0 +1,9 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = ["version.go"], + importmap = "github.com/amaizfinance/redis-operator/vendor/github.com/operator-framework/operator-sdk/version", + importpath = "github.com/operator-framework/operator-sdk/version", + visibility = ["//visibility:public"], +) diff --git a/vendor/github.com/operator-framework/operator-sdk/version/version.go b/vendor/github.com/operator-framework/operator-sdk/version/version.go index af22478e..e5879a11 100644 --- a/vendor/github.com/operator-framework/operator-sdk/version/version.go +++ b/vendor/github.com/operator-framework/operator-sdk/version/version.go @@ -15,7 +15,7 @@ package version var ( - Version = "v0.9.0" + Version = "v0.10.0" GitVersion = "unknown" GitCommit = "unknown" ) diff --git a/vendor/github.com/pborman/uuid/BUILD.bazel b/vendor/github.com/pborman/uuid/BUILD.bazel new file mode 100644 index 00000000..22e3726b --- /dev/null +++ b/vendor/github.com/pborman/uuid/BUILD.bazel @@ -0,0 +1,22 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = [ + "dce.go", + "doc.go", + "hash.go", + "marshal.go", + "node.go", + "sql.go", + "time.go", + "util.go", + "uuid.go", + "version1.go", + "version4.go", + ], + importmap = "github.com/amaizfinance/redis-operator/vendor/github.com/pborman/uuid", + importpath = "github.com/pborman/uuid", + visibility = ["//visibility:public"], + deps = ["//vendor/github.com/google/uuid:go_default_library"], +) diff --git a/vendor/github.com/peterbourgon/diskv/BUILD.bazel b/vendor/github.com/peterbourgon/diskv/BUILD.bazel new file mode 100644 index 00000000..457cc6b3 --- /dev/null +++ b/vendor/github.com/peterbourgon/diskv/BUILD.bazel @@ -0,0 +1,14 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = [ + "compression.go", + "diskv.go", + "index.go", + ], + importmap = "github.com/amaizfinance/redis-operator/vendor/github.com/peterbourgon/diskv", + importpath = "github.com/peterbourgon/diskv", + visibility = ["//visibility:public"], + deps = ["//vendor/github.com/google/btree:go_default_library"], +) diff --git a/vendor/github.com/pkg/errors/BUILD.bazel b/vendor/github.com/pkg/errors/BUILD.bazel new file mode 100644 index 00000000..6280a5c6 --- /dev/null +++ b/vendor/github.com/pkg/errors/BUILD.bazel @@ -0,0 +1,12 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = [ + "errors.go", + "stack.go", + ], + importmap = "github.com/amaizfinance/redis-operator/vendor/github.com/pkg/errors", + importpath = "github.com/pkg/errors", + visibility = ["//visibility:public"], +) diff --git a/vendor/github.com/prometheus/client_golang/prometheus/BUILD.bazel b/vendor/github.com/prometheus/client_golang/prometheus/BUILD.bazel new file mode 100644 index 00000000..dbb00300 --- /dev/null +++ b/vendor/github.com/prometheus/client_golang/prometheus/BUILD.bazel @@ -0,0 +1,40 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = [ + "collector.go", + "counter.go", + "desc.go", + "doc.go", + "expvar_collector.go", + "fnv.go", + "gauge.go", + "go_collector.go", + "histogram.go", + "http.go", + "labels.go", + "metric.go", + "observer.go", + "process_collector.go", + "registry.go", + "summary.go", + "timer.go", + "untyped.go", + "value.go", + "vec.go", + "wrap.go", + ], + importmap = "github.com/amaizfinance/redis-operator/vendor/github.com/prometheus/client_golang/prometheus", + importpath = "github.com/prometheus/client_golang/prometheus", + visibility = ["//visibility:public"], + deps = [ + "//vendor/github.com/beorn7/perks/quantile:go_default_library", + "//vendor/github.com/golang/protobuf/proto:go_default_library", + "//vendor/github.com/prometheus/client_golang/prometheus/internal:go_default_library", + "//vendor/github.com/prometheus/client_model/go:go_default_library", + "//vendor/github.com/prometheus/common/expfmt:go_default_library", + "//vendor/github.com/prometheus/common/model:go_default_library", + "//vendor/github.com/prometheus/procfs:go_default_library", + ], +) diff --git a/vendor/github.com/prometheus/client_golang/prometheus/internal/BUILD.bazel b/vendor/github.com/prometheus/client_golang/prometheus/internal/BUILD.bazel new file mode 100644 index 00000000..6eea0264 --- /dev/null +++ b/vendor/github.com/prometheus/client_golang/prometheus/internal/BUILD.bazel @@ -0,0 +1,10 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = ["metric.go"], + importmap = "github.com/amaizfinance/redis-operator/vendor/github.com/prometheus/client_golang/prometheus/internal", + importpath = "github.com/prometheus/client_golang/prometheus/internal", + visibility = ["//visibility:public"], + deps = ["//vendor/github.com/prometheus/client_model/go:go_default_library"], +) diff --git a/vendor/github.com/prometheus/client_golang/prometheus/promhttp/BUILD.bazel b/vendor/github.com/prometheus/client_golang/prometheus/promhttp/BUILD.bazel new file mode 100644 index 00000000..ee015871 --- /dev/null +++ b/vendor/github.com/prometheus/client_golang/prometheus/promhttp/BUILD.bazel @@ -0,0 +1,22 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = [ + "delegator.go", + "delegator_1_8.go", + "delegator_pre_1_8.go", + "http.go", + "instrument_client.go", + "instrument_client_1_8.go", + "instrument_server.go", + ], + importmap = "github.com/amaizfinance/redis-operator/vendor/github.com/prometheus/client_golang/prometheus/promhttp", + importpath = "github.com/prometheus/client_golang/prometheus/promhttp", + visibility = ["//visibility:public"], + deps = [ + "//vendor/github.com/prometheus/client_golang/prometheus:go_default_library", + "//vendor/github.com/prometheus/client_model/go:go_default_library", + "//vendor/github.com/prometheus/common/expfmt:go_default_library", + ], +) diff --git a/vendor/github.com/prometheus/client_model/go/BUILD.bazel b/vendor/github.com/prometheus/client_model/go/BUILD.bazel new file mode 100644 index 00000000..b06b489d --- /dev/null +++ b/vendor/github.com/prometheus/client_model/go/BUILD.bazel @@ -0,0 +1,10 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = ["metrics.pb.go"], + importmap = "github.com/amaizfinance/redis-operator/vendor/github.com/prometheus/client_model/go", + importpath = "github.com/prometheus/client_model/go", + visibility = ["//visibility:public"], + deps = ["//vendor/github.com/golang/protobuf/proto:go_default_library"], +) diff --git a/vendor/github.com/prometheus/common/expfmt/BUILD.bazel b/vendor/github.com/prometheus/common/expfmt/BUILD.bazel new file mode 100644 index 00000000..3f2e94c6 --- /dev/null +++ b/vendor/github.com/prometheus/common/expfmt/BUILD.bazel @@ -0,0 +1,22 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = [ + "decode.go", + "encode.go", + "expfmt.go", + "text_create.go", + "text_parse.go", + ], + importmap = "github.com/amaizfinance/redis-operator/vendor/github.com/prometheus/common/expfmt", + importpath = "github.com/prometheus/common/expfmt", + visibility = ["//visibility:public"], + deps = [ + "//vendor/github.com/golang/protobuf/proto:go_default_library", + "//vendor/github.com/matttproud/golang_protobuf_extensions/pbutil:go_default_library", + "//vendor/github.com/prometheus/client_model/go:go_default_library", + "//vendor/github.com/prometheus/common/internal/bitbucket.org/ww/goautoneg:go_default_library", + "//vendor/github.com/prometheus/common/model:go_default_library", + ], +) diff --git a/vendor/github.com/prometheus/common/internal/bitbucket.org/ww/goautoneg/BUILD.bazel b/vendor/github.com/prometheus/common/internal/bitbucket.org/ww/goautoneg/BUILD.bazel new file mode 100644 index 00000000..9391e6bb --- /dev/null +++ b/vendor/github.com/prometheus/common/internal/bitbucket.org/ww/goautoneg/BUILD.bazel @@ -0,0 +1,9 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = ["autoneg.go"], + importmap = "github.com/amaizfinance/redis-operator/vendor/github.com/prometheus/common/internal/bitbucket.org/ww/goautoneg", + importpath = "github.com/prometheus/common/internal/bitbucket.org/ww/goautoneg", + visibility = ["//vendor/github.com/prometheus/common:__subpackages__"], +) diff --git a/vendor/github.com/prometheus/common/model/BUILD.bazel b/vendor/github.com/prometheus/common/model/BUILD.bazel new file mode 100644 index 00000000..d8d6a6c3 --- /dev/null +++ b/vendor/github.com/prometheus/common/model/BUILD.bazel @@ -0,0 +1,21 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = [ + "alert.go", + "fingerprinting.go", + "fnv.go", + "labels.go", + "labelset.go", + "metric.go", + "model.go", + "signature.go", + "silence.go", + "time.go", + "value.go", + ], + importmap = "github.com/amaizfinance/redis-operator/vendor/github.com/prometheus/common/model", + importpath = "github.com/prometheus/common/model", + visibility = ["//visibility:public"], +) diff --git a/vendor/github.com/prometheus/procfs/BUILD.bazel b/vendor/github.com/prometheus/procfs/BUILD.bazel new file mode 100644 index 00000000..5de4df74 --- /dev/null +++ b/vendor/github.com/prometheus/procfs/BUILD.bazel @@ -0,0 +1,25 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = [ + "buddyinfo.go", + "doc.go", + "fs.go", + "ipvs.go", + "mdstat.go", + "mountstats.go", + "net_dev.go", + "proc.go", + "proc_io.go", + "proc_limits.go", + "proc_ns.go", + "proc_psi.go", + "proc_stat.go", + "stat.go", + "xfrm.go", + ], + importmap = "github.com/amaizfinance/redis-operator/vendor/github.com/prometheus/procfs", + importpath = "github.com/prometheus/procfs", + visibility = ["//visibility:public"], +) diff --git a/vendor/github.com/rogpeppe/go-internal/modfile/BUILD.bazel b/vendor/github.com/rogpeppe/go-internal/modfile/BUILD.bazel new file mode 100644 index 00000000..b9b09c77 --- /dev/null +++ b/vendor/github.com/rogpeppe/go-internal/modfile/BUILD.bazel @@ -0,0 +1,18 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = [ + "gopkgin.go", + "print.go", + "read.go", + "rule.go", + ], + importmap = "github.com/amaizfinance/redis-operator/vendor/github.com/rogpeppe/go-internal/modfile", + importpath = "github.com/rogpeppe/go-internal/modfile", + visibility = ["//visibility:public"], + deps = [ + "//vendor/github.com/rogpeppe/go-internal/module:go_default_library", + "//vendor/github.com/rogpeppe/go-internal/semver:go_default_library", + ], +) diff --git a/vendor/github.com/rogpeppe/go-internal/module/BUILD.bazel b/vendor/github.com/rogpeppe/go-internal/module/BUILD.bazel new file mode 100644 index 00000000..1c22a4be --- /dev/null +++ b/vendor/github.com/rogpeppe/go-internal/module/BUILD.bazel @@ -0,0 +1,10 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = ["module.go"], + importmap = "github.com/amaizfinance/redis-operator/vendor/github.com/rogpeppe/go-internal/module", + importpath = "github.com/rogpeppe/go-internal/module", + visibility = ["//visibility:public"], + deps = ["//vendor/github.com/rogpeppe/go-internal/semver:go_default_library"], +) diff --git a/vendor/github.com/rogpeppe/go-internal/semver/BUILD.bazel b/vendor/github.com/rogpeppe/go-internal/semver/BUILD.bazel new file mode 100644 index 00000000..c9d78a38 --- /dev/null +++ b/vendor/github.com/rogpeppe/go-internal/semver/BUILD.bazel @@ -0,0 +1,9 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = ["semver.go"], + importmap = "github.com/amaizfinance/redis-operator/vendor/github.com/rogpeppe/go-internal/semver", + importpath = "github.com/rogpeppe/go-internal/semver", + visibility = ["//visibility:public"], +) diff --git a/vendor/github.com/spf13/afero/BUILD.bazel b/vendor/github.com/spf13/afero/BUILD.bazel new file mode 100644 index 00000000..691372fc --- /dev/null +++ b/vendor/github.com/spf13/afero/BUILD.bazel @@ -0,0 +1,32 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = [ + "afero.go", + "basepath.go", + "cacheOnReadFs.go", + "const_bsds.go", + "const_win_unix.go", + "copyOnWriteFs.go", + "httpFs.go", + "ioutil.go", + "lstater.go", + "match.go", + "memmap.go", + "os.go", + "path.go", + "readonlyfs.go", + "regexpfs.go", + "unionFile.go", + "util.go", + ], + importmap = "github.com/amaizfinance/redis-operator/vendor/github.com/spf13/afero", + importpath = "github.com/spf13/afero", + visibility = ["//visibility:public"], + deps = [ + "//vendor/github.com/spf13/afero/mem:go_default_library", + "//vendor/golang.org/x/text/transform:go_default_library", + "//vendor/golang.org/x/text/unicode/norm:go_default_library", + ], +) diff --git a/vendor/github.com/spf13/afero/mem/BUILD.bazel b/vendor/github.com/spf13/afero/mem/BUILD.bazel new file mode 100644 index 00000000..0f1d3e6a --- /dev/null +++ b/vendor/github.com/spf13/afero/mem/BUILD.bazel @@ -0,0 +1,13 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = [ + "dir.go", + "dirmap.go", + "file.go", + ], + importmap = "github.com/amaizfinance/redis-operator/vendor/github.com/spf13/afero/mem", + importpath = "github.com/spf13/afero/mem", + visibility = ["//visibility:public"], +) diff --git a/vendor/github.com/spf13/cast/BUILD.bazel b/vendor/github.com/spf13/cast/BUILD.bazel new file mode 100644 index 00000000..92a46a68 --- /dev/null +++ b/vendor/github.com/spf13/cast/BUILD.bazel @@ -0,0 +1,12 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = [ + "cast.go", + "caste.go", + ], + importmap = "github.com/amaizfinance/redis-operator/vendor/github.com/spf13/cast", + importpath = "github.com/spf13/cast", + visibility = ["//visibility:public"], +) diff --git a/vendor/github.com/spf13/pflag/BUILD.bazel b/vendor/github.com/spf13/pflag/BUILD.bazel new file mode 100644 index 00000000..c35f2337 --- /dev/null +++ b/vendor/github.com/spf13/pflag/BUILD.bazel @@ -0,0 +1,41 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = [ + "bool.go", + "bool_slice.go", + "bytes.go", + "count.go", + "duration.go", + "duration_slice.go", + "flag.go", + "float32.go", + "float64.go", + "golangflag.go", + "int.go", + "int16.go", + "int32.go", + "int64.go", + "int8.go", + "int_slice.go", + "ip.go", + "ip_slice.go", + "ipmask.go", + "ipnet.go", + "string.go", + "string_array.go", + "string_slice.go", + "string_to_int.go", + "string_to_string.go", + "uint.go", + "uint16.go", + "uint32.go", + "uint64.go", + "uint8.go", + "uint_slice.go", + ], + importmap = "github.com/amaizfinance/redis-operator/vendor/github.com/spf13/pflag", + importpath = "github.com/spf13/pflag", + visibility = ["//visibility:public"], +) diff --git a/vendor/go.opencensus.io/BUILD.bazel b/vendor/go.opencensus.io/BUILD.bazel new file mode 100644 index 00000000..24f38666 --- /dev/null +++ b/vendor/go.opencensus.io/BUILD.bazel @@ -0,0 +1,9 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = ["opencensus.go"], + importmap = "github.com/amaizfinance/redis-operator/vendor/go.opencensus.io", + importpath = "go.opencensus.io", + visibility = ["//visibility:public"], +) diff --git a/vendor/go.opencensus.io/internal/BUILD.bazel b/vendor/go.opencensus.io/internal/BUILD.bazel new file mode 100644 index 00000000..8fc760c8 --- /dev/null +++ b/vendor/go.opencensus.io/internal/BUILD.bazel @@ -0,0 +1,14 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = [ + "internal.go", + "sanitize.go", + "traceinternals.go", + ], + importmap = "github.com/amaizfinance/redis-operator/vendor/go.opencensus.io/internal", + importpath = "go.opencensus.io/internal", + visibility = ["//visibility:public"], + deps = ["//vendor/go.opencensus.io:go_default_library"], +) diff --git a/vendor/go.opencensus.io/internal/tagencoding/BUILD.bazel b/vendor/go.opencensus.io/internal/tagencoding/BUILD.bazel new file mode 100644 index 00000000..4e6b93b5 --- /dev/null +++ b/vendor/go.opencensus.io/internal/tagencoding/BUILD.bazel @@ -0,0 +1,9 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = ["tagencoding.go"], + importmap = "github.com/amaizfinance/redis-operator/vendor/go.opencensus.io/internal/tagencoding", + importpath = "go.opencensus.io/internal/tagencoding", + visibility = ["//vendor/go.opencensus.io:__subpackages__"], +) diff --git a/vendor/go.opencensus.io/metric/metricdata/BUILD.bazel b/vendor/go.opencensus.io/metric/metricdata/BUILD.bazel new file mode 100644 index 00000000..50720d4b --- /dev/null +++ b/vendor/go.opencensus.io/metric/metricdata/BUILD.bazel @@ -0,0 +1,18 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = [ + "doc.go", + "exemplar.go", + "label.go", + "metric.go", + "point.go", + "type_string.go", + "unit.go", + ], + importmap = "github.com/amaizfinance/redis-operator/vendor/go.opencensus.io/metric/metricdata", + importpath = "go.opencensus.io/metric/metricdata", + visibility = ["//visibility:public"], + deps = ["//vendor/go.opencensus.io/resource:go_default_library"], +) diff --git a/vendor/go.opencensus.io/metric/metricproducer/BUILD.bazel b/vendor/go.opencensus.io/metric/metricproducer/BUILD.bazel new file mode 100644 index 00000000..e8e88158 --- /dev/null +++ b/vendor/go.opencensus.io/metric/metricproducer/BUILD.bazel @@ -0,0 +1,13 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = [ + "manager.go", + "producer.go", + ], + importmap = "github.com/amaizfinance/redis-operator/vendor/go.opencensus.io/metric/metricproducer", + importpath = "go.opencensus.io/metric/metricproducer", + visibility = ["//visibility:public"], + deps = ["//vendor/go.opencensus.io/metric/metricdata:go_default_library"], +) diff --git a/vendor/go.opencensus.io/plugin/ocgrpc/BUILD.bazel b/vendor/go.opencensus.io/plugin/ocgrpc/BUILD.bazel new file mode 100644 index 00000000..927156b4 --- /dev/null +++ b/vendor/go.opencensus.io/plugin/ocgrpc/BUILD.bazel @@ -0,0 +1,32 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = [ + "client.go", + "client_metrics.go", + "client_stats_handler.go", + "doc.go", + "server.go", + "server_metrics.go", + "server_stats_handler.go", + "stats_common.go", + "trace_common.go", + ], + importmap = "github.com/amaizfinance/redis-operator/vendor/go.opencensus.io/plugin/ocgrpc", + importpath = "go.opencensus.io/plugin/ocgrpc", + visibility = ["//visibility:public"], + deps = [ + "//vendor/go.opencensus.io/stats:go_default_library", + "//vendor/go.opencensus.io/stats/view:go_default_library", + "//vendor/go.opencensus.io/tag:go_default_library", + "//vendor/go.opencensus.io/trace:go_default_library", + "//vendor/go.opencensus.io/trace/propagation:go_default_library", + "//vendor/golang.org/x/net/context:go_default_library", + "//vendor/google.golang.org/grpc/codes:go_default_library", + "//vendor/google.golang.org/grpc/grpclog:go_default_library", + "//vendor/google.golang.org/grpc/metadata:go_default_library", + "//vendor/google.golang.org/grpc/stats:go_default_library", + "//vendor/google.golang.org/grpc/status:go_default_library", + ], +) diff --git a/vendor/go.opencensus.io/plugin/ochttp/BUILD.bazel b/vendor/go.opencensus.io/plugin/ochttp/BUILD.bazel new file mode 100644 index 00000000..0111ca08 --- /dev/null +++ b/vendor/go.opencensus.io/plugin/ochttp/BUILD.bazel @@ -0,0 +1,27 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = [ + "client.go", + "client_stats.go", + "doc.go", + "route.go", + "server.go", + "span_annotating_client_trace.go", + "stats.go", + "trace.go", + "wrapped_body.go", + ], + importmap = "github.com/amaizfinance/redis-operator/vendor/go.opencensus.io/plugin/ochttp", + importpath = "go.opencensus.io/plugin/ochttp", + visibility = ["//visibility:public"], + deps = [ + "//vendor/go.opencensus.io/plugin/ochttp/propagation/b3:go_default_library", + "//vendor/go.opencensus.io/stats:go_default_library", + "//vendor/go.opencensus.io/stats/view:go_default_library", + "//vendor/go.opencensus.io/tag:go_default_library", + "//vendor/go.opencensus.io/trace:go_default_library", + "//vendor/go.opencensus.io/trace/propagation:go_default_library", + ], +) diff --git a/vendor/go.opencensus.io/plugin/ochttp/propagation/b3/BUILD.bazel b/vendor/go.opencensus.io/plugin/ochttp/propagation/b3/BUILD.bazel new file mode 100644 index 00000000..8a80e388 --- /dev/null +++ b/vendor/go.opencensus.io/plugin/ochttp/propagation/b3/BUILD.bazel @@ -0,0 +1,13 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = ["b3.go"], + importmap = "github.com/amaizfinance/redis-operator/vendor/go.opencensus.io/plugin/ochttp/propagation/b3", + importpath = "go.opencensus.io/plugin/ochttp/propagation/b3", + visibility = ["//visibility:public"], + deps = [ + "//vendor/go.opencensus.io/trace:go_default_library", + "//vendor/go.opencensus.io/trace/propagation:go_default_library", + ], +) diff --git a/vendor/go.opencensus.io/plugin/ochttp/propagation/tracecontext/BUILD.bazel b/vendor/go.opencensus.io/plugin/ochttp/propagation/tracecontext/BUILD.bazel new file mode 100644 index 00000000..2fbd66e7 --- /dev/null +++ b/vendor/go.opencensus.io/plugin/ochttp/propagation/tracecontext/BUILD.bazel @@ -0,0 +1,14 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = ["propagation.go"], + importmap = "github.com/amaizfinance/redis-operator/vendor/go.opencensus.io/plugin/ochttp/propagation/tracecontext", + importpath = "go.opencensus.io/plugin/ochttp/propagation/tracecontext", + visibility = ["//visibility:public"], + deps = [ + "//vendor/go.opencensus.io/trace:go_default_library", + "//vendor/go.opencensus.io/trace/propagation:go_default_library", + "//vendor/go.opencensus.io/trace/tracestate:go_default_library", + ], +) diff --git a/vendor/go.opencensus.io/resource/BUILD.bazel b/vendor/go.opencensus.io/resource/BUILD.bazel new file mode 100644 index 00000000..ddecc982 --- /dev/null +++ b/vendor/go.opencensus.io/resource/BUILD.bazel @@ -0,0 +1,9 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = ["resource.go"], + importmap = "github.com/amaizfinance/redis-operator/vendor/go.opencensus.io/resource", + importpath = "go.opencensus.io/resource", + visibility = ["//visibility:public"], +) diff --git a/vendor/go.opencensus.io/stats/BUILD.bazel b/vendor/go.opencensus.io/stats/BUILD.bazel new file mode 100644 index 00000000..119cbaf9 --- /dev/null +++ b/vendor/go.opencensus.io/stats/BUILD.bazel @@ -0,0 +1,20 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = [ + "doc.go", + "measure.go", + "measure_float64.go", + "measure_int64.go", + "record.go", + "units.go", + ], + importmap = "github.com/amaizfinance/redis-operator/vendor/go.opencensus.io/stats", + importpath = "go.opencensus.io/stats", + visibility = ["//visibility:public"], + deps = [ + "//vendor/go.opencensus.io/stats/internal:go_default_library", + "//vendor/go.opencensus.io/tag:go_default_library", + ], +) diff --git a/vendor/go.opencensus.io/stats/internal/BUILD.bazel b/vendor/go.opencensus.io/stats/internal/BUILD.bazel new file mode 100644 index 00000000..f2cefe3b --- /dev/null +++ b/vendor/go.opencensus.io/stats/internal/BUILD.bazel @@ -0,0 +1,10 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = ["record.go"], + importmap = "github.com/amaizfinance/redis-operator/vendor/go.opencensus.io/stats/internal", + importpath = "go.opencensus.io/stats/internal", + visibility = ["//visibility:public"], + deps = ["//vendor/go.opencensus.io/tag:go_default_library"], +) diff --git a/vendor/go.opencensus.io/stats/view/BUILD.bazel b/vendor/go.opencensus.io/stats/view/BUILD.bazel new file mode 100644 index 00000000..7cb27fe5 --- /dev/null +++ b/vendor/go.opencensus.io/stats/view/BUILD.bazel @@ -0,0 +1,27 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = [ + "aggregation.go", + "aggregation_data.go", + "collector.go", + "doc.go", + "export.go", + "view.go", + "view_to_metric.go", + "worker.go", + "worker_commands.go", + ], + importmap = "github.com/amaizfinance/redis-operator/vendor/go.opencensus.io/stats/view", + importpath = "go.opencensus.io/stats/view", + visibility = ["//visibility:public"], + deps = [ + "//vendor/go.opencensus.io/internal/tagencoding:go_default_library", + "//vendor/go.opencensus.io/metric/metricdata:go_default_library", + "//vendor/go.opencensus.io/metric/metricproducer:go_default_library", + "//vendor/go.opencensus.io/stats:go_default_library", + "//vendor/go.opencensus.io/stats/internal:go_default_library", + "//vendor/go.opencensus.io/tag:go_default_library", + ], +) diff --git a/vendor/go.opencensus.io/tag/BUILD.bazel b/vendor/go.opencensus.io/tag/BUILD.bazel new file mode 100644 index 00000000..3152bbe6 --- /dev/null +++ b/vendor/go.opencensus.io/tag/BUILD.bazel @@ -0,0 +1,18 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = [ + "context.go", + "doc.go", + "key.go", + "map.go", + "map_codec.go", + "profile_19.go", + "profile_not19.go", + "validate.go", + ], + importmap = "github.com/amaizfinance/redis-operator/vendor/go.opencensus.io/tag", + importpath = "go.opencensus.io/tag", + visibility = ["//visibility:public"], +) diff --git a/vendor/go.opencensus.io/trace/BUILD.bazel b/vendor/go.opencensus.io/trace/BUILD.bazel new file mode 100644 index 00000000..edc78df2 --- /dev/null +++ b/vendor/go.opencensus.io/trace/BUILD.bazel @@ -0,0 +1,29 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = [ + "basetypes.go", + "config.go", + "doc.go", + "evictedqueue.go", + "export.go", + "lrumap.go", + "sampling.go", + "spanbucket.go", + "spanstore.go", + "status_codes.go", + "trace.go", + "trace_go11.go", + "trace_nongo11.go", + ], + importmap = "github.com/amaizfinance/redis-operator/vendor/go.opencensus.io/trace", + importpath = "go.opencensus.io/trace", + visibility = ["//visibility:public"], + deps = [ + "//vendor/github.com/hashicorp/golang-lru/simplelru:go_default_library", + "//vendor/go.opencensus.io/internal:go_default_library", + "//vendor/go.opencensus.io/trace/internal:go_default_library", + "//vendor/go.opencensus.io/trace/tracestate:go_default_library", + ], +) diff --git a/vendor/go.opencensus.io/trace/internal/BUILD.bazel b/vendor/go.opencensus.io/trace/internal/BUILD.bazel new file mode 100644 index 00000000..33b86595 --- /dev/null +++ b/vendor/go.opencensus.io/trace/internal/BUILD.bazel @@ -0,0 +1,9 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = ["internal.go"], + importmap = "github.com/amaizfinance/redis-operator/vendor/go.opencensus.io/trace/internal", + importpath = "go.opencensus.io/trace/internal", + visibility = ["//visibility:public"], +) diff --git a/vendor/go.opencensus.io/trace/propagation/BUILD.bazel b/vendor/go.opencensus.io/trace/propagation/BUILD.bazel new file mode 100644 index 00000000..881580e1 --- /dev/null +++ b/vendor/go.opencensus.io/trace/propagation/BUILD.bazel @@ -0,0 +1,10 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = ["propagation.go"], + importmap = "github.com/amaizfinance/redis-operator/vendor/go.opencensus.io/trace/propagation", + importpath = "go.opencensus.io/trace/propagation", + visibility = ["//visibility:public"], + deps = ["//vendor/go.opencensus.io/trace:go_default_library"], +) diff --git a/vendor/go.opencensus.io/trace/tracestate/BUILD.bazel b/vendor/go.opencensus.io/trace/tracestate/BUILD.bazel new file mode 100644 index 00000000..48bc0e76 --- /dev/null +++ b/vendor/go.opencensus.io/trace/tracestate/BUILD.bazel @@ -0,0 +1,9 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = ["tracestate.go"], + importmap = "github.com/amaizfinance/redis-operator/vendor/go.opencensus.io/trace/tracestate", + importpath = "go.opencensus.io/trace/tracestate", + visibility = ["//visibility:public"], +) diff --git a/vendor/go.uber.org/atomic/BUILD.bazel b/vendor/go.uber.org/atomic/BUILD.bazel new file mode 100644 index 00000000..20c547cb --- /dev/null +++ b/vendor/go.uber.org/atomic/BUILD.bazel @@ -0,0 +1,12 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = [ + "atomic.go", + "string.go", + ], + importmap = "github.com/amaizfinance/redis-operator/vendor/go.uber.org/atomic", + importpath = "go.uber.org/atomic", + visibility = ["//visibility:public"], +) diff --git a/vendor/go.uber.org/multierr/BUILD.bazel b/vendor/go.uber.org/multierr/BUILD.bazel new file mode 100644 index 00000000..5a5f5a6c --- /dev/null +++ b/vendor/go.uber.org/multierr/BUILD.bazel @@ -0,0 +1,10 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = ["error.go"], + importmap = "github.com/amaizfinance/redis-operator/vendor/go.uber.org/multierr", + importpath = "go.uber.org/multierr", + visibility = ["//visibility:public"], + deps = ["//vendor/go.uber.org/atomic:go_default_library"], +) diff --git a/vendor/go.uber.org/zap/BUILD.bazel b/vendor/go.uber.org/zap/BUILD.bazel new file mode 100644 index 00000000..4d32db53 --- /dev/null +++ b/vendor/go.uber.org/zap/BUILD.bazel @@ -0,0 +1,33 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = [ + "array.go", + "config.go", + "doc.go", + "encoder.go", + "error.go", + "field.go", + "flag.go", + "global.go", + "http_handler.go", + "level.go", + "logger.go", + "options.go", + "sink.go", + "stacktrace.go", + "sugar.go", + "time.go", + "writer.go", + ], + importmap = "github.com/amaizfinance/redis-operator/vendor/go.uber.org/zap", + importpath = "go.uber.org/zap", + visibility = ["//visibility:public"], + deps = [ + "//vendor/go.uber.org/atomic:go_default_library", + "//vendor/go.uber.org/multierr:go_default_library", + "//vendor/go.uber.org/zap/internal/bufferpool:go_default_library", + "//vendor/go.uber.org/zap/zapcore:go_default_library", + ], +) diff --git a/vendor/go.uber.org/zap/buffer/BUILD.bazel b/vendor/go.uber.org/zap/buffer/BUILD.bazel new file mode 100644 index 00000000..644c27e2 --- /dev/null +++ b/vendor/go.uber.org/zap/buffer/BUILD.bazel @@ -0,0 +1,12 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = [ + "buffer.go", + "pool.go", + ], + importmap = "github.com/amaizfinance/redis-operator/vendor/go.uber.org/zap/buffer", + importpath = "go.uber.org/zap/buffer", + visibility = ["//visibility:public"], +) diff --git a/vendor/go.uber.org/zap/internal/bufferpool/BUILD.bazel b/vendor/go.uber.org/zap/internal/bufferpool/BUILD.bazel new file mode 100644 index 00000000..e7b5413b --- /dev/null +++ b/vendor/go.uber.org/zap/internal/bufferpool/BUILD.bazel @@ -0,0 +1,10 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = ["bufferpool.go"], + importmap = "github.com/amaizfinance/redis-operator/vendor/go.uber.org/zap/internal/bufferpool", + importpath = "go.uber.org/zap/internal/bufferpool", + visibility = ["//vendor/go.uber.org/zap:__subpackages__"], + deps = ["//vendor/go.uber.org/zap/buffer:go_default_library"], +) diff --git a/vendor/go.uber.org/zap/internal/color/BUILD.bazel b/vendor/go.uber.org/zap/internal/color/BUILD.bazel new file mode 100644 index 00000000..64bf5e05 --- /dev/null +++ b/vendor/go.uber.org/zap/internal/color/BUILD.bazel @@ -0,0 +1,9 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = ["color.go"], + importmap = "github.com/amaizfinance/redis-operator/vendor/go.uber.org/zap/internal/color", + importpath = "go.uber.org/zap/internal/color", + visibility = ["//vendor/go.uber.org/zap:__subpackages__"], +) diff --git a/vendor/go.uber.org/zap/internal/exit/BUILD.bazel b/vendor/go.uber.org/zap/internal/exit/BUILD.bazel new file mode 100644 index 00000000..e2c0e632 --- /dev/null +++ b/vendor/go.uber.org/zap/internal/exit/BUILD.bazel @@ -0,0 +1,9 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = ["exit.go"], + importmap = "github.com/amaizfinance/redis-operator/vendor/go.uber.org/zap/internal/exit", + importpath = "go.uber.org/zap/internal/exit", + visibility = ["//vendor/go.uber.org/zap:__subpackages__"], +) diff --git a/vendor/go.uber.org/zap/zapcore/BUILD.bazel b/vendor/go.uber.org/zap/zapcore/BUILD.bazel new file mode 100644 index 00000000..3d778ceb --- /dev/null +++ b/vendor/go.uber.org/zap/zapcore/BUILD.bazel @@ -0,0 +1,34 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = [ + "console_encoder.go", + "core.go", + "doc.go", + "encoder.go", + "entry.go", + "error.go", + "field.go", + "hook.go", + "json_encoder.go", + "level.go", + "level_strings.go", + "marshaler.go", + "memory_encoder.go", + "sampler.go", + "tee.go", + "write_syncer.go", + ], + importmap = "github.com/amaizfinance/redis-operator/vendor/go.uber.org/zap/zapcore", + importpath = "go.uber.org/zap/zapcore", + visibility = ["//visibility:public"], + deps = [ + "//vendor/go.uber.org/atomic:go_default_library", + "//vendor/go.uber.org/multierr:go_default_library", + "//vendor/go.uber.org/zap/buffer:go_default_library", + "//vendor/go.uber.org/zap/internal/bufferpool:go_default_library", + "//vendor/go.uber.org/zap/internal/color:go_default_library", + "//vendor/go.uber.org/zap/internal/exit:go_default_library", + ], +) diff --git a/vendor/golang.org/x/crypto/argon2/BUILD.bazel b/vendor/golang.org/x/crypto/argon2/BUILD.bazel new file mode 100644 index 00000000..b65ece1b --- /dev/null +++ b/vendor/golang.org/x/crypto/argon2/BUILD.bazel @@ -0,0 +1,24 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = [ + "argon2.go", + "blake2b.go", + "blamka_amd64.go", + "blamka_amd64.s", + "blamka_generic.go", + "blamka_ref.go", + ], + importmap = "github.com/amaizfinance/redis-operator/vendor/golang.org/x/crypto/argon2", + importpath = "golang.org/x/crypto/argon2", + visibility = ["//visibility:public"], + deps = [ + "//vendor/golang.org/x/crypto/blake2b:go_default_library", + ] + select({ + "@io_bazel_rules_go//go/platform:amd64": [ + "//vendor/golang.org/x/sys/cpu:go_default_library", + ], + "//conditions:default": [], + }), +) diff --git a/vendor/golang.org/x/crypto/blake2b/BUILD.bazel b/vendor/golang.org/x/crypto/blake2b/BUILD.bazel new file mode 100644 index 00000000..856c355b --- /dev/null +++ b/vendor/golang.org/x/crypto/blake2b/BUILD.bazel @@ -0,0 +1,25 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = [ + "blake2b.go", + "blake2bAVX2_amd64.go", + "blake2bAVX2_amd64.s", + "blake2b_amd64.go", + "blake2b_amd64.s", + "blake2b_generic.go", + "blake2b_ref.go", + "blake2x.go", + "register.go", + ], + importmap = "github.com/amaizfinance/redis-operator/vendor/golang.org/x/crypto/blake2b", + importpath = "golang.org/x/crypto/blake2b", + visibility = ["//visibility:public"], + deps = select({ + "@io_bazel_rules_go//go/platform:amd64": [ + "//vendor/golang.org/x/sys/cpu:go_default_library", + ], + "//conditions:default": [], + }), +) diff --git a/vendor/golang.org/x/crypto/ssh/terminal/BUILD.bazel b/vendor/golang.org/x/crypto/ssh/terminal/BUILD.bazel new file mode 100644 index 00000000..cbcc11a0 --- /dev/null +++ b/vendor/golang.org/x/crypto/ssh/terminal/BUILD.bazel @@ -0,0 +1,44 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = [ + "terminal.go", + "util.go", + "util_bsd.go", + "util_linux.go", + "util_plan9.go", + "util_solaris.go", + "util_windows.go", + ], + importmap = "github.com/amaizfinance/redis-operator/vendor/golang.org/x/crypto/ssh/terminal", + importpath = "golang.org/x/crypto/ssh/terminal", + visibility = ["//visibility:public"], + deps = select({ + "@io_bazel_rules_go//go/platform:darwin": [ + "//vendor/golang.org/x/sys/unix:go_default_library", + ], + "@io_bazel_rules_go//go/platform:dragonfly": [ + "//vendor/golang.org/x/sys/unix:go_default_library", + ], + "@io_bazel_rules_go//go/platform:freebsd": [ + "//vendor/golang.org/x/sys/unix:go_default_library", + ], + "@io_bazel_rules_go//go/platform:linux": [ + "//vendor/golang.org/x/sys/unix:go_default_library", + ], + "@io_bazel_rules_go//go/platform:netbsd": [ + "//vendor/golang.org/x/sys/unix:go_default_library", + ], + "@io_bazel_rules_go//go/platform:openbsd": [ + "//vendor/golang.org/x/sys/unix:go_default_library", + ], + "@io_bazel_rules_go//go/platform:solaris": [ + "//vendor/golang.org/x/sys/unix:go_default_library", + ], + "@io_bazel_rules_go//go/platform:windows": [ + "//vendor/golang.org/x/sys/windows:go_default_library", + ], + "//conditions:default": [], + }), +) diff --git a/vendor/golang.org/x/net/context/BUILD.bazel b/vendor/golang.org/x/net/context/BUILD.bazel new file mode 100644 index 00000000..f0b2f85c --- /dev/null +++ b/vendor/golang.org/x/net/context/BUILD.bazel @@ -0,0 +1,15 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = [ + "context.go", + "go17.go", + "go19.go", + "pre_go17.go", + "pre_go19.go", + ], + importmap = "github.com/amaizfinance/redis-operator/vendor/golang.org/x/net/context", + importpath = "golang.org/x/net/context", + visibility = ["//visibility:public"], +) diff --git a/vendor/golang.org/x/net/context/ctxhttp/BUILD.bazel b/vendor/golang.org/x/net/context/ctxhttp/BUILD.bazel new file mode 100644 index 00000000..f1f41539 --- /dev/null +++ b/vendor/golang.org/x/net/context/ctxhttp/BUILD.bazel @@ -0,0 +1,9 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = ["ctxhttp.go"], + importmap = "github.com/amaizfinance/redis-operator/vendor/golang.org/x/net/context/ctxhttp", + importpath = "golang.org/x/net/context/ctxhttp", + visibility = ["//visibility:public"], +) diff --git a/vendor/golang.org/x/net/http/httpguts/BUILD.bazel b/vendor/golang.org/x/net/http/httpguts/BUILD.bazel new file mode 100644 index 00000000..89617abc --- /dev/null +++ b/vendor/golang.org/x/net/http/httpguts/BUILD.bazel @@ -0,0 +1,13 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = [ + "guts.go", + "httplex.go", + ], + importmap = "github.com/amaizfinance/redis-operator/vendor/golang.org/x/net/http/httpguts", + importpath = "golang.org/x/net/http/httpguts", + visibility = ["//visibility:public"], + deps = ["//vendor/golang.org/x/net/idna:go_default_library"], +) diff --git a/vendor/golang.org/x/net/http2/BUILD.bazel b/vendor/golang.org/x/net/http2/BUILD.bazel new file mode 100644 index 00000000..b471e770 --- /dev/null +++ b/vendor/golang.org/x/net/http2/BUILD.bazel @@ -0,0 +1,33 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = [ + "ciphers.go", + "client_conn_pool.go", + "databuffer.go", + "errors.go", + "flow.go", + "frame.go", + "go111.go", + "gotrack.go", + "headermap.go", + "http2.go", + "not_go111.go", + "pipe.go", + "server.go", + "transport.go", + "write.go", + "writesched.go", + "writesched_priority.go", + "writesched_random.go", + ], + importmap = "github.com/amaizfinance/redis-operator/vendor/golang.org/x/net/http2", + importpath = "golang.org/x/net/http2", + visibility = ["//visibility:public"], + deps = [ + "//vendor/golang.org/x/net/http/httpguts:go_default_library", + "//vendor/golang.org/x/net/http2/hpack:go_default_library", + "//vendor/golang.org/x/net/idna:go_default_library", + ], +) diff --git a/vendor/golang.org/x/net/http2/hpack/BUILD.bazel b/vendor/golang.org/x/net/http2/hpack/BUILD.bazel new file mode 100644 index 00000000..8b571000 --- /dev/null +++ b/vendor/golang.org/x/net/http2/hpack/BUILD.bazel @@ -0,0 +1,14 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = [ + "encode.go", + "hpack.go", + "huffman.go", + "tables.go", + ], + importmap = "github.com/amaizfinance/redis-operator/vendor/golang.org/x/net/http2/hpack", + importpath = "golang.org/x/net/http2/hpack", + visibility = ["//visibility:public"], +) diff --git a/vendor/golang.org/x/net/idna/BUILD.bazel b/vendor/golang.org/x/net/idna/BUILD.bazel new file mode 100644 index 00000000..55bea07b --- /dev/null +++ b/vendor/golang.org/x/net/idna/BUILD.bazel @@ -0,0 +1,20 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = [ + "idna.go", + "punycode.go", + "tables.go", + "trie.go", + "trieval.go", + ], + importmap = "github.com/amaizfinance/redis-operator/vendor/golang.org/x/net/idna", + importpath = "golang.org/x/net/idna", + visibility = ["//visibility:public"], + deps = [ + "//vendor/golang.org/x/text/secure/bidirule:go_default_library", + "//vendor/golang.org/x/text/unicode/bidi:go_default_library", + "//vendor/golang.org/x/text/unicode/norm:go_default_library", + ], +) diff --git a/vendor/golang.org/x/net/internal/timeseries/BUILD.bazel b/vendor/golang.org/x/net/internal/timeseries/BUILD.bazel new file mode 100644 index 00000000..fc4a050e --- /dev/null +++ b/vendor/golang.org/x/net/internal/timeseries/BUILD.bazel @@ -0,0 +1,9 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = ["timeseries.go"], + importmap = "github.com/amaizfinance/redis-operator/vendor/golang.org/x/net/internal/timeseries", + importpath = "golang.org/x/net/internal/timeseries", + visibility = ["//vendor/golang.org/x/net:__subpackages__"], +) diff --git a/vendor/golang.org/x/net/trace/BUILD.bazel b/vendor/golang.org/x/net/trace/BUILD.bazel new file mode 100644 index 00000000..909842d0 --- /dev/null +++ b/vendor/golang.org/x/net/trace/BUILD.bazel @@ -0,0 +1,14 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = [ + "events.go", + "histogram.go", + "trace.go", + ], + importmap = "github.com/amaizfinance/redis-operator/vendor/golang.org/x/net/trace", + importpath = "golang.org/x/net/trace", + visibility = ["//visibility:public"], + deps = ["//vendor/golang.org/x/net/internal/timeseries:go_default_library"], +) diff --git a/vendor/golang.org/x/oauth2/BUILD.bazel b/vendor/golang.org/x/oauth2/BUILD.bazel new file mode 100644 index 00000000..4b63e1ab --- /dev/null +++ b/vendor/golang.org/x/oauth2/BUILD.bazel @@ -0,0 +1,14 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = [ + "oauth2.go", + "token.go", + "transport.go", + ], + importmap = "github.com/amaizfinance/redis-operator/vendor/golang.org/x/oauth2", + importpath = "golang.org/x/oauth2", + visibility = ["//visibility:public"], + deps = ["//vendor/golang.org/x/oauth2/internal:go_default_library"], +) diff --git a/vendor/golang.org/x/oauth2/google/BUILD.bazel b/vendor/golang.org/x/oauth2/google/BUILD.bazel new file mode 100644 index 00000000..850dad11 --- /dev/null +++ b/vendor/golang.org/x/oauth2/google/BUILD.bazel @@ -0,0 +1,24 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = [ + "appengine.go", + "appengine_gen2_flex.go", + "default.go", + "doc.go", + "google.go", + "jwt.go", + "sdk.go", + ], + importmap = "github.com/amaizfinance/redis-operator/vendor/golang.org/x/oauth2/google", + importpath = "golang.org/x/oauth2/google", + visibility = ["//visibility:public"], + deps = [ + "//vendor/cloud.google.com/go/compute/metadata:go_default_library", + "//vendor/golang.org/x/oauth2:go_default_library", + "//vendor/golang.org/x/oauth2/internal:go_default_library", + "//vendor/golang.org/x/oauth2/jws:go_default_library", + "//vendor/golang.org/x/oauth2/jwt:go_default_library", + ], +) diff --git a/vendor/golang.org/x/oauth2/internal/BUILD.bazel b/vendor/golang.org/x/oauth2/internal/BUILD.bazel new file mode 100644 index 00000000..5985402e --- /dev/null +++ b/vendor/golang.org/x/oauth2/internal/BUILD.bazel @@ -0,0 +1,15 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = [ + "doc.go", + "oauth2.go", + "token.go", + "transport.go", + ], + importmap = "github.com/amaizfinance/redis-operator/vendor/golang.org/x/oauth2/internal", + importpath = "golang.org/x/oauth2/internal", + visibility = ["//visibility:public"], + deps = ["//vendor/golang.org/x/net/context/ctxhttp:go_default_library"], +) diff --git a/vendor/golang.org/x/oauth2/jws/BUILD.bazel b/vendor/golang.org/x/oauth2/jws/BUILD.bazel new file mode 100644 index 00000000..1fe6daf4 --- /dev/null +++ b/vendor/golang.org/x/oauth2/jws/BUILD.bazel @@ -0,0 +1,9 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = ["jws.go"], + importmap = "github.com/amaizfinance/redis-operator/vendor/golang.org/x/oauth2/jws", + importpath = "golang.org/x/oauth2/jws", + visibility = ["//visibility:public"], +) diff --git a/vendor/golang.org/x/oauth2/jwt/BUILD.bazel b/vendor/golang.org/x/oauth2/jwt/BUILD.bazel new file mode 100644 index 00000000..17522248 --- /dev/null +++ b/vendor/golang.org/x/oauth2/jwt/BUILD.bazel @@ -0,0 +1,14 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = ["jwt.go"], + importmap = "github.com/amaizfinance/redis-operator/vendor/golang.org/x/oauth2/jwt", + importpath = "golang.org/x/oauth2/jwt", + visibility = ["//visibility:public"], + deps = [ + "//vendor/golang.org/x/oauth2:go_default_library", + "//vendor/golang.org/x/oauth2/internal:go_default_library", + "//vendor/golang.org/x/oauth2/jws:go_default_library", + ], +) diff --git a/vendor/golang.org/x/sync/semaphore/BUILD.bazel b/vendor/golang.org/x/sync/semaphore/BUILD.bazel new file mode 100644 index 00000000..b8b96ead --- /dev/null +++ b/vendor/golang.org/x/sync/semaphore/BUILD.bazel @@ -0,0 +1,9 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = ["semaphore.go"], + importmap = "github.com/amaizfinance/redis-operator/vendor/golang.org/x/sync/semaphore", + importpath = "golang.org/x/sync/semaphore", + visibility = ["//visibility:public"], +) diff --git a/vendor/golang.org/x/sys/cpu/BUILD.bazel b/vendor/golang.org/x/sys/cpu/BUILD.bazel new file mode 100644 index 00000000..bf480319 --- /dev/null +++ b/vendor/golang.org/x/sys/cpu/BUILD.bazel @@ -0,0 +1,25 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = [ + "byteorder.go", + "cpu.go", + "cpu_arm.go", + "cpu_gc_s390x.go", + "cpu_gc_x86.go", + "cpu_linux.go", + "cpu_linux_arm64.go", + "cpu_linux_ppc64x.go", + "cpu_linux_s390x.go", + "cpu_mips64x.go", + "cpu_mipsx.go", + "cpu_other_arm64.go", + "cpu_s390x.s", + "cpu_x86.go", + "cpu_x86.s", + ], + importmap = "github.com/amaizfinance/redis-operator/vendor/golang.org/x/sys/cpu", + importpath = "golang.org/x/sys/cpu", + visibility = ["//visibility:public"], +) diff --git a/vendor/golang.org/x/sys/unix/BUILD.bazel b/vendor/golang.org/x/sys/unix/BUILD.bazel new file mode 100644 index 00000000..31921298 --- /dev/null +++ b/vendor/golang.org/x/sys/unix/BUILD.bazel @@ -0,0 +1,224 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = [ + "affinity_linux.go", + "aliases.go", + "asm_aix_ppc64.s", + "asm_darwin_386.s", + "asm_darwin_amd64.s", + "asm_darwin_arm.s", + "asm_darwin_arm64.s", + "asm_dragonfly_amd64.s", + "asm_freebsd_386.s", + "asm_freebsd_amd64.s", + "asm_freebsd_arm.s", + "asm_linux_386.s", + "asm_linux_amd64.s", + "asm_linux_arm.s", + "asm_linux_arm64.s", + "asm_linux_mips64x.s", + "asm_linux_mipsx.s", + "asm_linux_ppc64x.s", + "asm_linux_s390x.s", + "asm_netbsd_386.s", + "asm_netbsd_amd64.s", + "asm_netbsd_arm.s", + "asm_openbsd_386.s", + "asm_openbsd_amd64.s", + "asm_openbsd_arm.s", + "asm_solaris_amd64.s", + "bluetooth_linux.go", + "cap_freebsd.go", + "constants.go", + "dev_darwin.go", + "dev_dragonfly.go", + "dev_freebsd.go", + "dev_linux.go", + "dev_netbsd.go", + "dev_openbsd.go", + "dirent.go", + "endian_big.go", + "endian_little.go", + "env_unix.go", + "errors_freebsd_386.go", + "errors_freebsd_amd64.go", + "errors_freebsd_arm.go", + "fcntl.go", + "fcntl_darwin.go", + "fcntl_linux_32bit.go", + "ioctl.go", + "openbsd_pledge.go", + "openbsd_unveil.go", + "pagesize_unix.go", + "race.go", + "race0.go", + "sockcmsg_linux.go", + "sockcmsg_unix.go", + "str.go", + "syscall.go", + "syscall_bsd.go", + "syscall_darwin.go", + "syscall_darwin_386.go", + "syscall_darwin_amd64.go", + "syscall_darwin_arm.go", + "syscall_darwin_arm64.go", + "syscall_darwin_libSystem.go", + "syscall_dragonfly.go", + "syscall_dragonfly_amd64.go", + "syscall_freebsd.go", + "syscall_freebsd_386.go", + "syscall_freebsd_amd64.go", + "syscall_freebsd_arm.go", + "syscall_linux.go", + "syscall_linux_386.go", + "syscall_linux_amd64.go", + "syscall_linux_amd64_gc.go", + "syscall_linux_arm.go", + "syscall_linux_arm64.go", + "syscall_linux_gc.go", + "syscall_linux_gc_386.go", + "syscall_linux_mips64x.go", + "syscall_linux_mipsx.go", + "syscall_linux_ppc64x.go", + "syscall_linux_s390x.go", + "syscall_netbsd.go", + "syscall_netbsd_386.go", + "syscall_netbsd_amd64.go", + "syscall_netbsd_arm.go", + "syscall_openbsd.go", + "syscall_openbsd_386.go", + "syscall_openbsd_amd64.go", + "syscall_openbsd_arm.go", + "syscall_solaris.go", + "syscall_solaris_amd64.go", + "syscall_unix.go", + "syscall_unix_gc.go", + "syscall_unix_gc_ppc64x.go", + "timestruct.go", + "xattr_bsd.go", + "zerrors_darwin_386.go", + "zerrors_darwin_amd64.go", + "zerrors_darwin_arm.go", + "zerrors_darwin_arm64.go", + "zerrors_dragonfly_amd64.go", + "zerrors_freebsd_386.go", + "zerrors_freebsd_amd64.go", + "zerrors_freebsd_arm.go", + "zerrors_linux_386.go", + "zerrors_linux_amd64.go", + "zerrors_linux_arm.go", + "zerrors_linux_arm64.go", + "zerrors_linux_mips.go", + "zerrors_linux_mips64.go", + "zerrors_linux_mips64le.go", + "zerrors_linux_mipsle.go", + "zerrors_linux_ppc64.go", + "zerrors_linux_ppc64le.go", + "zerrors_linux_s390x.go", + "zerrors_netbsd_386.go", + "zerrors_netbsd_amd64.go", + "zerrors_netbsd_arm.go", + "zerrors_openbsd_386.go", + "zerrors_openbsd_amd64.go", + "zerrors_openbsd_arm.go", + "zerrors_solaris_amd64.go", + "zptrace386_linux.go", + "zptracearm_linux.go", + "zptracemips_linux.go", + "zptracemipsle_linux.go", + "zsyscall_darwin_386.1_11.go", + "zsyscall_darwin_386.go", + "zsyscall_darwin_386.s", + "zsyscall_darwin_amd64.1_11.go", + "zsyscall_darwin_amd64.go", + "zsyscall_darwin_amd64.s", + "zsyscall_darwin_arm.1_11.go", + "zsyscall_darwin_arm.go", + "zsyscall_darwin_arm.s", + "zsyscall_darwin_arm64.1_11.go", + "zsyscall_darwin_arm64.go", + "zsyscall_darwin_arm64.s", + "zsyscall_dragonfly_amd64.go", + "zsyscall_freebsd_386.go", + "zsyscall_freebsd_amd64.go", + "zsyscall_freebsd_arm.go", + "zsyscall_linux_386.go", + "zsyscall_linux_amd64.go", + "zsyscall_linux_arm.go", + "zsyscall_linux_arm64.go", + "zsyscall_linux_mips.go", + "zsyscall_linux_mips64.go", + "zsyscall_linux_mips64le.go", + "zsyscall_linux_mipsle.go", + "zsyscall_linux_ppc64.go", + "zsyscall_linux_ppc64le.go", + "zsyscall_linux_s390x.go", + "zsyscall_netbsd_386.go", + "zsyscall_netbsd_amd64.go", + "zsyscall_netbsd_arm.go", + "zsyscall_openbsd_386.go", + "zsyscall_openbsd_amd64.go", + "zsyscall_openbsd_arm.go", + "zsyscall_solaris_amd64.go", + "zsysctl_openbsd_386.go", + "zsysctl_openbsd_amd64.go", + "zsysctl_openbsd_arm.go", + "zsysnum_darwin_386.go", + "zsysnum_darwin_amd64.go", + "zsysnum_darwin_arm.go", + "zsysnum_darwin_arm64.go", + "zsysnum_dragonfly_amd64.go", + "zsysnum_freebsd_386.go", + "zsysnum_freebsd_amd64.go", + "zsysnum_freebsd_arm.go", + "zsysnum_linux_386.go", + "zsysnum_linux_amd64.go", + "zsysnum_linux_arm.go", + "zsysnum_linux_arm64.go", + "zsysnum_linux_mips.go", + "zsysnum_linux_mips64.go", + "zsysnum_linux_mips64le.go", + "zsysnum_linux_mipsle.go", + "zsysnum_linux_ppc64.go", + "zsysnum_linux_ppc64le.go", + "zsysnum_linux_s390x.go", + "zsysnum_netbsd_386.go", + "zsysnum_netbsd_amd64.go", + "zsysnum_netbsd_arm.go", + "zsysnum_openbsd_386.go", + "zsysnum_openbsd_amd64.go", + "zsysnum_openbsd_arm.go", + "ztypes_darwin_386.go", + "ztypes_darwin_amd64.go", + "ztypes_darwin_arm.go", + "ztypes_darwin_arm64.go", + "ztypes_dragonfly_amd64.go", + "ztypes_freebsd_386.go", + "ztypes_freebsd_amd64.go", + "ztypes_freebsd_arm.go", + "ztypes_linux_386.go", + "ztypes_linux_amd64.go", + "ztypes_linux_arm.go", + "ztypes_linux_arm64.go", + "ztypes_linux_mips.go", + "ztypes_linux_mips64.go", + "ztypes_linux_mips64le.go", + "ztypes_linux_mipsle.go", + "ztypes_linux_ppc64.go", + "ztypes_linux_ppc64le.go", + "ztypes_linux_s390x.go", + "ztypes_netbsd_386.go", + "ztypes_netbsd_amd64.go", + "ztypes_netbsd_arm.go", + "ztypes_openbsd_386.go", + "ztypes_openbsd_amd64.go", + "ztypes_openbsd_arm.go", + "ztypes_solaris_amd64.go", + ], + cgo = True, + importmap = "github.com/amaizfinance/redis-operator/vendor/golang.org/x/sys/unix", + importpath = "golang.org/x/sys/unix", + visibility = ["//visibility:public"], +) diff --git a/vendor/golang.org/x/sys/windows/BUILD.bazel b/vendor/golang.org/x/sys/windows/BUILD.bazel new file mode 100644 index 00000000..b6977bd4 --- /dev/null +++ b/vendor/golang.org/x/sys/windows/BUILD.bazel @@ -0,0 +1,30 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = [ + "aliases.go", + "asm_windows_386.s", + "asm_windows_amd64.s", + "dll_windows.go", + "env_windows.go", + "eventlog.go", + "exec_windows.go", + "memory_windows.go", + "mksyscall.go", + "race.go", + "race0.go", + "security_windows.go", + "service.go", + "str.go", + "syscall.go", + "syscall_windows.go", + "types_windows.go", + "types_windows_386.go", + "types_windows_amd64.go", + "zsyscall_windows.go", + ], + importmap = "github.com/amaizfinance/redis-operator/vendor/golang.org/x/sys/windows", + importpath = "golang.org/x/sys/windows", + visibility = ["//visibility:public"], +) diff --git a/vendor/golang.org/x/text/secure/bidirule/BUILD.bazel b/vendor/golang.org/x/text/secure/bidirule/BUILD.bazel new file mode 100644 index 00000000..824274ec --- /dev/null +++ b/vendor/golang.org/x/text/secure/bidirule/BUILD.bazel @@ -0,0 +1,17 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = [ + "bidirule.go", + "bidirule10.0.0.go", + "bidirule9.0.0.go", + ], + importmap = "github.com/amaizfinance/redis-operator/vendor/golang.org/x/text/secure/bidirule", + importpath = "golang.org/x/text/secure/bidirule", + visibility = ["//visibility:public"], + deps = [ + "//vendor/golang.org/x/text/transform:go_default_library", + "//vendor/golang.org/x/text/unicode/bidi:go_default_library", + ], +) diff --git a/vendor/golang.org/x/text/transform/BUILD.bazel b/vendor/golang.org/x/text/transform/BUILD.bazel new file mode 100644 index 00000000..8db3749c --- /dev/null +++ b/vendor/golang.org/x/text/transform/BUILD.bazel @@ -0,0 +1,9 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = ["transform.go"], + importmap = "github.com/amaizfinance/redis-operator/vendor/golang.org/x/text/transform", + importpath = "golang.org/x/text/transform", + visibility = ["//visibility:public"], +) diff --git a/vendor/golang.org/x/text/unicode/bidi/BUILD.bazel b/vendor/golang.org/x/text/unicode/bidi/BUILD.bazel new file mode 100644 index 00000000..a11f2ea0 --- /dev/null +++ b/vendor/golang.org/x/text/unicode/bidi/BUILD.bazel @@ -0,0 +1,17 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = [ + "bidi.go", + "bracket.go", + "core.go", + "prop.go", + "tables10.0.0.go", + "tables9.0.0.go", + "trieval.go", + ], + importmap = "github.com/amaizfinance/redis-operator/vendor/golang.org/x/text/unicode/bidi", + importpath = "golang.org/x/text/unicode/bidi", + visibility = ["//visibility:public"], +) diff --git a/vendor/golang.org/x/text/unicode/norm/BUILD.bazel b/vendor/golang.org/x/text/unicode/norm/BUILD.bazel new file mode 100644 index 00000000..b454cb78 --- /dev/null +++ b/vendor/golang.org/x/text/unicode/norm/BUILD.bazel @@ -0,0 +1,21 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = [ + "composition.go", + "forminfo.go", + "input.go", + "iter.go", + "normalize.go", + "readwriter.go", + "tables10.0.0.go", + "tables9.0.0.go", + "transform.go", + "trie.go", + ], + importmap = "github.com/amaizfinance/redis-operator/vendor/golang.org/x/text/unicode/norm", + importpath = "golang.org/x/text/unicode/norm", + visibility = ["//visibility:public"], + deps = ["//vendor/golang.org/x/text/transform:go_default_library"], +) diff --git a/vendor/golang.org/x/text/width/BUILD.bazel b/vendor/golang.org/x/text/width/BUILD.bazel new file mode 100644 index 00000000..199d9e64 --- /dev/null +++ b/vendor/golang.org/x/text/width/BUILD.bazel @@ -0,0 +1,17 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = [ + "kind_string.go", + "tables10.0.0.go", + "tables9.0.0.go", + "transform.go", + "trieval.go", + "width.go", + ], + importmap = "github.com/amaizfinance/redis-operator/vendor/golang.org/x/text/width", + importpath = "golang.org/x/text/width", + visibility = ["//visibility:public"], + deps = ["//vendor/golang.org/x/text/transform:go_default_library"], +) diff --git a/vendor/golang.org/x/time/rate/BUILD.bazel b/vendor/golang.org/x/time/rate/BUILD.bazel new file mode 100644 index 00000000..5bbb84d6 --- /dev/null +++ b/vendor/golang.org/x/time/rate/BUILD.bazel @@ -0,0 +1,9 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = ["rate.go"], + importmap = "github.com/amaizfinance/redis-operator/vendor/golang.org/x/time/rate", + importpath = "golang.org/x/time/rate", + visibility = ["//visibility:public"], +) diff --git a/vendor/golang.org/x/tools/go/ast/astutil/BUILD.bazel b/vendor/golang.org/x/tools/go/ast/astutil/BUILD.bazel new file mode 100644 index 00000000..f998a377 --- /dev/null +++ b/vendor/golang.org/x/tools/go/ast/astutil/BUILD.bazel @@ -0,0 +1,14 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = [ + "enclosing.go", + "imports.go", + "rewrite.go", + "util.go", + ], + importmap = "github.com/amaizfinance/redis-operator/vendor/golang.org/x/tools/go/ast/astutil", + importpath = "golang.org/x/tools/go/ast/astutil", + visibility = ["//visibility:public"], +) diff --git a/vendor/golang.org/x/tools/go/gcexportdata/BUILD.bazel b/vendor/golang.org/x/tools/go/gcexportdata/BUILD.bazel new file mode 100644 index 00000000..33c6075a --- /dev/null +++ b/vendor/golang.org/x/tools/go/gcexportdata/BUILD.bazel @@ -0,0 +1,13 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = [ + "gcexportdata.go", + "importer.go", + ], + importmap = "github.com/amaizfinance/redis-operator/vendor/golang.org/x/tools/go/gcexportdata", + importpath = "golang.org/x/tools/go/gcexportdata", + visibility = ["//visibility:public"], + deps = ["//vendor/golang.org/x/tools/go/internal/gcimporter:go_default_library"], +) diff --git a/vendor/golang.org/x/tools/go/internal/gcimporter/BUILD.bazel b/vendor/golang.org/x/tools/go/internal/gcimporter/BUILD.bazel new file mode 100644 index 00000000..60a359f1 --- /dev/null +++ b/vendor/golang.org/x/tools/go/internal/gcimporter/BUILD.bazel @@ -0,0 +1,18 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = [ + "bexport.go", + "bimport.go", + "exportdata.go", + "gcimporter.go", + "iexport.go", + "iimport.go", + "newInterface10.go", + "newInterface11.go", + ], + importmap = "github.com/amaizfinance/redis-operator/vendor/golang.org/x/tools/go/internal/gcimporter", + importpath = "golang.org/x/tools/go/internal/gcimporter", + visibility = ["//vendor/golang.org/x/tools/go:__subpackages__"], +) diff --git a/vendor/golang.org/x/tools/go/internal/packagesdriver/BUILD.bazel b/vendor/golang.org/x/tools/go/internal/packagesdriver/BUILD.bazel new file mode 100644 index 00000000..7d497793 --- /dev/null +++ b/vendor/golang.org/x/tools/go/internal/packagesdriver/BUILD.bazel @@ -0,0 +1,9 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = ["sizes.go"], + importmap = "github.com/amaizfinance/redis-operator/vendor/golang.org/x/tools/go/internal/packagesdriver", + importpath = "golang.org/x/tools/go/internal/packagesdriver", + visibility = ["//vendor/golang.org/x/tools/go:__subpackages__"], +) diff --git a/vendor/golang.org/x/tools/go/packages/BUILD.bazel b/vendor/golang.org/x/tools/go/packages/BUILD.bazel new file mode 100644 index 00000000..c13ff5d8 --- /dev/null +++ b/vendor/golang.org/x/tools/go/packages/BUILD.bazel @@ -0,0 +1,22 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = [ + "doc.go", + "external.go", + "golist.go", + "golist_overlay.go", + "packages.go", + "visit.go", + ], + importmap = "github.com/amaizfinance/redis-operator/vendor/golang.org/x/tools/go/packages", + importpath = "golang.org/x/tools/go/packages", + visibility = ["//visibility:public"], + deps = [ + "//vendor/golang.org/x/tools/go/gcexportdata:go_default_library", + "//vendor/golang.org/x/tools/go/internal/packagesdriver:go_default_library", + "//vendor/golang.org/x/tools/internal/gopathwalk:go_default_library", + "//vendor/golang.org/x/tools/internal/semver:go_default_library", + ], +) diff --git a/vendor/golang.org/x/tools/imports/BUILD.bazel b/vendor/golang.org/x/tools/imports/BUILD.bazel new file mode 100644 index 00000000..36545d20 --- /dev/null +++ b/vendor/golang.org/x/tools/imports/BUILD.bazel @@ -0,0 +1,21 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = [ + "fix.go", + "imports.go", + "mod.go", + "sortimports.go", + "zstdlib.go", + ], + importmap = "github.com/amaizfinance/redis-operator/vendor/golang.org/x/tools/imports", + importpath = "golang.org/x/tools/imports", + visibility = ["//visibility:public"], + deps = [ + "//vendor/golang.org/x/tools/go/ast/astutil:go_default_library", + "//vendor/golang.org/x/tools/go/packages:go_default_library", + "//vendor/golang.org/x/tools/internal/gopathwalk:go_default_library", + "//vendor/golang.org/x/tools/internal/module:go_default_library", + ], +) diff --git a/vendor/golang.org/x/tools/internal/fastwalk/BUILD.bazel b/vendor/golang.org/x/tools/internal/fastwalk/BUILD.bazel new file mode 100644 index 00000000..a505e7ac --- /dev/null +++ b/vendor/golang.org/x/tools/internal/fastwalk/BUILD.bazel @@ -0,0 +1,17 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = [ + "fastwalk.go", + "fastwalk_dirent_fileno.go", + "fastwalk_dirent_ino.go", + "fastwalk_dirent_namlen_bsd.go", + "fastwalk_dirent_namlen_linux.go", + "fastwalk_portable.go", + "fastwalk_unix.go", + ], + importmap = "github.com/amaizfinance/redis-operator/vendor/golang.org/x/tools/internal/fastwalk", + importpath = "golang.org/x/tools/internal/fastwalk", + visibility = ["//vendor/golang.org/x/tools:__subpackages__"], +) diff --git a/vendor/golang.org/x/tools/internal/gopathwalk/BUILD.bazel b/vendor/golang.org/x/tools/internal/gopathwalk/BUILD.bazel new file mode 100644 index 00000000..1dd9bdd9 --- /dev/null +++ b/vendor/golang.org/x/tools/internal/gopathwalk/BUILD.bazel @@ -0,0 +1,10 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = ["walk.go"], + importmap = "github.com/amaizfinance/redis-operator/vendor/golang.org/x/tools/internal/gopathwalk", + importpath = "golang.org/x/tools/internal/gopathwalk", + visibility = ["//vendor/golang.org/x/tools:__subpackages__"], + deps = ["//vendor/golang.org/x/tools/internal/fastwalk:go_default_library"], +) diff --git a/vendor/golang.org/x/tools/internal/module/BUILD.bazel b/vendor/golang.org/x/tools/internal/module/BUILD.bazel new file mode 100644 index 00000000..52168447 --- /dev/null +++ b/vendor/golang.org/x/tools/internal/module/BUILD.bazel @@ -0,0 +1,10 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = ["module.go"], + importmap = "github.com/amaizfinance/redis-operator/vendor/golang.org/x/tools/internal/module", + importpath = "golang.org/x/tools/internal/module", + visibility = ["//vendor/golang.org/x/tools:__subpackages__"], + deps = ["//vendor/golang.org/x/tools/internal/semver:go_default_library"], +) diff --git a/vendor/golang.org/x/tools/internal/semver/BUILD.bazel b/vendor/golang.org/x/tools/internal/semver/BUILD.bazel new file mode 100644 index 00000000..7f78c5e4 --- /dev/null +++ b/vendor/golang.org/x/tools/internal/semver/BUILD.bazel @@ -0,0 +1,9 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = ["semver.go"], + importmap = "github.com/amaizfinance/redis-operator/vendor/golang.org/x/tools/internal/semver", + importpath = "golang.org/x/tools/internal/semver", + visibility = ["//vendor/golang.org/x/tools:__subpackages__"], +) diff --git a/vendor/google.golang.org/api/support/bundler/BUILD.bazel b/vendor/google.golang.org/api/support/bundler/BUILD.bazel new file mode 100644 index 00000000..b1b7ec86 --- /dev/null +++ b/vendor/google.golang.org/api/support/bundler/BUILD.bazel @@ -0,0 +1,10 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = ["bundler.go"], + importmap = "github.com/amaizfinance/redis-operator/vendor/google.golang.org/api/support/bundler", + importpath = "google.golang.org/api/support/bundler", + visibility = ["//visibility:public"], + deps = ["//vendor/golang.org/x/sync/semaphore:go_default_library"], +) diff --git a/vendor/google.golang.org/appengine/BUILD.bazel b/vendor/google.golang.org/appengine/BUILD.bazel new file mode 100644 index 00000000..625df9b2 --- /dev/null +++ b/vendor/google.golang.org/appengine/BUILD.bazel @@ -0,0 +1,23 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = [ + "appengine.go", + "appengine_vm.go", + "errors.go", + "identity.go", + "namespace.go", + "timeout.go", + ], + importmap = "github.com/amaizfinance/redis-operator/vendor/google.golang.org/appengine", + importpath = "google.golang.org/appengine", + visibility = ["//visibility:public"], + deps = [ + "//vendor/github.com/golang/protobuf/proto:go_default_library", + "//vendor/golang.org/x/net/context:go_default_library", + "//vendor/google.golang.org/appengine/internal:go_default_library", + "//vendor/google.golang.org/appengine/internal/app_identity:go_default_library", + "//vendor/google.golang.org/appengine/internal/modules:go_default_library", + ], +) diff --git a/vendor/google.golang.org/appengine/internal/BUILD.bazel b/vendor/google.golang.org/appengine/internal/BUILD.bazel new file mode 100644 index 00000000..bdf4306c --- /dev/null +++ b/vendor/google.golang.org/appengine/internal/BUILD.bazel @@ -0,0 +1,29 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = [ + "api.go", + "api_common.go", + "app_id.go", + "identity.go", + "identity_vm.go", + "internal.go", + "main_common.go", + "main_vm.go", + "metadata.go", + "net.go", + "transaction.go", + ], + importmap = "github.com/amaizfinance/redis-operator/vendor/google.golang.org/appengine/internal", + importpath = "google.golang.org/appengine/internal", + visibility = ["//visibility:public"], + deps = [ + "//vendor/github.com/golang/protobuf/proto:go_default_library", + "//vendor/golang.org/x/net/context:go_default_library", + "//vendor/google.golang.org/appengine/internal/base:go_default_library", + "//vendor/google.golang.org/appengine/internal/datastore:go_default_library", + "//vendor/google.golang.org/appengine/internal/log:go_default_library", + "//vendor/google.golang.org/appengine/internal/remote_api:go_default_library", + ], +) diff --git a/vendor/google.golang.org/appengine/internal/app_identity/BUILD.bazel b/vendor/google.golang.org/appengine/internal/app_identity/BUILD.bazel new file mode 100644 index 00000000..f2589388 --- /dev/null +++ b/vendor/google.golang.org/appengine/internal/app_identity/BUILD.bazel @@ -0,0 +1,10 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = ["app_identity_service.pb.go"], + importmap = "github.com/amaizfinance/redis-operator/vendor/google.golang.org/appengine/internal/app_identity", + importpath = "google.golang.org/appengine/internal/app_identity", + visibility = ["//vendor/google.golang.org/appengine:__subpackages__"], + deps = ["//vendor/github.com/golang/protobuf/proto:go_default_library"], +) diff --git a/vendor/google.golang.org/appengine/internal/base/BUILD.bazel b/vendor/google.golang.org/appengine/internal/base/BUILD.bazel new file mode 100644 index 00000000..e6f04afc --- /dev/null +++ b/vendor/google.golang.org/appengine/internal/base/BUILD.bazel @@ -0,0 +1,10 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = ["api_base.pb.go"], + importmap = "github.com/amaizfinance/redis-operator/vendor/google.golang.org/appengine/internal/base", + importpath = "google.golang.org/appengine/internal/base", + visibility = ["//vendor/google.golang.org/appengine:__subpackages__"], + deps = ["//vendor/github.com/golang/protobuf/proto:go_default_library"], +) diff --git a/vendor/google.golang.org/appengine/internal/datastore/BUILD.bazel b/vendor/google.golang.org/appengine/internal/datastore/BUILD.bazel new file mode 100644 index 00000000..54a7b6bf --- /dev/null +++ b/vendor/google.golang.org/appengine/internal/datastore/BUILD.bazel @@ -0,0 +1,10 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = ["datastore_v3.pb.go"], + importmap = "github.com/amaizfinance/redis-operator/vendor/google.golang.org/appengine/internal/datastore", + importpath = "google.golang.org/appengine/internal/datastore", + visibility = ["//vendor/google.golang.org/appengine:__subpackages__"], + deps = ["//vendor/github.com/golang/protobuf/proto:go_default_library"], +) diff --git a/vendor/google.golang.org/appengine/internal/log/BUILD.bazel b/vendor/google.golang.org/appengine/internal/log/BUILD.bazel new file mode 100644 index 00000000..58fd420e --- /dev/null +++ b/vendor/google.golang.org/appengine/internal/log/BUILD.bazel @@ -0,0 +1,10 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = ["log_service.pb.go"], + importmap = "github.com/amaizfinance/redis-operator/vendor/google.golang.org/appengine/internal/log", + importpath = "google.golang.org/appengine/internal/log", + visibility = ["//vendor/google.golang.org/appengine:__subpackages__"], + deps = ["//vendor/github.com/golang/protobuf/proto:go_default_library"], +) diff --git a/vendor/google.golang.org/appengine/internal/modules/BUILD.bazel b/vendor/google.golang.org/appengine/internal/modules/BUILD.bazel new file mode 100644 index 00000000..7521e13d --- /dev/null +++ b/vendor/google.golang.org/appengine/internal/modules/BUILD.bazel @@ -0,0 +1,10 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = ["modules_service.pb.go"], + importmap = "github.com/amaizfinance/redis-operator/vendor/google.golang.org/appengine/internal/modules", + importpath = "google.golang.org/appengine/internal/modules", + visibility = ["//vendor/google.golang.org/appengine:__subpackages__"], + deps = ["//vendor/github.com/golang/protobuf/proto:go_default_library"], +) diff --git a/vendor/google.golang.org/appengine/internal/remote_api/BUILD.bazel b/vendor/google.golang.org/appengine/internal/remote_api/BUILD.bazel new file mode 100644 index 00000000..a47cf6b4 --- /dev/null +++ b/vendor/google.golang.org/appengine/internal/remote_api/BUILD.bazel @@ -0,0 +1,10 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = ["remote_api.pb.go"], + importmap = "github.com/amaizfinance/redis-operator/vendor/google.golang.org/appengine/internal/remote_api", + importpath = "google.golang.org/appengine/internal/remote_api", + visibility = ["//vendor/google.golang.org/appengine:__subpackages__"], + deps = ["//vendor/github.com/golang/protobuf/proto:go_default_library"], +) diff --git a/vendor/google.golang.org/appengine/internal/urlfetch/BUILD.bazel b/vendor/google.golang.org/appengine/internal/urlfetch/BUILD.bazel new file mode 100644 index 00000000..b26ac3c3 --- /dev/null +++ b/vendor/google.golang.org/appengine/internal/urlfetch/BUILD.bazel @@ -0,0 +1,10 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = ["urlfetch_service.pb.go"], + importmap = "github.com/amaizfinance/redis-operator/vendor/google.golang.org/appengine/internal/urlfetch", + importpath = "google.golang.org/appengine/internal/urlfetch", + visibility = ["//vendor/google.golang.org/appengine:__subpackages__"], + deps = ["//vendor/github.com/golang/protobuf/proto:go_default_library"], +) diff --git a/vendor/google.golang.org/appengine/urlfetch/BUILD.bazel b/vendor/google.golang.org/appengine/urlfetch/BUILD.bazel new file mode 100644 index 00000000..9de716fc --- /dev/null +++ b/vendor/google.golang.org/appengine/urlfetch/BUILD.bazel @@ -0,0 +1,15 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = ["urlfetch.go"], + importmap = "github.com/amaizfinance/redis-operator/vendor/google.golang.org/appengine/urlfetch", + importpath = "google.golang.org/appengine/urlfetch", + visibility = ["//visibility:public"], + deps = [ + "//vendor/github.com/golang/protobuf/proto:go_default_library", + "//vendor/golang.org/x/net/context:go_default_library", + "//vendor/google.golang.org/appengine/internal:go_default_library", + "//vendor/google.golang.org/appengine/internal/urlfetch:go_default_library", + ], +) diff --git a/vendor/google.golang.org/genproto/googleapis/api/httpbody/BUILD.bazel b/vendor/google.golang.org/genproto/googleapis/api/httpbody/BUILD.bazel new file mode 100644 index 00000000..983aaa3e --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/api/httpbody/BUILD.bazel @@ -0,0 +1,13 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = ["httpbody.pb.go"], + importmap = "github.com/amaizfinance/redis-operator/vendor/google.golang.org/genproto/googleapis/api/httpbody", + importpath = "google.golang.org/genproto/googleapis/api/httpbody", + visibility = ["//visibility:public"], + deps = [ + "//vendor/github.com/golang/protobuf/proto:go_default_library", + "//vendor/github.com/golang/protobuf/ptypes/any:go_default_library", + ], +) diff --git a/vendor/google.golang.org/genproto/googleapis/rpc/status/BUILD.bazel b/vendor/google.golang.org/genproto/googleapis/rpc/status/BUILD.bazel new file mode 100644 index 00000000..499180a7 --- /dev/null +++ b/vendor/google.golang.org/genproto/googleapis/rpc/status/BUILD.bazel @@ -0,0 +1,13 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = ["status.pb.go"], + importmap = "github.com/amaizfinance/redis-operator/vendor/google.golang.org/genproto/googleapis/rpc/status", + importpath = "google.golang.org/genproto/googleapis/rpc/status", + visibility = ["//visibility:public"], + deps = [ + "//vendor/github.com/golang/protobuf/proto:go_default_library", + "//vendor/github.com/golang/protobuf/ptypes/any:go_default_library", + ], +) diff --git a/vendor/google.golang.org/genproto/protobuf/field_mask/BUILD.bazel b/vendor/google.golang.org/genproto/protobuf/field_mask/BUILD.bazel new file mode 100644 index 00000000..3ad19b28 --- /dev/null +++ b/vendor/google.golang.org/genproto/protobuf/field_mask/BUILD.bazel @@ -0,0 +1,10 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = ["field_mask.pb.go"], + importmap = "github.com/amaizfinance/redis-operator/vendor/google.golang.org/genproto/protobuf/field_mask", + importpath = "google.golang.org/genproto/protobuf/field_mask", + visibility = ["//visibility:public"], + deps = ["//vendor/github.com/golang/protobuf/proto:go_default_library"], +) diff --git a/vendor/google.golang.org/grpc/BUILD.bazel b/vendor/google.golang.org/grpc/BUILD.bazel new file mode 100644 index 00000000..bb288907 --- /dev/null +++ b/vendor/google.golang.org/grpc/BUILD.bazel @@ -0,0 +1,59 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = [ + "backoff.go", + "balancer.go", + "balancer_conn_wrappers.go", + "balancer_v1_wrapper.go", + "call.go", + "clientconn.go", + "codec.go", + "dialoptions.go", + "doc.go", + "interceptor.go", + "picker_wrapper.go", + "pickfirst.go", + "proxy.go", + "resolver_conn_wrapper.go", + "rpc_util.go", + "server.go", + "service_config.go", + "stream.go", + "trace.go", + "version.go", + ], + importmap = "github.com/amaizfinance/redis-operator/vendor/google.golang.org/grpc", + importpath = "google.golang.org/grpc", + visibility = ["//visibility:public"], + deps = [ + "//vendor/golang.org/x/net/trace:go_default_library", + "//vendor/google.golang.org/grpc/balancer:go_default_library", + "//vendor/google.golang.org/grpc/balancer/roundrobin:go_default_library", + "//vendor/google.golang.org/grpc/codes:go_default_library", + "//vendor/google.golang.org/grpc/connectivity:go_default_library", + "//vendor/google.golang.org/grpc/credentials:go_default_library", + "//vendor/google.golang.org/grpc/encoding:go_default_library", + "//vendor/google.golang.org/grpc/encoding/proto:go_default_library", + "//vendor/google.golang.org/grpc/grpclog:go_default_library", + "//vendor/google.golang.org/grpc/internal:go_default_library", + "//vendor/google.golang.org/grpc/internal/backoff:go_default_library", + "//vendor/google.golang.org/grpc/internal/binarylog:go_default_library", + "//vendor/google.golang.org/grpc/internal/channelz:go_default_library", + "//vendor/google.golang.org/grpc/internal/envconfig:go_default_library", + "//vendor/google.golang.org/grpc/internal/grpcrand:go_default_library", + "//vendor/google.golang.org/grpc/internal/grpcsync:go_default_library", + "//vendor/google.golang.org/grpc/internal/transport:go_default_library", + "//vendor/google.golang.org/grpc/keepalive:go_default_library", + "//vendor/google.golang.org/grpc/metadata:go_default_library", + "//vendor/google.golang.org/grpc/naming:go_default_library", + "//vendor/google.golang.org/grpc/peer:go_default_library", + "//vendor/google.golang.org/grpc/resolver:go_default_library", + "//vendor/google.golang.org/grpc/resolver/dns:go_default_library", + "//vendor/google.golang.org/grpc/resolver/passthrough:go_default_library", + "//vendor/google.golang.org/grpc/stats:go_default_library", + "//vendor/google.golang.org/grpc/status:go_default_library", + "//vendor/google.golang.org/grpc/tap:go_default_library", + ], +) diff --git a/vendor/google.golang.org/grpc/balancer/BUILD.bazel b/vendor/google.golang.org/grpc/balancer/BUILD.bazel new file mode 100644 index 00000000..2bf1ef0f --- /dev/null +++ b/vendor/google.golang.org/grpc/balancer/BUILD.bazel @@ -0,0 +1,16 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = ["balancer.go"], + importmap = "github.com/amaizfinance/redis-operator/vendor/google.golang.org/grpc/balancer", + importpath = "google.golang.org/grpc/balancer", + visibility = ["//visibility:public"], + deps = [ + "//vendor/google.golang.org/grpc/connectivity:go_default_library", + "//vendor/google.golang.org/grpc/credentials:go_default_library", + "//vendor/google.golang.org/grpc/internal:go_default_library", + "//vendor/google.golang.org/grpc/metadata:go_default_library", + "//vendor/google.golang.org/grpc/resolver:go_default_library", + ], +) diff --git a/vendor/google.golang.org/grpc/balancer/base/BUILD.bazel b/vendor/google.golang.org/grpc/balancer/base/BUILD.bazel new file mode 100644 index 00000000..c49ba8b8 --- /dev/null +++ b/vendor/google.golang.org/grpc/balancer/base/BUILD.bazel @@ -0,0 +1,18 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = [ + "balancer.go", + "base.go", + ], + importmap = "github.com/amaizfinance/redis-operator/vendor/google.golang.org/grpc/balancer/base", + importpath = "google.golang.org/grpc/balancer/base", + visibility = ["//visibility:public"], + deps = [ + "//vendor/google.golang.org/grpc/balancer:go_default_library", + "//vendor/google.golang.org/grpc/connectivity:go_default_library", + "//vendor/google.golang.org/grpc/grpclog:go_default_library", + "//vendor/google.golang.org/grpc/resolver:go_default_library", + ], +) diff --git a/vendor/google.golang.org/grpc/balancer/roundrobin/BUILD.bazel b/vendor/google.golang.org/grpc/balancer/roundrobin/BUILD.bazel new file mode 100644 index 00000000..fd3d5e94 --- /dev/null +++ b/vendor/google.golang.org/grpc/balancer/roundrobin/BUILD.bazel @@ -0,0 +1,16 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = ["roundrobin.go"], + importmap = "github.com/amaizfinance/redis-operator/vendor/google.golang.org/grpc/balancer/roundrobin", + importpath = "google.golang.org/grpc/balancer/roundrobin", + visibility = ["//visibility:public"], + deps = [ + "//vendor/google.golang.org/grpc/balancer:go_default_library", + "//vendor/google.golang.org/grpc/balancer/base:go_default_library", + "//vendor/google.golang.org/grpc/grpclog:go_default_library", + "//vendor/google.golang.org/grpc/internal/grpcrand:go_default_library", + "//vendor/google.golang.org/grpc/resolver:go_default_library", + ], +) diff --git a/vendor/google.golang.org/grpc/binarylog/grpc_binarylog_v1/BUILD.bazel b/vendor/google.golang.org/grpc/binarylog/grpc_binarylog_v1/BUILD.bazel new file mode 100644 index 00000000..5d90ac7a --- /dev/null +++ b/vendor/google.golang.org/grpc/binarylog/grpc_binarylog_v1/BUILD.bazel @@ -0,0 +1,14 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = ["binarylog.pb.go"], + importmap = "github.com/amaizfinance/redis-operator/vendor/google.golang.org/grpc/binarylog/grpc_binarylog_v1", + importpath = "google.golang.org/grpc/binarylog/grpc_binarylog_v1", + visibility = ["//visibility:public"], + deps = [ + "//vendor/github.com/golang/protobuf/proto:go_default_library", + "//vendor/github.com/golang/protobuf/ptypes/duration:go_default_library", + "//vendor/github.com/golang/protobuf/ptypes/timestamp:go_default_library", + ], +) diff --git a/vendor/google.golang.org/grpc/codes/BUILD.bazel b/vendor/google.golang.org/grpc/codes/BUILD.bazel new file mode 100644 index 00000000..95fbb44b --- /dev/null +++ b/vendor/google.golang.org/grpc/codes/BUILD.bazel @@ -0,0 +1,12 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = [ + "code_string.go", + "codes.go", + ], + importmap = "github.com/amaizfinance/redis-operator/vendor/google.golang.org/grpc/codes", + importpath = "google.golang.org/grpc/codes", + visibility = ["//visibility:public"], +) diff --git a/vendor/google.golang.org/grpc/connectivity/BUILD.bazel b/vendor/google.golang.org/grpc/connectivity/BUILD.bazel new file mode 100644 index 00000000..c6516b77 --- /dev/null +++ b/vendor/google.golang.org/grpc/connectivity/BUILD.bazel @@ -0,0 +1,10 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = ["connectivity.go"], + importmap = "github.com/amaizfinance/redis-operator/vendor/google.golang.org/grpc/connectivity", + importpath = "google.golang.org/grpc/connectivity", + visibility = ["//visibility:public"], + deps = ["//vendor/google.golang.org/grpc/grpclog:go_default_library"], +) diff --git a/vendor/google.golang.org/grpc/credentials/BUILD.bazel b/vendor/google.golang.org/grpc/credentials/BUILD.bazel new file mode 100644 index 00000000..7bb8a0bf --- /dev/null +++ b/vendor/google.golang.org/grpc/credentials/BUILD.bazel @@ -0,0 +1,16 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = [ + "credentials.go", + "tls13.go", + ], + importmap = "github.com/amaizfinance/redis-operator/vendor/google.golang.org/grpc/credentials", + importpath = "google.golang.org/grpc/credentials", + visibility = ["//visibility:public"], + deps = [ + "//vendor/github.com/golang/protobuf/proto:go_default_library", + "//vendor/google.golang.org/grpc/credentials/internal:go_default_library", + ], +) diff --git a/vendor/google.golang.org/grpc/credentials/internal/BUILD.bazel b/vendor/google.golang.org/grpc/credentials/internal/BUILD.bazel new file mode 100644 index 00000000..5b8e3fed --- /dev/null +++ b/vendor/google.golang.org/grpc/credentials/internal/BUILD.bazel @@ -0,0 +1,9 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = ["syscallconn.go"], + importmap = "github.com/amaizfinance/redis-operator/vendor/google.golang.org/grpc/credentials/internal", + importpath = "google.golang.org/grpc/credentials/internal", + visibility = ["//visibility:public"], +) diff --git a/vendor/google.golang.org/grpc/encoding/BUILD.bazel b/vendor/google.golang.org/grpc/encoding/BUILD.bazel new file mode 100644 index 00000000..c5c24f5c --- /dev/null +++ b/vendor/google.golang.org/grpc/encoding/BUILD.bazel @@ -0,0 +1,9 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = ["encoding.go"], + importmap = "github.com/amaizfinance/redis-operator/vendor/google.golang.org/grpc/encoding", + importpath = "google.golang.org/grpc/encoding", + visibility = ["//visibility:public"], +) diff --git a/vendor/google.golang.org/grpc/encoding/proto/BUILD.bazel b/vendor/google.golang.org/grpc/encoding/proto/BUILD.bazel new file mode 100644 index 00000000..2b107648 --- /dev/null +++ b/vendor/google.golang.org/grpc/encoding/proto/BUILD.bazel @@ -0,0 +1,13 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = ["proto.go"], + importmap = "github.com/amaizfinance/redis-operator/vendor/google.golang.org/grpc/encoding/proto", + importpath = "google.golang.org/grpc/encoding/proto", + visibility = ["//visibility:public"], + deps = [ + "//vendor/github.com/golang/protobuf/proto:go_default_library", + "//vendor/google.golang.org/grpc/encoding:go_default_library", + ], +) diff --git a/vendor/google.golang.org/grpc/grpclog/BUILD.bazel b/vendor/google.golang.org/grpc/grpclog/BUILD.bazel new file mode 100644 index 00000000..709fd054 --- /dev/null +++ b/vendor/google.golang.org/grpc/grpclog/BUILD.bazel @@ -0,0 +1,13 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = [ + "grpclog.go", + "logger.go", + "loggerv2.go", + ], + importmap = "github.com/amaizfinance/redis-operator/vendor/google.golang.org/grpc/grpclog", + importpath = "google.golang.org/grpc/grpclog", + visibility = ["//visibility:public"], +) diff --git a/vendor/google.golang.org/grpc/internal/BUILD.bazel b/vendor/google.golang.org/grpc/internal/BUILD.bazel new file mode 100644 index 00000000..ed3cbef1 --- /dev/null +++ b/vendor/google.golang.org/grpc/internal/BUILD.bazel @@ -0,0 +1,9 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = ["internal.go"], + importmap = "github.com/amaizfinance/redis-operator/vendor/google.golang.org/grpc/internal", + importpath = "google.golang.org/grpc/internal", + visibility = ["//visibility:public"], +) diff --git a/vendor/google.golang.org/grpc/internal/backoff/BUILD.bazel b/vendor/google.golang.org/grpc/internal/backoff/BUILD.bazel new file mode 100644 index 00000000..d4db8318 --- /dev/null +++ b/vendor/google.golang.org/grpc/internal/backoff/BUILD.bazel @@ -0,0 +1,10 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = ["backoff.go"], + importmap = "github.com/amaizfinance/redis-operator/vendor/google.golang.org/grpc/internal/backoff", + importpath = "google.golang.org/grpc/internal/backoff", + visibility = ["//vendor/google.golang.org/grpc:__subpackages__"], + deps = ["//vendor/google.golang.org/grpc/internal/grpcrand:go_default_library"], +) diff --git a/vendor/google.golang.org/grpc/internal/binarylog/BUILD.bazel b/vendor/google.golang.org/grpc/internal/binarylog/BUILD.bazel new file mode 100644 index 00000000..20678612 --- /dev/null +++ b/vendor/google.golang.org/grpc/internal/binarylog/BUILD.bazel @@ -0,0 +1,24 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = [ + "binarylog.go", + "binarylog_testutil.go", + "env_config.go", + "method_logger.go", + "sink.go", + "util.go", + ], + importmap = "github.com/amaizfinance/redis-operator/vendor/google.golang.org/grpc/internal/binarylog", + importpath = "google.golang.org/grpc/internal/binarylog", + visibility = ["//vendor/google.golang.org/grpc:__subpackages__"], + deps = [ + "//vendor/github.com/golang/protobuf/proto:go_default_library", + "//vendor/github.com/golang/protobuf/ptypes:go_default_library", + "//vendor/google.golang.org/grpc/binarylog/grpc_binarylog_v1:go_default_library", + "//vendor/google.golang.org/grpc/grpclog:go_default_library", + "//vendor/google.golang.org/grpc/metadata:go_default_library", + "//vendor/google.golang.org/grpc/status:go_default_library", + ], +) diff --git a/vendor/google.golang.org/grpc/internal/channelz/BUILD.bazel b/vendor/google.golang.org/grpc/internal/channelz/BUILD.bazel new file mode 100644 index 00000000..971abad0 --- /dev/null +++ b/vendor/google.golang.org/grpc/internal/channelz/BUILD.bazel @@ -0,0 +1,26 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = [ + "funcs.go", + "types.go", + "types_linux.go", + "types_nonlinux.go", + "util_linux.go", + "util_nonlinux.go", + ], + importmap = "github.com/amaizfinance/redis-operator/vendor/google.golang.org/grpc/internal/channelz", + importpath = "google.golang.org/grpc/internal/channelz", + visibility = ["//vendor/google.golang.org/grpc:__subpackages__"], + deps = [ + "//vendor/google.golang.org/grpc/connectivity:go_default_library", + "//vendor/google.golang.org/grpc/credentials:go_default_library", + "//vendor/google.golang.org/grpc/grpclog:go_default_library", + ] + select({ + "@io_bazel_rules_go//go/platform:linux": [ + "//vendor/golang.org/x/sys/unix:go_default_library", + ], + "//conditions:default": [], + }), +) diff --git a/vendor/google.golang.org/grpc/internal/envconfig/BUILD.bazel b/vendor/google.golang.org/grpc/internal/envconfig/BUILD.bazel new file mode 100644 index 00000000..950355d1 --- /dev/null +++ b/vendor/google.golang.org/grpc/internal/envconfig/BUILD.bazel @@ -0,0 +1,9 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = ["envconfig.go"], + importmap = "github.com/amaizfinance/redis-operator/vendor/google.golang.org/grpc/internal/envconfig", + importpath = "google.golang.org/grpc/internal/envconfig", + visibility = ["//vendor/google.golang.org/grpc:__subpackages__"], +) diff --git a/vendor/google.golang.org/grpc/internal/grpcrand/BUILD.bazel b/vendor/google.golang.org/grpc/internal/grpcrand/BUILD.bazel new file mode 100644 index 00000000..5051a0c3 --- /dev/null +++ b/vendor/google.golang.org/grpc/internal/grpcrand/BUILD.bazel @@ -0,0 +1,9 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = ["grpcrand.go"], + importmap = "github.com/amaizfinance/redis-operator/vendor/google.golang.org/grpc/internal/grpcrand", + importpath = "google.golang.org/grpc/internal/grpcrand", + visibility = ["//vendor/google.golang.org/grpc:__subpackages__"], +) diff --git a/vendor/google.golang.org/grpc/internal/grpcsync/BUILD.bazel b/vendor/google.golang.org/grpc/internal/grpcsync/BUILD.bazel new file mode 100644 index 00000000..d6ef0028 --- /dev/null +++ b/vendor/google.golang.org/grpc/internal/grpcsync/BUILD.bazel @@ -0,0 +1,9 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = ["event.go"], + importmap = "github.com/amaizfinance/redis-operator/vendor/google.golang.org/grpc/internal/grpcsync", + importpath = "google.golang.org/grpc/internal/grpcsync", + visibility = ["//vendor/google.golang.org/grpc:__subpackages__"], +) diff --git a/vendor/google.golang.org/grpc/internal/syscall/BUILD.bazel b/vendor/google.golang.org/grpc/internal/syscall/BUILD.bazel new file mode 100644 index 00000000..8d761bfe --- /dev/null +++ b/vendor/google.golang.org/grpc/internal/syscall/BUILD.bazel @@ -0,0 +1,49 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = [ + "syscall_linux.go", + "syscall_nonlinux.go", + ], + importmap = "github.com/amaizfinance/redis-operator/vendor/google.golang.org/grpc/internal/syscall", + importpath = "google.golang.org/grpc/internal/syscall", + visibility = ["//vendor/google.golang.org/grpc:__subpackages__"], + deps = select({ + "@io_bazel_rules_go//go/platform:android": [ + "//vendor/google.golang.org/grpc/grpclog:go_default_library", + ], + "@io_bazel_rules_go//go/platform:darwin": [ + "//vendor/google.golang.org/grpc/grpclog:go_default_library", + ], + "@io_bazel_rules_go//go/platform:dragonfly": [ + "//vendor/google.golang.org/grpc/grpclog:go_default_library", + ], + "@io_bazel_rules_go//go/platform:freebsd": [ + "//vendor/google.golang.org/grpc/grpclog:go_default_library", + ], + "@io_bazel_rules_go//go/platform:linux": [ + "//vendor/golang.org/x/sys/unix:go_default_library", + "//vendor/google.golang.org/grpc/grpclog:go_default_library", + ], + "@io_bazel_rules_go//go/platform:nacl": [ + "//vendor/google.golang.org/grpc/grpclog:go_default_library", + ], + "@io_bazel_rules_go//go/platform:netbsd": [ + "//vendor/google.golang.org/grpc/grpclog:go_default_library", + ], + "@io_bazel_rules_go//go/platform:openbsd": [ + "//vendor/google.golang.org/grpc/grpclog:go_default_library", + ], + "@io_bazel_rules_go//go/platform:plan9": [ + "//vendor/google.golang.org/grpc/grpclog:go_default_library", + ], + "@io_bazel_rules_go//go/platform:solaris": [ + "//vendor/google.golang.org/grpc/grpclog:go_default_library", + ], + "@io_bazel_rules_go//go/platform:windows": [ + "//vendor/google.golang.org/grpc/grpclog:go_default_library", + ], + "//conditions:default": [], + }), +) diff --git a/vendor/google.golang.org/grpc/internal/transport/BUILD.bazel b/vendor/google.golang.org/grpc/internal/transport/BUILD.bazel new file mode 100644 index 00000000..d948acfc --- /dev/null +++ b/vendor/google.golang.org/grpc/internal/transport/BUILD.bazel @@ -0,0 +1,38 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = [ + "bdp_estimator.go", + "controlbuf.go", + "defaults.go", + "flowcontrol.go", + "handler_server.go", + "http2_client.go", + "http2_server.go", + "http_util.go", + "log.go", + "transport.go", + ], + importmap = "github.com/amaizfinance/redis-operator/vendor/google.golang.org/grpc/internal/transport", + importpath = "google.golang.org/grpc/internal/transport", + visibility = ["//vendor/google.golang.org/grpc:__subpackages__"], + deps = [ + "//vendor/github.com/golang/protobuf/proto:go_default_library", + "//vendor/golang.org/x/net/http2:go_default_library", + "//vendor/golang.org/x/net/http2/hpack:go_default_library", + "//vendor/google.golang.org/genproto/googleapis/rpc/status:go_default_library", + "//vendor/google.golang.org/grpc/codes:go_default_library", + "//vendor/google.golang.org/grpc/credentials:go_default_library", + "//vendor/google.golang.org/grpc/grpclog:go_default_library", + "//vendor/google.golang.org/grpc/internal/channelz:go_default_library", + "//vendor/google.golang.org/grpc/internal/grpcrand:go_default_library", + "//vendor/google.golang.org/grpc/internal/syscall:go_default_library", + "//vendor/google.golang.org/grpc/keepalive:go_default_library", + "//vendor/google.golang.org/grpc/metadata:go_default_library", + "//vendor/google.golang.org/grpc/peer:go_default_library", + "//vendor/google.golang.org/grpc/stats:go_default_library", + "//vendor/google.golang.org/grpc/status:go_default_library", + "//vendor/google.golang.org/grpc/tap:go_default_library", + ], +) diff --git a/vendor/google.golang.org/grpc/keepalive/BUILD.bazel b/vendor/google.golang.org/grpc/keepalive/BUILD.bazel new file mode 100644 index 00000000..e39ce899 --- /dev/null +++ b/vendor/google.golang.org/grpc/keepalive/BUILD.bazel @@ -0,0 +1,9 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = ["keepalive.go"], + importmap = "github.com/amaizfinance/redis-operator/vendor/google.golang.org/grpc/keepalive", + importpath = "google.golang.org/grpc/keepalive", + visibility = ["//visibility:public"], +) diff --git a/vendor/google.golang.org/grpc/metadata/BUILD.bazel b/vendor/google.golang.org/grpc/metadata/BUILD.bazel new file mode 100644 index 00000000..95b52d13 --- /dev/null +++ b/vendor/google.golang.org/grpc/metadata/BUILD.bazel @@ -0,0 +1,9 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = ["metadata.go"], + importmap = "github.com/amaizfinance/redis-operator/vendor/google.golang.org/grpc/metadata", + importpath = "google.golang.org/grpc/metadata", + visibility = ["//visibility:public"], +) diff --git a/vendor/google.golang.org/grpc/naming/BUILD.bazel b/vendor/google.golang.org/grpc/naming/BUILD.bazel new file mode 100644 index 00000000..8eb707a3 --- /dev/null +++ b/vendor/google.golang.org/grpc/naming/BUILD.bazel @@ -0,0 +1,13 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = [ + "dns_resolver.go", + "naming.go", + ], + importmap = "github.com/amaizfinance/redis-operator/vendor/google.golang.org/grpc/naming", + importpath = "google.golang.org/grpc/naming", + visibility = ["//visibility:public"], + deps = ["//vendor/google.golang.org/grpc/grpclog:go_default_library"], +) diff --git a/vendor/google.golang.org/grpc/peer/BUILD.bazel b/vendor/google.golang.org/grpc/peer/BUILD.bazel new file mode 100644 index 00000000..a80b8dfb --- /dev/null +++ b/vendor/google.golang.org/grpc/peer/BUILD.bazel @@ -0,0 +1,10 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = ["peer.go"], + importmap = "github.com/amaizfinance/redis-operator/vendor/google.golang.org/grpc/peer", + importpath = "google.golang.org/grpc/peer", + visibility = ["//visibility:public"], + deps = ["//vendor/google.golang.org/grpc/credentials:go_default_library"], +) diff --git a/vendor/google.golang.org/grpc/resolver/BUILD.bazel b/vendor/google.golang.org/grpc/resolver/BUILD.bazel new file mode 100644 index 00000000..68000b71 --- /dev/null +++ b/vendor/google.golang.org/grpc/resolver/BUILD.bazel @@ -0,0 +1,9 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = ["resolver.go"], + importmap = "github.com/amaizfinance/redis-operator/vendor/google.golang.org/grpc/resolver", + importpath = "google.golang.org/grpc/resolver", + visibility = ["//visibility:public"], +) diff --git a/vendor/google.golang.org/grpc/resolver/dns/BUILD.bazel b/vendor/google.golang.org/grpc/resolver/dns/BUILD.bazel new file mode 100644 index 00000000..d016a70a --- /dev/null +++ b/vendor/google.golang.org/grpc/resolver/dns/BUILD.bazel @@ -0,0 +1,15 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = ["dns_resolver.go"], + importmap = "github.com/amaizfinance/redis-operator/vendor/google.golang.org/grpc/resolver/dns", + importpath = "google.golang.org/grpc/resolver/dns", + visibility = ["//visibility:public"], + deps = [ + "//vendor/google.golang.org/grpc/grpclog:go_default_library", + "//vendor/google.golang.org/grpc/internal/backoff:go_default_library", + "//vendor/google.golang.org/grpc/internal/grpcrand:go_default_library", + "//vendor/google.golang.org/grpc/resolver:go_default_library", + ], +) diff --git a/vendor/google.golang.org/grpc/resolver/passthrough/BUILD.bazel b/vendor/google.golang.org/grpc/resolver/passthrough/BUILD.bazel new file mode 100644 index 00000000..3f2a2092 --- /dev/null +++ b/vendor/google.golang.org/grpc/resolver/passthrough/BUILD.bazel @@ -0,0 +1,10 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = ["passthrough.go"], + importmap = "github.com/amaizfinance/redis-operator/vendor/google.golang.org/grpc/resolver/passthrough", + importpath = "google.golang.org/grpc/resolver/passthrough", + visibility = ["//visibility:public"], + deps = ["//vendor/google.golang.org/grpc/resolver:go_default_library"], +) diff --git a/vendor/google.golang.org/grpc/stats/BUILD.bazel b/vendor/google.golang.org/grpc/stats/BUILD.bazel new file mode 100644 index 00000000..024858c9 --- /dev/null +++ b/vendor/google.golang.org/grpc/stats/BUILD.bazel @@ -0,0 +1,12 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = [ + "handlers.go", + "stats.go", + ], + importmap = "github.com/amaizfinance/redis-operator/vendor/google.golang.org/grpc/stats", + importpath = "google.golang.org/grpc/stats", + visibility = ["//visibility:public"], +) diff --git a/vendor/google.golang.org/grpc/status/BUILD.bazel b/vendor/google.golang.org/grpc/status/BUILD.bazel new file mode 100644 index 00000000..b057a486 --- /dev/null +++ b/vendor/google.golang.org/grpc/status/BUILD.bazel @@ -0,0 +1,15 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = ["status.go"], + importmap = "github.com/amaizfinance/redis-operator/vendor/google.golang.org/grpc/status", + importpath = "google.golang.org/grpc/status", + visibility = ["//visibility:public"], + deps = [ + "//vendor/github.com/golang/protobuf/proto:go_default_library", + "//vendor/github.com/golang/protobuf/ptypes:go_default_library", + "//vendor/google.golang.org/genproto/googleapis/rpc/status:go_default_library", + "//vendor/google.golang.org/grpc/codes:go_default_library", + ], +) diff --git a/vendor/google.golang.org/grpc/tap/BUILD.bazel b/vendor/google.golang.org/grpc/tap/BUILD.bazel new file mode 100644 index 00000000..67826941 --- /dev/null +++ b/vendor/google.golang.org/grpc/tap/BUILD.bazel @@ -0,0 +1,9 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = ["tap.go"], + importmap = "github.com/amaizfinance/redis-operator/vendor/google.golang.org/grpc/tap", + importpath = "google.golang.org/grpc/tap", + visibility = ["//visibility:public"], +) diff --git a/vendor/gopkg.in/inf.v0/BUILD.bazel b/vendor/gopkg.in/inf.v0/BUILD.bazel new file mode 100644 index 00000000..b18bb826 --- /dev/null +++ b/vendor/gopkg.in/inf.v0/BUILD.bazel @@ -0,0 +1,12 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = [ + "dec.go", + "rounder.go", + ], + importmap = "github.com/amaizfinance/redis-operator/vendor/gopkg.in/inf.v0", + importpath = "gopkg.in/inf.v0", + visibility = ["//visibility:public"], +) diff --git a/vendor/gopkg.in/yaml.v2/BUILD.bazel b/vendor/gopkg.in/yaml.v2/BUILD.bazel new file mode 100644 index 00000000..df96b2f6 --- /dev/null +++ b/vendor/gopkg.in/yaml.v2/BUILD.bazel @@ -0,0 +1,23 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = [ + "apic.go", + "decode.go", + "emitterc.go", + "encode.go", + "parserc.go", + "readerc.go", + "resolve.go", + "scannerc.go", + "sorter.go", + "writerc.go", + "yaml.go", + "yamlh.go", + "yamlprivateh.go", + ], + importmap = "github.com/amaizfinance/redis-operator/vendor/gopkg.in/yaml.v2", + importpath = "gopkg.in/yaml.v2", + visibility = ["//visibility:public"], +) diff --git a/vendor/k8s.io/api/admission/v1beta1/BUILD.bazel b/vendor/k8s.io/api/admission/v1beta1/BUILD.bazel new file mode 100644 index 00000000..2f34d746 --- /dev/null +++ b/vendor/k8s.io/api/admission/v1beta1/BUILD.bazel @@ -0,0 +1,25 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = [ + "doc.go", + "generated.pb.go", + "register.go", + "types.go", + "types_swagger_doc_generated.go", + "zz_generated.deepcopy.go", + ], + importmap = "github.com/amaizfinance/redis-operator/vendor/k8s.io/api/admission/v1beta1", + importpath = "k8s.io/api/admission/v1beta1", + visibility = ["//visibility:public"], + deps = [ + "//vendor/github.com/gogo/protobuf/proto:go_default_library", + "//vendor/github.com/gogo/protobuf/sortkeys:go_default_library", + "//vendor/k8s.io/api/authentication/v1:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/apis/meta/v1:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/runtime:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/runtime/schema:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/types:go_default_library", + ], +) diff --git a/vendor/k8s.io/api/admissionregistration/v1alpha1/BUILD.bazel b/vendor/k8s.io/api/admissionregistration/v1alpha1/BUILD.bazel new file mode 100644 index 00000000..4a4480f0 --- /dev/null +++ b/vendor/k8s.io/api/admissionregistration/v1alpha1/BUILD.bazel @@ -0,0 +1,22 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = [ + "doc.go", + "generated.pb.go", + "register.go", + "types.go", + "types_swagger_doc_generated.go", + "zz_generated.deepcopy.go", + ], + importmap = "github.com/amaizfinance/redis-operator/vendor/k8s.io/api/admissionregistration/v1alpha1", + importpath = "k8s.io/api/admissionregistration/v1alpha1", + visibility = ["//visibility:public"], + deps = [ + "//vendor/github.com/gogo/protobuf/proto:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/apis/meta/v1:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/runtime:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/runtime/schema:go_default_library", + ], +) diff --git a/vendor/k8s.io/api/admissionregistration/v1beta1/BUILD.bazel b/vendor/k8s.io/api/admissionregistration/v1beta1/BUILD.bazel new file mode 100644 index 00000000..824168f2 --- /dev/null +++ b/vendor/k8s.io/api/admissionregistration/v1beta1/BUILD.bazel @@ -0,0 +1,22 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = [ + "doc.go", + "generated.pb.go", + "register.go", + "types.go", + "types_swagger_doc_generated.go", + "zz_generated.deepcopy.go", + ], + importmap = "github.com/amaizfinance/redis-operator/vendor/k8s.io/api/admissionregistration/v1beta1", + importpath = "k8s.io/api/admissionregistration/v1beta1", + visibility = ["//visibility:public"], + deps = [ + "//vendor/github.com/gogo/protobuf/proto:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/apis/meta/v1:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/runtime:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/runtime/schema:go_default_library", + ], +) diff --git a/vendor/k8s.io/api/apps/v1/BUILD.bazel b/vendor/k8s.io/api/apps/v1/BUILD.bazel new file mode 100644 index 00000000..c598b163 --- /dev/null +++ b/vendor/k8s.io/api/apps/v1/BUILD.bazel @@ -0,0 +1,24 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = [ + "doc.go", + "generated.pb.go", + "register.go", + "types.go", + "types_swagger_doc_generated.go", + "zz_generated.deepcopy.go", + ], + importmap = "github.com/amaizfinance/redis-operator/vendor/k8s.io/api/apps/v1", + importpath = "k8s.io/api/apps/v1", + visibility = ["//visibility:public"], + deps = [ + "//vendor/github.com/gogo/protobuf/proto:go_default_library", + "//vendor/k8s.io/api/core/v1:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/apis/meta/v1:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/runtime:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/runtime/schema:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/util/intstr:go_default_library", + ], +) diff --git a/vendor/k8s.io/api/apps/v1beta1/BUILD.bazel b/vendor/k8s.io/api/apps/v1beta1/BUILD.bazel new file mode 100644 index 00000000..e4aa2356 --- /dev/null +++ b/vendor/k8s.io/api/apps/v1beta1/BUILD.bazel @@ -0,0 +1,25 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = [ + "doc.go", + "generated.pb.go", + "register.go", + "types.go", + "types_swagger_doc_generated.go", + "zz_generated.deepcopy.go", + ], + importmap = "github.com/amaizfinance/redis-operator/vendor/k8s.io/api/apps/v1beta1", + importpath = "k8s.io/api/apps/v1beta1", + visibility = ["//visibility:public"], + deps = [ + "//vendor/github.com/gogo/protobuf/proto:go_default_library", + "//vendor/github.com/gogo/protobuf/sortkeys:go_default_library", + "//vendor/k8s.io/api/core/v1:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/apis/meta/v1:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/runtime:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/runtime/schema:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/util/intstr:go_default_library", + ], +) diff --git a/vendor/k8s.io/api/apps/v1beta2/BUILD.bazel b/vendor/k8s.io/api/apps/v1beta2/BUILD.bazel new file mode 100644 index 00000000..6f0c4f3c --- /dev/null +++ b/vendor/k8s.io/api/apps/v1beta2/BUILD.bazel @@ -0,0 +1,25 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = [ + "doc.go", + "generated.pb.go", + "register.go", + "types.go", + "types_swagger_doc_generated.go", + "zz_generated.deepcopy.go", + ], + importmap = "github.com/amaizfinance/redis-operator/vendor/k8s.io/api/apps/v1beta2", + importpath = "k8s.io/api/apps/v1beta2", + visibility = ["//visibility:public"], + deps = [ + "//vendor/github.com/gogo/protobuf/proto:go_default_library", + "//vendor/github.com/gogo/protobuf/sortkeys:go_default_library", + "//vendor/k8s.io/api/core/v1:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/apis/meta/v1:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/runtime:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/runtime/schema:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/util/intstr:go_default_library", + ], +) diff --git a/vendor/k8s.io/api/auditregistration/v1alpha1/BUILD.bazel b/vendor/k8s.io/api/auditregistration/v1alpha1/BUILD.bazel new file mode 100644 index 00000000..b1c31840 --- /dev/null +++ b/vendor/k8s.io/api/auditregistration/v1alpha1/BUILD.bazel @@ -0,0 +1,22 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = [ + "doc.go", + "generated.pb.go", + "register.go", + "types.go", + "types_swagger_doc_generated.go", + "zz_generated.deepcopy.go", + ], + importmap = "github.com/amaizfinance/redis-operator/vendor/k8s.io/api/auditregistration/v1alpha1", + importpath = "k8s.io/api/auditregistration/v1alpha1", + visibility = ["//visibility:public"], + deps = [ + "//vendor/github.com/gogo/protobuf/proto:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/apis/meta/v1:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/runtime:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/runtime/schema:go_default_library", + ], +) diff --git a/vendor/k8s.io/api/authentication/v1/BUILD.bazel b/vendor/k8s.io/api/authentication/v1/BUILD.bazel new file mode 100644 index 00000000..2d4ec57f --- /dev/null +++ b/vendor/k8s.io/api/authentication/v1/BUILD.bazel @@ -0,0 +1,24 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = [ + "doc.go", + "generated.pb.go", + "register.go", + "types.go", + "types_swagger_doc_generated.go", + "zz_generated.deepcopy.go", + ], + importmap = "github.com/amaizfinance/redis-operator/vendor/k8s.io/api/authentication/v1", + importpath = "k8s.io/api/authentication/v1", + visibility = ["//visibility:public"], + deps = [ + "//vendor/github.com/gogo/protobuf/proto:go_default_library", + "//vendor/github.com/gogo/protobuf/sortkeys:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/apis/meta/v1:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/runtime:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/runtime/schema:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/types:go_default_library", + ], +) diff --git a/vendor/k8s.io/api/authentication/v1beta1/BUILD.bazel b/vendor/k8s.io/api/authentication/v1beta1/BUILD.bazel new file mode 100644 index 00000000..eb8b503a --- /dev/null +++ b/vendor/k8s.io/api/authentication/v1beta1/BUILD.bazel @@ -0,0 +1,23 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = [ + "doc.go", + "generated.pb.go", + "register.go", + "types.go", + "types_swagger_doc_generated.go", + "zz_generated.deepcopy.go", + ], + importmap = "github.com/amaizfinance/redis-operator/vendor/k8s.io/api/authentication/v1beta1", + importpath = "k8s.io/api/authentication/v1beta1", + visibility = ["//visibility:public"], + deps = [ + "//vendor/github.com/gogo/protobuf/proto:go_default_library", + "//vendor/github.com/gogo/protobuf/sortkeys:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/apis/meta/v1:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/runtime:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/runtime/schema:go_default_library", + ], +) diff --git a/vendor/k8s.io/api/authorization/v1/BUILD.bazel b/vendor/k8s.io/api/authorization/v1/BUILD.bazel new file mode 100644 index 00000000..335a79f4 --- /dev/null +++ b/vendor/k8s.io/api/authorization/v1/BUILD.bazel @@ -0,0 +1,23 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = [ + "doc.go", + "generated.pb.go", + "register.go", + "types.go", + "types_swagger_doc_generated.go", + "zz_generated.deepcopy.go", + ], + importmap = "github.com/amaizfinance/redis-operator/vendor/k8s.io/api/authorization/v1", + importpath = "k8s.io/api/authorization/v1", + visibility = ["//visibility:public"], + deps = [ + "//vendor/github.com/gogo/protobuf/proto:go_default_library", + "//vendor/github.com/gogo/protobuf/sortkeys:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/apis/meta/v1:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/runtime:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/runtime/schema:go_default_library", + ], +) diff --git a/vendor/k8s.io/api/authorization/v1beta1/BUILD.bazel b/vendor/k8s.io/api/authorization/v1beta1/BUILD.bazel new file mode 100644 index 00000000..72a9b11d --- /dev/null +++ b/vendor/k8s.io/api/authorization/v1beta1/BUILD.bazel @@ -0,0 +1,23 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = [ + "doc.go", + "generated.pb.go", + "register.go", + "types.go", + "types_swagger_doc_generated.go", + "zz_generated.deepcopy.go", + ], + importmap = "github.com/amaizfinance/redis-operator/vendor/k8s.io/api/authorization/v1beta1", + importpath = "k8s.io/api/authorization/v1beta1", + visibility = ["//visibility:public"], + deps = [ + "//vendor/github.com/gogo/protobuf/proto:go_default_library", + "//vendor/github.com/gogo/protobuf/sortkeys:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/apis/meta/v1:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/runtime:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/runtime/schema:go_default_library", + ], +) diff --git a/vendor/k8s.io/api/autoscaling/v1/BUILD.bazel b/vendor/k8s.io/api/autoscaling/v1/BUILD.bazel new file mode 100644 index 00000000..03aa0c3b --- /dev/null +++ b/vendor/k8s.io/api/autoscaling/v1/BUILD.bazel @@ -0,0 +1,24 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = [ + "doc.go", + "generated.pb.go", + "register.go", + "types.go", + "types_swagger_doc_generated.go", + "zz_generated.deepcopy.go", + ], + importmap = "github.com/amaizfinance/redis-operator/vendor/k8s.io/api/autoscaling/v1", + importpath = "k8s.io/api/autoscaling/v1", + visibility = ["//visibility:public"], + deps = [ + "//vendor/github.com/gogo/protobuf/proto:go_default_library", + "//vendor/k8s.io/api/core/v1:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/api/resource:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/apis/meta/v1:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/runtime:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/runtime/schema:go_default_library", + ], +) diff --git a/vendor/k8s.io/api/autoscaling/v2beta1/BUILD.bazel b/vendor/k8s.io/api/autoscaling/v2beta1/BUILD.bazel new file mode 100644 index 00000000..252f9fde --- /dev/null +++ b/vendor/k8s.io/api/autoscaling/v2beta1/BUILD.bazel @@ -0,0 +1,24 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = [ + "doc.go", + "generated.pb.go", + "register.go", + "types.go", + "types_swagger_doc_generated.go", + "zz_generated.deepcopy.go", + ], + importmap = "github.com/amaizfinance/redis-operator/vendor/k8s.io/api/autoscaling/v2beta1", + importpath = "k8s.io/api/autoscaling/v2beta1", + visibility = ["//visibility:public"], + deps = [ + "//vendor/github.com/gogo/protobuf/proto:go_default_library", + "//vendor/k8s.io/api/core/v1:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/api/resource:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/apis/meta/v1:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/runtime:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/runtime/schema:go_default_library", + ], +) diff --git a/vendor/k8s.io/api/autoscaling/v2beta2/BUILD.bazel b/vendor/k8s.io/api/autoscaling/v2beta2/BUILD.bazel new file mode 100644 index 00000000..8fbe2f30 --- /dev/null +++ b/vendor/k8s.io/api/autoscaling/v2beta2/BUILD.bazel @@ -0,0 +1,24 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = [ + "doc.go", + "generated.pb.go", + "register.go", + "types.go", + "types_swagger_doc_generated.go", + "zz_generated.deepcopy.go", + ], + importmap = "github.com/amaizfinance/redis-operator/vendor/k8s.io/api/autoscaling/v2beta2", + importpath = "k8s.io/api/autoscaling/v2beta2", + visibility = ["//visibility:public"], + deps = [ + "//vendor/github.com/gogo/protobuf/proto:go_default_library", + "//vendor/k8s.io/api/core/v1:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/api/resource:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/apis/meta/v1:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/runtime:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/runtime/schema:go_default_library", + ], +) diff --git a/vendor/k8s.io/api/batch/v1/BUILD.bazel b/vendor/k8s.io/api/batch/v1/BUILD.bazel new file mode 100644 index 00000000..52464c37 --- /dev/null +++ b/vendor/k8s.io/api/batch/v1/BUILD.bazel @@ -0,0 +1,23 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = [ + "doc.go", + "generated.pb.go", + "register.go", + "types.go", + "types_swagger_doc_generated.go", + "zz_generated.deepcopy.go", + ], + importmap = "github.com/amaizfinance/redis-operator/vendor/k8s.io/api/batch/v1", + importpath = "k8s.io/api/batch/v1", + visibility = ["//visibility:public"], + deps = [ + "//vendor/github.com/gogo/protobuf/proto:go_default_library", + "//vendor/k8s.io/api/core/v1:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/apis/meta/v1:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/runtime:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/runtime/schema:go_default_library", + ], +) diff --git a/vendor/k8s.io/api/batch/v1beta1/BUILD.bazel b/vendor/k8s.io/api/batch/v1beta1/BUILD.bazel new file mode 100644 index 00000000..388aaf40 --- /dev/null +++ b/vendor/k8s.io/api/batch/v1beta1/BUILD.bazel @@ -0,0 +1,24 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = [ + "doc.go", + "generated.pb.go", + "register.go", + "types.go", + "types_swagger_doc_generated.go", + "zz_generated.deepcopy.go", + ], + importmap = "github.com/amaizfinance/redis-operator/vendor/k8s.io/api/batch/v1beta1", + importpath = "k8s.io/api/batch/v1beta1", + visibility = ["//visibility:public"], + deps = [ + "//vendor/github.com/gogo/protobuf/proto:go_default_library", + "//vendor/k8s.io/api/batch/v1:go_default_library", + "//vendor/k8s.io/api/core/v1:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/apis/meta/v1:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/runtime:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/runtime/schema:go_default_library", + ], +) diff --git a/vendor/k8s.io/api/batch/v2alpha1/BUILD.bazel b/vendor/k8s.io/api/batch/v2alpha1/BUILD.bazel new file mode 100644 index 00000000..832b47bc --- /dev/null +++ b/vendor/k8s.io/api/batch/v2alpha1/BUILD.bazel @@ -0,0 +1,24 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = [ + "doc.go", + "generated.pb.go", + "register.go", + "types.go", + "types_swagger_doc_generated.go", + "zz_generated.deepcopy.go", + ], + importmap = "github.com/amaizfinance/redis-operator/vendor/k8s.io/api/batch/v2alpha1", + importpath = "k8s.io/api/batch/v2alpha1", + visibility = ["//visibility:public"], + deps = [ + "//vendor/github.com/gogo/protobuf/proto:go_default_library", + "//vendor/k8s.io/api/batch/v1:go_default_library", + "//vendor/k8s.io/api/core/v1:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/apis/meta/v1:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/runtime:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/runtime/schema:go_default_library", + ], +) diff --git a/vendor/k8s.io/api/certificates/v1beta1/BUILD.bazel b/vendor/k8s.io/api/certificates/v1beta1/BUILD.bazel new file mode 100644 index 00000000..f40ff885 --- /dev/null +++ b/vendor/k8s.io/api/certificates/v1beta1/BUILD.bazel @@ -0,0 +1,23 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = [ + "doc.go", + "generated.pb.go", + "register.go", + "types.go", + "types_swagger_doc_generated.go", + "zz_generated.deepcopy.go", + ], + importmap = "github.com/amaizfinance/redis-operator/vendor/k8s.io/api/certificates/v1beta1", + importpath = "k8s.io/api/certificates/v1beta1", + visibility = ["//visibility:public"], + deps = [ + "//vendor/github.com/gogo/protobuf/proto:go_default_library", + "//vendor/github.com/gogo/protobuf/sortkeys:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/apis/meta/v1:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/runtime:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/runtime/schema:go_default_library", + ], +) diff --git a/vendor/k8s.io/api/coordination/v1beta1/BUILD.bazel b/vendor/k8s.io/api/coordination/v1beta1/BUILD.bazel new file mode 100644 index 00000000..505e3cab --- /dev/null +++ b/vendor/k8s.io/api/coordination/v1beta1/BUILD.bazel @@ -0,0 +1,22 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = [ + "doc.go", + "generated.pb.go", + "register.go", + "types.go", + "types_swagger_doc_generated.go", + "zz_generated.deepcopy.go", + ], + importmap = "github.com/amaizfinance/redis-operator/vendor/k8s.io/api/coordination/v1beta1", + importpath = "k8s.io/api/coordination/v1beta1", + visibility = ["//visibility:public"], + deps = [ + "//vendor/github.com/gogo/protobuf/proto:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/apis/meta/v1:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/runtime:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/runtime/schema:go_default_library", + ], +) diff --git a/vendor/k8s.io/api/core/v1/BUILD.bazel b/vendor/k8s.io/api/core/v1/BUILD.bazel new file mode 100644 index 00000000..ae67bf86 --- /dev/null +++ b/vendor/k8s.io/api/core/v1/BUILD.bazel @@ -0,0 +1,31 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = [ + "annotation_key_constants.go", + "doc.go", + "generated.pb.go", + "objectreference.go", + "register.go", + "resource.go", + "taint.go", + "toleration.go", + "types.go", + "types_swagger_doc_generated.go", + "zz_generated.deepcopy.go", + ], + importmap = "github.com/amaizfinance/redis-operator/vendor/k8s.io/api/core/v1", + importpath = "k8s.io/api/core/v1", + visibility = ["//visibility:public"], + deps = [ + "//vendor/github.com/gogo/protobuf/proto:go_default_library", + "//vendor/github.com/gogo/protobuf/sortkeys:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/api/resource:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/apis/meta/v1:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/runtime:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/runtime/schema:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/types:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/util/intstr:go_default_library", + ], +) diff --git a/vendor/k8s.io/api/events/v1beta1/BUILD.bazel b/vendor/k8s.io/api/events/v1beta1/BUILD.bazel new file mode 100644 index 00000000..2532971b --- /dev/null +++ b/vendor/k8s.io/api/events/v1beta1/BUILD.bazel @@ -0,0 +1,23 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = [ + "doc.go", + "generated.pb.go", + "register.go", + "types.go", + "types_swagger_doc_generated.go", + "zz_generated.deepcopy.go", + ], + importmap = "github.com/amaizfinance/redis-operator/vendor/k8s.io/api/events/v1beta1", + importpath = "k8s.io/api/events/v1beta1", + visibility = ["//visibility:public"], + deps = [ + "//vendor/github.com/gogo/protobuf/proto:go_default_library", + "//vendor/k8s.io/api/core/v1:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/apis/meta/v1:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/runtime:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/runtime/schema:go_default_library", + ], +) diff --git a/vendor/k8s.io/api/extensions/v1beta1/BUILD.bazel b/vendor/k8s.io/api/extensions/v1beta1/BUILD.bazel new file mode 100644 index 00000000..42f76ec0 --- /dev/null +++ b/vendor/k8s.io/api/extensions/v1beta1/BUILD.bazel @@ -0,0 +1,26 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = [ + "doc.go", + "generated.pb.go", + "register.go", + "types.go", + "types_swagger_doc_generated.go", + "zz_generated.deepcopy.go", + ], + importmap = "github.com/amaizfinance/redis-operator/vendor/k8s.io/api/extensions/v1beta1", + importpath = "k8s.io/api/extensions/v1beta1", + visibility = ["//visibility:public"], + deps = [ + "//vendor/github.com/gogo/protobuf/proto:go_default_library", + "//vendor/github.com/gogo/protobuf/sortkeys:go_default_library", + "//vendor/k8s.io/api/apps/v1beta1:go_default_library", + "//vendor/k8s.io/api/core/v1:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/apis/meta/v1:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/runtime:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/runtime/schema:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/util/intstr:go_default_library", + ], +) diff --git a/vendor/k8s.io/api/networking/v1/BUILD.bazel b/vendor/k8s.io/api/networking/v1/BUILD.bazel new file mode 100644 index 00000000..b89fe6cc --- /dev/null +++ b/vendor/k8s.io/api/networking/v1/BUILD.bazel @@ -0,0 +1,24 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = [ + "doc.go", + "generated.pb.go", + "register.go", + "types.go", + "types_swagger_doc_generated.go", + "zz_generated.deepcopy.go", + ], + importmap = "github.com/amaizfinance/redis-operator/vendor/k8s.io/api/networking/v1", + importpath = "k8s.io/api/networking/v1", + visibility = ["//visibility:public"], + deps = [ + "//vendor/github.com/gogo/protobuf/proto:go_default_library", + "//vendor/k8s.io/api/core/v1:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/apis/meta/v1:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/runtime:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/runtime/schema:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/util/intstr:go_default_library", + ], +) diff --git a/vendor/k8s.io/api/policy/v1beta1/BUILD.bazel b/vendor/k8s.io/api/policy/v1beta1/BUILD.bazel new file mode 100644 index 00000000..0bc5af18 --- /dev/null +++ b/vendor/k8s.io/api/policy/v1beta1/BUILD.bazel @@ -0,0 +1,25 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = [ + "doc.go", + "generated.pb.go", + "register.go", + "types.go", + "types_swagger_doc_generated.go", + "zz_generated.deepcopy.go", + ], + importmap = "github.com/amaizfinance/redis-operator/vendor/k8s.io/api/policy/v1beta1", + importpath = "k8s.io/api/policy/v1beta1", + visibility = ["//visibility:public"], + deps = [ + "//vendor/github.com/gogo/protobuf/proto:go_default_library", + "//vendor/github.com/gogo/protobuf/sortkeys:go_default_library", + "//vendor/k8s.io/api/core/v1:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/apis/meta/v1:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/runtime:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/runtime/schema:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/util/intstr:go_default_library", + ], +) diff --git a/vendor/k8s.io/api/rbac/v1/BUILD.bazel b/vendor/k8s.io/api/rbac/v1/BUILD.bazel new file mode 100644 index 00000000..49629185 --- /dev/null +++ b/vendor/k8s.io/api/rbac/v1/BUILD.bazel @@ -0,0 +1,22 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = [ + "doc.go", + "generated.pb.go", + "register.go", + "types.go", + "types_swagger_doc_generated.go", + "zz_generated.deepcopy.go", + ], + importmap = "github.com/amaizfinance/redis-operator/vendor/k8s.io/api/rbac/v1", + importpath = "k8s.io/api/rbac/v1", + visibility = ["//visibility:public"], + deps = [ + "//vendor/github.com/gogo/protobuf/proto:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/apis/meta/v1:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/runtime:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/runtime/schema:go_default_library", + ], +) diff --git a/vendor/k8s.io/api/rbac/v1alpha1/BUILD.bazel b/vendor/k8s.io/api/rbac/v1alpha1/BUILD.bazel new file mode 100644 index 00000000..894b0054 --- /dev/null +++ b/vendor/k8s.io/api/rbac/v1alpha1/BUILD.bazel @@ -0,0 +1,22 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = [ + "doc.go", + "generated.pb.go", + "register.go", + "types.go", + "types_swagger_doc_generated.go", + "zz_generated.deepcopy.go", + ], + importmap = "github.com/amaizfinance/redis-operator/vendor/k8s.io/api/rbac/v1alpha1", + importpath = "k8s.io/api/rbac/v1alpha1", + visibility = ["//visibility:public"], + deps = [ + "//vendor/github.com/gogo/protobuf/proto:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/apis/meta/v1:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/runtime:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/runtime/schema:go_default_library", + ], +) diff --git a/vendor/k8s.io/api/rbac/v1beta1/BUILD.bazel b/vendor/k8s.io/api/rbac/v1beta1/BUILD.bazel new file mode 100644 index 00000000..818da2fe --- /dev/null +++ b/vendor/k8s.io/api/rbac/v1beta1/BUILD.bazel @@ -0,0 +1,22 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = [ + "doc.go", + "generated.pb.go", + "register.go", + "types.go", + "types_swagger_doc_generated.go", + "zz_generated.deepcopy.go", + ], + importmap = "github.com/amaizfinance/redis-operator/vendor/k8s.io/api/rbac/v1beta1", + importpath = "k8s.io/api/rbac/v1beta1", + visibility = ["//visibility:public"], + deps = [ + "//vendor/github.com/gogo/protobuf/proto:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/apis/meta/v1:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/runtime:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/runtime/schema:go_default_library", + ], +) diff --git a/vendor/k8s.io/api/scheduling/v1alpha1/BUILD.bazel b/vendor/k8s.io/api/scheduling/v1alpha1/BUILD.bazel new file mode 100644 index 00000000..d21ec277 --- /dev/null +++ b/vendor/k8s.io/api/scheduling/v1alpha1/BUILD.bazel @@ -0,0 +1,22 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = [ + "doc.go", + "generated.pb.go", + "register.go", + "types.go", + "types_swagger_doc_generated.go", + "zz_generated.deepcopy.go", + ], + importmap = "github.com/amaizfinance/redis-operator/vendor/k8s.io/api/scheduling/v1alpha1", + importpath = "k8s.io/api/scheduling/v1alpha1", + visibility = ["//visibility:public"], + deps = [ + "//vendor/github.com/gogo/protobuf/proto:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/apis/meta/v1:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/runtime:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/runtime/schema:go_default_library", + ], +) diff --git a/vendor/k8s.io/api/scheduling/v1beta1/BUILD.bazel b/vendor/k8s.io/api/scheduling/v1beta1/BUILD.bazel new file mode 100644 index 00000000..d9ce74c7 --- /dev/null +++ b/vendor/k8s.io/api/scheduling/v1beta1/BUILD.bazel @@ -0,0 +1,22 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = [ + "doc.go", + "generated.pb.go", + "register.go", + "types.go", + "types_swagger_doc_generated.go", + "zz_generated.deepcopy.go", + ], + importmap = "github.com/amaizfinance/redis-operator/vendor/k8s.io/api/scheduling/v1beta1", + importpath = "k8s.io/api/scheduling/v1beta1", + visibility = ["//visibility:public"], + deps = [ + "//vendor/github.com/gogo/protobuf/proto:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/apis/meta/v1:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/runtime:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/runtime/schema:go_default_library", + ], +) diff --git a/vendor/k8s.io/api/settings/v1alpha1/BUILD.bazel b/vendor/k8s.io/api/settings/v1alpha1/BUILD.bazel new file mode 100644 index 00000000..ee7b3897 --- /dev/null +++ b/vendor/k8s.io/api/settings/v1alpha1/BUILD.bazel @@ -0,0 +1,23 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = [ + "doc.go", + "generated.pb.go", + "register.go", + "types.go", + "types_swagger_doc_generated.go", + "zz_generated.deepcopy.go", + ], + importmap = "github.com/amaizfinance/redis-operator/vendor/k8s.io/api/settings/v1alpha1", + importpath = "k8s.io/api/settings/v1alpha1", + visibility = ["//visibility:public"], + deps = [ + "//vendor/github.com/gogo/protobuf/proto:go_default_library", + "//vendor/k8s.io/api/core/v1:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/apis/meta/v1:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/runtime:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/runtime/schema:go_default_library", + ], +) diff --git a/vendor/k8s.io/api/storage/v1/BUILD.bazel b/vendor/k8s.io/api/storage/v1/BUILD.bazel new file mode 100644 index 00000000..a29b55d9 --- /dev/null +++ b/vendor/k8s.io/api/storage/v1/BUILD.bazel @@ -0,0 +1,24 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = [ + "doc.go", + "generated.pb.go", + "register.go", + "types.go", + "types_swagger_doc_generated.go", + "zz_generated.deepcopy.go", + ], + importmap = "github.com/amaizfinance/redis-operator/vendor/k8s.io/api/storage/v1", + importpath = "k8s.io/api/storage/v1", + visibility = ["//visibility:public"], + deps = [ + "//vendor/github.com/gogo/protobuf/proto:go_default_library", + "//vendor/github.com/gogo/protobuf/sortkeys:go_default_library", + "//vendor/k8s.io/api/core/v1:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/apis/meta/v1:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/runtime:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/runtime/schema:go_default_library", + ], +) diff --git a/vendor/k8s.io/api/storage/v1alpha1/BUILD.bazel b/vendor/k8s.io/api/storage/v1alpha1/BUILD.bazel new file mode 100644 index 00000000..09326756 --- /dev/null +++ b/vendor/k8s.io/api/storage/v1alpha1/BUILD.bazel @@ -0,0 +1,23 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = [ + "doc.go", + "generated.pb.go", + "register.go", + "types.go", + "types_swagger_doc_generated.go", + "zz_generated.deepcopy.go", + ], + importmap = "github.com/amaizfinance/redis-operator/vendor/k8s.io/api/storage/v1alpha1", + importpath = "k8s.io/api/storage/v1alpha1", + visibility = ["//visibility:public"], + deps = [ + "//vendor/github.com/gogo/protobuf/proto:go_default_library", + "//vendor/github.com/gogo/protobuf/sortkeys:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/apis/meta/v1:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/runtime:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/runtime/schema:go_default_library", + ], +) diff --git a/vendor/k8s.io/api/storage/v1beta1/BUILD.bazel b/vendor/k8s.io/api/storage/v1beta1/BUILD.bazel new file mode 100644 index 00000000..907aea37 --- /dev/null +++ b/vendor/k8s.io/api/storage/v1beta1/BUILD.bazel @@ -0,0 +1,24 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = [ + "doc.go", + "generated.pb.go", + "register.go", + "types.go", + "types_swagger_doc_generated.go", + "zz_generated.deepcopy.go", + ], + importmap = "github.com/amaizfinance/redis-operator/vendor/k8s.io/api/storage/v1beta1", + importpath = "k8s.io/api/storage/v1beta1", + visibility = ["//visibility:public"], + deps = [ + "//vendor/github.com/gogo/protobuf/proto:go_default_library", + "//vendor/github.com/gogo/protobuf/sortkeys:go_default_library", + "//vendor/k8s.io/api/core/v1:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/apis/meta/v1:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/runtime:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/runtime/schema:go_default_library", + ], +) diff --git a/vendor/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/BUILD.bazel b/vendor/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/BUILD.bazel new file mode 100644 index 00000000..d56cb080 --- /dev/null +++ b/vendor/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/BUILD.bazel @@ -0,0 +1,22 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = [ + "deepcopy.go", + "doc.go", + "helpers.go", + "register.go", + "types.go", + "types_jsonschema.go", + "zz_generated.deepcopy.go", + ], + importmap = "github.com/amaizfinance/redis-operator/vendor/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions", + importpath = "k8s.io/apiextensions-apiserver/pkg/apis/apiextensions", + visibility = ["//visibility:public"], + deps = [ + "//vendor/k8s.io/apimachinery/pkg/apis/meta/v1:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/runtime:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/runtime/schema:go_default_library", + ], +) diff --git a/vendor/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1beta1/BUILD.bazel b/vendor/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1beta1/BUILD.bazel new file mode 100644 index 00000000..7c086c60 --- /dev/null +++ b/vendor/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1beta1/BUILD.bazel @@ -0,0 +1,33 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = [ + "conversion.go", + "deepcopy.go", + "defaults.go", + "doc.go", + "generated.pb.go", + "marshal.go", + "register.go", + "types.go", + "types_jsonschema.go", + "zz_generated.conversion.go", + "zz_generated.deepcopy.go", + "zz_generated.defaults.go", + ], + importmap = "github.com/amaizfinance/redis-operator/vendor/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1beta1", + importpath = "k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1beta1", + visibility = ["//visibility:public"], + deps = [ + "//vendor/github.com/gogo/protobuf/proto:go_default_library", + "//vendor/github.com/gogo/protobuf/sortkeys:go_default_library", + "//vendor/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/apis/meta/v1:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/conversion:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/runtime:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/runtime/schema:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/types:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/util/json:go_default_library", + ], +) diff --git a/vendor/k8s.io/apimachinery/pkg/api/errors/BUILD.bazel b/vendor/k8s.io/apimachinery/pkg/api/errors/BUILD.bazel new file mode 100644 index 00000000..5869d1d9 --- /dev/null +++ b/vendor/k8s.io/apimachinery/pkg/api/errors/BUILD.bazel @@ -0,0 +1,18 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = [ + "doc.go", + "errors.go", + ], + importmap = "github.com/amaizfinance/redis-operator/vendor/k8s.io/apimachinery/pkg/api/errors", + importpath = "k8s.io/apimachinery/pkg/api/errors", + visibility = ["//visibility:public"], + deps = [ + "//vendor/k8s.io/apimachinery/pkg/apis/meta/v1:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/runtime:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/runtime/schema:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/util/validation/field:go_default_library", + ], +) diff --git a/vendor/k8s.io/apimachinery/pkg/api/meta/BUILD.bazel b/vendor/k8s.io/apimachinery/pkg/api/meta/BUILD.bazel new file mode 100644 index 00000000..9591a9be --- /dev/null +++ b/vendor/k8s.io/apimachinery/pkg/api/meta/BUILD.bazel @@ -0,0 +1,31 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = [ + "doc.go", + "errors.go", + "firsthit_restmapper.go", + "help.go", + "interfaces.go", + "lazy.go", + "meta.go", + "multirestmapper.go", + "priority.go", + "restmapper.go", + ], + importmap = "github.com/amaizfinance/redis-operator/vendor/k8s.io/apimachinery/pkg/api/meta", + importpath = "k8s.io/apimachinery/pkg/api/meta", + visibility = ["//visibility:public"], + deps = [ + "//vendor/k8s.io/apimachinery/pkg/apis/meta/v1:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/apis/meta/v1beta1:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/conversion:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/runtime:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/runtime/schema:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/types:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/util/errors:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/util/sets:go_default_library", + "//vendor/k8s.io/klog:go_default_library", + ], +) diff --git a/vendor/k8s.io/apimachinery/pkg/api/resource/BUILD.bazel b/vendor/k8s.io/apimachinery/pkg/api/resource/BUILD.bazel new file mode 100644 index 00000000..43519218 --- /dev/null +++ b/vendor/k8s.io/apimachinery/pkg/api/resource/BUILD.bazel @@ -0,0 +1,22 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = [ + "amount.go", + "generated.pb.go", + "math.go", + "quantity.go", + "quantity_proto.go", + "scale_int.go", + "suffix.go", + "zz_generated.deepcopy.go", + ], + importmap = "github.com/amaizfinance/redis-operator/vendor/k8s.io/apimachinery/pkg/api/resource", + importpath = "k8s.io/apimachinery/pkg/api/resource", + visibility = ["//visibility:public"], + deps = [ + "//vendor/github.com/gogo/protobuf/proto:go_default_library", + "//vendor/gopkg.in/inf.v0:go_default_library", + ], +) diff --git a/vendor/k8s.io/apimachinery/pkg/apis/meta/internalversion/BUILD.bazel b/vendor/k8s.io/apimachinery/pkg/apis/meta/internalversion/BUILD.bazel new file mode 100644 index 00000000..87d005ef --- /dev/null +++ b/vendor/k8s.io/apimachinery/pkg/apis/meta/internalversion/BUILD.bazel @@ -0,0 +1,26 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = [ + "conversion.go", + "doc.go", + "register.go", + "types.go", + "zz_generated.conversion.go", + "zz_generated.deepcopy.go", + ], + importmap = "github.com/amaizfinance/redis-operator/vendor/k8s.io/apimachinery/pkg/apis/meta/internalversion", + importpath = "k8s.io/apimachinery/pkg/apis/meta/internalversion", + visibility = ["//visibility:public"], + deps = [ + "//vendor/k8s.io/apimachinery/pkg/apis/meta/v1:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/apis/meta/v1beta1:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/conversion:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/fields:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/labels:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/runtime:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/runtime/schema:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/runtime/serializer:go_default_library", + ], +) diff --git a/vendor/k8s.io/apimachinery/pkg/apis/meta/v1/BUILD.bazel b/vendor/k8s.io/apimachinery/pkg/apis/meta/v1/BUILD.bazel new file mode 100644 index 00000000..14855ad6 --- /dev/null +++ b/vendor/k8s.io/apimachinery/pkg/apis/meta/v1/BUILD.bazel @@ -0,0 +1,45 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = [ + "controller_ref.go", + "conversion.go", + "doc.go", + "duration.go", + "generated.pb.go", + "group_version.go", + "helpers.go", + "labels.go", + "meta.go", + "micro_time.go", + "micro_time_proto.go", + "register.go", + "time.go", + "time_proto.go", + "types.go", + "types_swagger_doc_generated.go", + "watch.go", + "zz_generated.deepcopy.go", + "zz_generated.defaults.go", + ], + importmap = "github.com/amaizfinance/redis-operator/vendor/k8s.io/apimachinery/pkg/apis/meta/v1", + importpath = "k8s.io/apimachinery/pkg/apis/meta/v1", + visibility = ["//visibility:public"], + deps = [ + "//vendor/github.com/gogo/protobuf/proto:go_default_library", + "//vendor/github.com/gogo/protobuf/sortkeys:go_default_library", + "//vendor/github.com/google/gofuzz:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/api/resource:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/conversion:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/fields:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/labels:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/runtime:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/runtime/schema:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/selection:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/types:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/util/intstr:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/util/runtime:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/watch:go_default_library", + ], +) diff --git a/vendor/k8s.io/apimachinery/pkg/apis/meta/v1/unstructured/BUILD.bazel b/vendor/k8s.io/apimachinery/pkg/apis/meta/v1/unstructured/BUILD.bazel new file mode 100644 index 00000000..9de15c3f --- /dev/null +++ b/vendor/k8s.io/apimachinery/pkg/apis/meta/v1/unstructured/BUILD.bazel @@ -0,0 +1,22 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = [ + "helpers.go", + "unstructured.go", + "unstructured_list.go", + "zz_generated.deepcopy.go", + ], + importmap = "github.com/amaizfinance/redis-operator/vendor/k8s.io/apimachinery/pkg/apis/meta/v1/unstructured", + importpath = "k8s.io/apimachinery/pkg/apis/meta/v1/unstructured", + visibility = ["//visibility:public"], + deps = [ + "//vendor/k8s.io/apimachinery/pkg/apis/meta/v1:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/runtime:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/runtime/schema:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/types:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/util/json:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/util/runtime:go_default_library", + ], +) diff --git a/vendor/k8s.io/apimachinery/pkg/apis/meta/v1beta1/BUILD.bazel b/vendor/k8s.io/apimachinery/pkg/apis/meta/v1beta1/BUILD.bazel new file mode 100644 index 00000000..7dbf1534 --- /dev/null +++ b/vendor/k8s.io/apimachinery/pkg/apis/meta/v1beta1/BUILD.bazel @@ -0,0 +1,26 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = [ + "conversion.go", + "deepcopy.go", + "doc.go", + "generated.pb.go", + "register.go", + "types.go", + "types_swagger_doc_generated.go", + "zz_generated.deepcopy.go", + "zz_generated.defaults.go", + ], + importmap = "github.com/amaizfinance/redis-operator/vendor/k8s.io/apimachinery/pkg/apis/meta/v1beta1", + importpath = "k8s.io/apimachinery/pkg/apis/meta/v1beta1", + visibility = ["//visibility:public"], + deps = [ + "//vendor/github.com/gogo/protobuf/proto:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/apis/meta/v1:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/conversion:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/runtime:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/runtime/schema:go_default_library", + ], +) diff --git a/vendor/k8s.io/apimachinery/pkg/conversion/BUILD.bazel b/vendor/k8s.io/apimachinery/pkg/conversion/BUILD.bazel new file mode 100644 index 00000000..0100b09b --- /dev/null +++ b/vendor/k8s.io/apimachinery/pkg/conversion/BUILD.bazel @@ -0,0 +1,15 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = [ + "converter.go", + "deep_equal.go", + "doc.go", + "helper.go", + ], + importmap = "github.com/amaizfinance/redis-operator/vendor/k8s.io/apimachinery/pkg/conversion", + importpath = "k8s.io/apimachinery/pkg/conversion", + visibility = ["//visibility:public"], + deps = ["//vendor/k8s.io/apimachinery/third_party/forked/golang/reflect:go_default_library"], +) diff --git a/vendor/k8s.io/apimachinery/pkg/conversion/queryparams/BUILD.bazel b/vendor/k8s.io/apimachinery/pkg/conversion/queryparams/BUILD.bazel new file mode 100644 index 00000000..d6257df4 --- /dev/null +++ b/vendor/k8s.io/apimachinery/pkg/conversion/queryparams/BUILD.bazel @@ -0,0 +1,12 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = [ + "convert.go", + "doc.go", + ], + importmap = "github.com/amaizfinance/redis-operator/vendor/k8s.io/apimachinery/pkg/conversion/queryparams", + importpath = "k8s.io/apimachinery/pkg/conversion/queryparams", + visibility = ["//visibility:public"], +) diff --git a/vendor/k8s.io/apimachinery/pkg/fields/BUILD.bazel b/vendor/k8s.io/apimachinery/pkg/fields/BUILD.bazel new file mode 100644 index 00000000..9c796f92 --- /dev/null +++ b/vendor/k8s.io/apimachinery/pkg/fields/BUILD.bazel @@ -0,0 +1,15 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = [ + "doc.go", + "fields.go", + "requirements.go", + "selector.go", + ], + importmap = "github.com/amaizfinance/redis-operator/vendor/k8s.io/apimachinery/pkg/fields", + importpath = "k8s.io/apimachinery/pkg/fields", + visibility = ["//visibility:public"], + deps = ["//vendor/k8s.io/apimachinery/pkg/selection:go_default_library"], +) diff --git a/vendor/k8s.io/apimachinery/pkg/labels/BUILD.bazel b/vendor/k8s.io/apimachinery/pkg/labels/BUILD.bazel new file mode 100644 index 00000000..8d92445f --- /dev/null +++ b/vendor/k8s.io/apimachinery/pkg/labels/BUILD.bazel @@ -0,0 +1,20 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = [ + "doc.go", + "labels.go", + "selector.go", + "zz_generated.deepcopy.go", + ], + importmap = "github.com/amaizfinance/redis-operator/vendor/k8s.io/apimachinery/pkg/labels", + importpath = "k8s.io/apimachinery/pkg/labels", + visibility = ["//visibility:public"], + deps = [ + "//vendor/k8s.io/apimachinery/pkg/selection:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/util/sets:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/util/validation:go_default_library", + "//vendor/k8s.io/klog:go_default_library", + ], +) diff --git a/vendor/k8s.io/apimachinery/pkg/runtime/BUILD.bazel b/vendor/k8s.io/apimachinery/pkg/runtime/BUILD.bazel new file mode 100644 index 00000000..54562286 --- /dev/null +++ b/vendor/k8s.io/apimachinery/pkg/runtime/BUILD.bazel @@ -0,0 +1,40 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = [ + "codec.go", + "codec_check.go", + "conversion.go", + "converter.go", + "doc.go", + "embedded.go", + "error.go", + "extension.go", + "generated.pb.go", + "helper.go", + "interfaces.go", + "register.go", + "scheme.go", + "scheme_builder.go", + "swagger_doc_generator.go", + "types.go", + "types_proto.go", + "zz_generated.deepcopy.go", + ], + importmap = "github.com/amaizfinance/redis-operator/vendor/k8s.io/apimachinery/pkg/runtime", + importpath = "k8s.io/apimachinery/pkg/runtime", + visibility = ["//visibility:public"], + deps = [ + "//vendor/github.com/gogo/protobuf/proto:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/conversion:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/conversion/queryparams:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/runtime/schema:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/util/errors:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/util/json:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/util/naming:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/util/runtime:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/util/sets:go_default_library", + "//vendor/k8s.io/klog:go_default_library", + ], +) diff --git a/vendor/k8s.io/apimachinery/pkg/runtime/schema/BUILD.bazel b/vendor/k8s.io/apimachinery/pkg/runtime/schema/BUILD.bazel new file mode 100644 index 00000000..f7eba028 --- /dev/null +++ b/vendor/k8s.io/apimachinery/pkg/runtime/schema/BUILD.bazel @@ -0,0 +1,14 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = [ + "generated.pb.go", + "group_version.go", + "interfaces.go", + ], + importmap = "github.com/amaizfinance/redis-operator/vendor/k8s.io/apimachinery/pkg/runtime/schema", + importpath = "k8s.io/apimachinery/pkg/runtime/schema", + visibility = ["//visibility:public"], + deps = ["//vendor/github.com/gogo/protobuf/proto:go_default_library"], +) diff --git a/vendor/k8s.io/apimachinery/pkg/runtime/serializer/BUILD.bazel b/vendor/k8s.io/apimachinery/pkg/runtime/serializer/BUILD.bazel new file mode 100644 index 00000000..5302b5b4 --- /dev/null +++ b/vendor/k8s.io/apimachinery/pkg/runtime/serializer/BUILD.bazel @@ -0,0 +1,21 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = [ + "codec_factory.go", + "negotiated_codec.go", + "protobuf_extension.go", + ], + importmap = "github.com/amaizfinance/redis-operator/vendor/k8s.io/apimachinery/pkg/runtime/serializer", + importpath = "k8s.io/apimachinery/pkg/runtime/serializer", + visibility = ["//visibility:public"], + deps = [ + "//vendor/k8s.io/apimachinery/pkg/runtime:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/runtime/schema:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/runtime/serializer/json:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/runtime/serializer/protobuf:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/runtime/serializer/recognizer:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/runtime/serializer/versioning:go_default_library", + ], +) diff --git a/vendor/k8s.io/apimachinery/pkg/runtime/serializer/json/BUILD.bazel b/vendor/k8s.io/apimachinery/pkg/runtime/serializer/json/BUILD.bazel new file mode 100644 index 00000000..9f39d848 --- /dev/null +++ b/vendor/k8s.io/apimachinery/pkg/runtime/serializer/json/BUILD.bazel @@ -0,0 +1,22 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = [ + "json.go", + "meta.go", + ], + importmap = "github.com/amaizfinance/redis-operator/vendor/k8s.io/apimachinery/pkg/runtime/serializer/json", + importpath = "k8s.io/apimachinery/pkg/runtime/serializer/json", + visibility = ["//visibility:public"], + deps = [ + "//vendor/github.com/json-iterator/go:go_default_library", + "//vendor/github.com/modern-go/reflect2:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/runtime:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/runtime/schema:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/runtime/serializer/recognizer:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/util/framer:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/util/yaml:go_default_library", + "//vendor/sigs.k8s.io/yaml:go_default_library", + ], +) diff --git a/vendor/k8s.io/apimachinery/pkg/runtime/serializer/protobuf/BUILD.bazel b/vendor/k8s.io/apimachinery/pkg/runtime/serializer/protobuf/BUILD.bazel new file mode 100644 index 00000000..830a4fb0 --- /dev/null +++ b/vendor/k8s.io/apimachinery/pkg/runtime/serializer/protobuf/BUILD.bazel @@ -0,0 +1,20 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = [ + "doc.go", + "protobuf.go", + ], + importmap = "github.com/amaizfinance/redis-operator/vendor/k8s.io/apimachinery/pkg/runtime/serializer/protobuf", + importpath = "k8s.io/apimachinery/pkg/runtime/serializer/protobuf", + visibility = ["//visibility:public"], + deps = [ + "//vendor/github.com/gogo/protobuf/proto:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/apis/meta/v1:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/runtime:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/runtime/schema:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/runtime/serializer/recognizer:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/util/framer:go_default_library", + ], +) diff --git a/vendor/k8s.io/apimachinery/pkg/runtime/serializer/recognizer/BUILD.bazel b/vendor/k8s.io/apimachinery/pkg/runtime/serializer/recognizer/BUILD.bazel new file mode 100644 index 00000000..dfad0f2a --- /dev/null +++ b/vendor/k8s.io/apimachinery/pkg/runtime/serializer/recognizer/BUILD.bazel @@ -0,0 +1,13 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = ["recognizer.go"], + importmap = "github.com/amaizfinance/redis-operator/vendor/k8s.io/apimachinery/pkg/runtime/serializer/recognizer", + importpath = "k8s.io/apimachinery/pkg/runtime/serializer/recognizer", + visibility = ["//visibility:public"], + deps = [ + "//vendor/k8s.io/apimachinery/pkg/runtime:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/runtime/schema:go_default_library", + ], +) diff --git a/vendor/k8s.io/apimachinery/pkg/runtime/serializer/streaming/BUILD.bazel b/vendor/k8s.io/apimachinery/pkg/runtime/serializer/streaming/BUILD.bazel new file mode 100644 index 00000000..0dfcec44 --- /dev/null +++ b/vendor/k8s.io/apimachinery/pkg/runtime/serializer/streaming/BUILD.bazel @@ -0,0 +1,13 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = ["streaming.go"], + importmap = "github.com/amaizfinance/redis-operator/vendor/k8s.io/apimachinery/pkg/runtime/serializer/streaming", + importpath = "k8s.io/apimachinery/pkg/runtime/serializer/streaming", + visibility = ["//visibility:public"], + deps = [ + "//vendor/k8s.io/apimachinery/pkg/runtime:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/runtime/schema:go_default_library", + ], +) diff --git a/vendor/k8s.io/apimachinery/pkg/runtime/serializer/versioning/BUILD.bazel b/vendor/k8s.io/apimachinery/pkg/runtime/serializer/versioning/BUILD.bazel new file mode 100644 index 00000000..d8c822ad --- /dev/null +++ b/vendor/k8s.io/apimachinery/pkg/runtime/serializer/versioning/BUILD.bazel @@ -0,0 +1,14 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = ["versioning.go"], + importmap = "github.com/amaizfinance/redis-operator/vendor/k8s.io/apimachinery/pkg/runtime/serializer/versioning", + importpath = "k8s.io/apimachinery/pkg/runtime/serializer/versioning", + visibility = ["//visibility:public"], + deps = [ + "//vendor/k8s.io/apimachinery/pkg/apis/meta/v1/unstructured:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/runtime:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/runtime/schema:go_default_library", + ], +) diff --git a/vendor/k8s.io/apimachinery/pkg/selection/BUILD.bazel b/vendor/k8s.io/apimachinery/pkg/selection/BUILD.bazel new file mode 100644 index 00000000..2d94353d --- /dev/null +++ b/vendor/k8s.io/apimachinery/pkg/selection/BUILD.bazel @@ -0,0 +1,9 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = ["operator.go"], + importmap = "github.com/amaizfinance/redis-operator/vendor/k8s.io/apimachinery/pkg/selection", + importpath = "k8s.io/apimachinery/pkg/selection", + visibility = ["//visibility:public"], +) diff --git a/vendor/k8s.io/apimachinery/pkg/types/BUILD.bazel b/vendor/k8s.io/apimachinery/pkg/types/BUILD.bazel new file mode 100644 index 00000000..a0f79b45 --- /dev/null +++ b/vendor/k8s.io/apimachinery/pkg/types/BUILD.bazel @@ -0,0 +1,15 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = [ + "doc.go", + "namespacedname.go", + "nodename.go", + "patch.go", + "uid.go", + ], + importmap = "github.com/amaizfinance/redis-operator/vendor/k8s.io/apimachinery/pkg/types", + importpath = "k8s.io/apimachinery/pkg/types", + visibility = ["//visibility:public"], +) diff --git a/vendor/k8s.io/apimachinery/pkg/util/cache/BUILD.bazel b/vendor/k8s.io/apimachinery/pkg/util/cache/BUILD.bazel new file mode 100644 index 00000000..4c61126f --- /dev/null +++ b/vendor/k8s.io/apimachinery/pkg/util/cache/BUILD.bazel @@ -0,0 +1,13 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = [ + "cache.go", + "lruexpirecache.go", + ], + importmap = "github.com/amaizfinance/redis-operator/vendor/k8s.io/apimachinery/pkg/util/cache", + importpath = "k8s.io/apimachinery/pkg/util/cache", + visibility = ["//visibility:public"], + deps = ["//vendor/github.com/hashicorp/golang-lru:go_default_library"], +) diff --git a/vendor/k8s.io/apimachinery/pkg/util/clock/BUILD.bazel b/vendor/k8s.io/apimachinery/pkg/util/clock/BUILD.bazel new file mode 100644 index 00000000..526d2015 --- /dev/null +++ b/vendor/k8s.io/apimachinery/pkg/util/clock/BUILD.bazel @@ -0,0 +1,9 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = ["clock.go"], + importmap = "github.com/amaizfinance/redis-operator/vendor/k8s.io/apimachinery/pkg/util/clock", + importpath = "k8s.io/apimachinery/pkg/util/clock", + visibility = ["//visibility:public"], +) diff --git a/vendor/k8s.io/apimachinery/pkg/util/diff/BUILD.bazel b/vendor/k8s.io/apimachinery/pkg/util/diff/BUILD.bazel new file mode 100644 index 00000000..b964854c --- /dev/null +++ b/vendor/k8s.io/apimachinery/pkg/util/diff/BUILD.bazel @@ -0,0 +1,13 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = ["diff.go"], + importmap = "github.com/amaizfinance/redis-operator/vendor/k8s.io/apimachinery/pkg/util/diff", + importpath = "k8s.io/apimachinery/pkg/util/diff", + visibility = ["//visibility:public"], + deps = [ + "//vendor/github.com/davecgh/go-spew/spew:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/util/validation/field:go_default_library", + ], +) diff --git a/vendor/k8s.io/apimachinery/pkg/util/errors/BUILD.bazel b/vendor/k8s.io/apimachinery/pkg/util/errors/BUILD.bazel new file mode 100644 index 00000000..ef2b772b --- /dev/null +++ b/vendor/k8s.io/apimachinery/pkg/util/errors/BUILD.bazel @@ -0,0 +1,12 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = [ + "doc.go", + "errors.go", + ], + importmap = "github.com/amaizfinance/redis-operator/vendor/k8s.io/apimachinery/pkg/util/errors", + importpath = "k8s.io/apimachinery/pkg/util/errors", + visibility = ["//visibility:public"], +) diff --git a/vendor/k8s.io/apimachinery/pkg/util/framer/BUILD.bazel b/vendor/k8s.io/apimachinery/pkg/util/framer/BUILD.bazel new file mode 100644 index 00000000..ebb5062f --- /dev/null +++ b/vendor/k8s.io/apimachinery/pkg/util/framer/BUILD.bazel @@ -0,0 +1,9 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = ["framer.go"], + importmap = "github.com/amaizfinance/redis-operator/vendor/k8s.io/apimachinery/pkg/util/framer", + importpath = "k8s.io/apimachinery/pkg/util/framer", + visibility = ["//visibility:public"], +) diff --git a/vendor/k8s.io/apimachinery/pkg/util/intstr/BUILD.bazel b/vendor/k8s.io/apimachinery/pkg/util/intstr/BUILD.bazel new file mode 100644 index 00000000..21c6aa00 --- /dev/null +++ b/vendor/k8s.io/apimachinery/pkg/util/intstr/BUILD.bazel @@ -0,0 +1,17 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = [ + "generated.pb.go", + "intstr.go", + ], + importmap = "github.com/amaizfinance/redis-operator/vendor/k8s.io/apimachinery/pkg/util/intstr", + importpath = "k8s.io/apimachinery/pkg/util/intstr", + visibility = ["//visibility:public"], + deps = [ + "//vendor/github.com/gogo/protobuf/proto:go_default_library", + "//vendor/github.com/google/gofuzz:go_default_library", + "//vendor/k8s.io/klog:go_default_library", + ], +) diff --git a/vendor/k8s.io/apimachinery/pkg/util/json/BUILD.bazel b/vendor/k8s.io/apimachinery/pkg/util/json/BUILD.bazel new file mode 100644 index 00000000..a06f222c --- /dev/null +++ b/vendor/k8s.io/apimachinery/pkg/util/json/BUILD.bazel @@ -0,0 +1,9 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = ["json.go"], + importmap = "github.com/amaizfinance/redis-operator/vendor/k8s.io/apimachinery/pkg/util/json", + importpath = "k8s.io/apimachinery/pkg/util/json", + visibility = ["//visibility:public"], +) diff --git a/vendor/k8s.io/apimachinery/pkg/util/mergepatch/BUILD.bazel b/vendor/k8s.io/apimachinery/pkg/util/mergepatch/BUILD.bazel new file mode 100644 index 00000000..d50d6245 --- /dev/null +++ b/vendor/k8s.io/apimachinery/pkg/util/mergepatch/BUILD.bazel @@ -0,0 +1,16 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = [ + "errors.go", + "util.go", + ], + importmap = "github.com/amaizfinance/redis-operator/vendor/k8s.io/apimachinery/pkg/util/mergepatch", + importpath = "k8s.io/apimachinery/pkg/util/mergepatch", + visibility = ["//visibility:public"], + deps = [ + "//vendor/github.com/davecgh/go-spew/spew:go_default_library", + "//vendor/sigs.k8s.io/yaml:go_default_library", + ], +) diff --git a/vendor/k8s.io/apimachinery/pkg/util/naming/BUILD.bazel b/vendor/k8s.io/apimachinery/pkg/util/naming/BUILD.bazel new file mode 100644 index 00000000..0858d53d --- /dev/null +++ b/vendor/k8s.io/apimachinery/pkg/util/naming/BUILD.bazel @@ -0,0 +1,9 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = ["from_stack.go"], + importmap = "github.com/amaizfinance/redis-operator/vendor/k8s.io/apimachinery/pkg/util/naming", + importpath = "k8s.io/apimachinery/pkg/util/naming", + visibility = ["//visibility:public"], +) diff --git a/vendor/k8s.io/apimachinery/pkg/util/net/BUILD.bazel b/vendor/k8s.io/apimachinery/pkg/util/net/BUILD.bazel new file mode 100644 index 00000000..2f01e41e --- /dev/null +++ b/vendor/k8s.io/apimachinery/pkg/util/net/BUILD.bazel @@ -0,0 +1,20 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = [ + "http.go", + "interface.go", + "port_range.go", + "port_split.go", + "util.go", + ], + importmap = "github.com/amaizfinance/redis-operator/vendor/k8s.io/apimachinery/pkg/util/net", + importpath = "k8s.io/apimachinery/pkg/util/net", + visibility = ["//visibility:public"], + deps = [ + "//vendor/golang.org/x/net/http2:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/util/sets:go_default_library", + "//vendor/k8s.io/klog:go_default_library", + ], +) diff --git a/vendor/k8s.io/apimachinery/pkg/util/runtime/BUILD.bazel b/vendor/k8s.io/apimachinery/pkg/util/runtime/BUILD.bazel new file mode 100644 index 00000000..e209a94b --- /dev/null +++ b/vendor/k8s.io/apimachinery/pkg/util/runtime/BUILD.bazel @@ -0,0 +1,10 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = ["runtime.go"], + importmap = "github.com/amaizfinance/redis-operator/vendor/k8s.io/apimachinery/pkg/util/runtime", + importpath = "k8s.io/apimachinery/pkg/util/runtime", + visibility = ["//visibility:public"], + deps = ["//vendor/k8s.io/klog:go_default_library"], +) diff --git a/vendor/k8s.io/apimachinery/pkg/util/sets/BUILD.bazel b/vendor/k8s.io/apimachinery/pkg/util/sets/BUILD.bazel new file mode 100644 index 00000000..fd4d8ee3 --- /dev/null +++ b/vendor/k8s.io/apimachinery/pkg/util/sets/BUILD.bazel @@ -0,0 +1,16 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = [ + "byte.go", + "doc.go", + "empty.go", + "int.go", + "int64.go", + "string.go", + ], + importmap = "github.com/amaizfinance/redis-operator/vendor/k8s.io/apimachinery/pkg/util/sets", + importpath = "k8s.io/apimachinery/pkg/util/sets", + visibility = ["//visibility:public"], +) diff --git a/vendor/k8s.io/apimachinery/pkg/util/strategicpatch/BUILD.bazel b/vendor/k8s.io/apimachinery/pkg/util/strategicpatch/BUILD.bazel new file mode 100644 index 00000000..d348af62 --- /dev/null +++ b/vendor/k8s.io/apimachinery/pkg/util/strategicpatch/BUILD.bazel @@ -0,0 +1,21 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = [ + "errors.go", + "meta.go", + "patch.go", + "types.go", + ], + importmap = "github.com/amaizfinance/redis-operator/vendor/k8s.io/apimachinery/pkg/util/strategicpatch", + importpath = "k8s.io/apimachinery/pkg/util/strategicpatch", + visibility = ["//visibility:public"], + deps = [ + "//vendor/k8s.io/apimachinery/pkg/apis/meta/v1/unstructured:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/util/json:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/util/mergepatch:go_default_library", + "//vendor/k8s.io/apimachinery/third_party/forked/golang/json:go_default_library", + "//vendor/k8s.io/kube-openapi/pkg/util/proto:go_default_library", + ], +) diff --git a/vendor/k8s.io/apimachinery/pkg/util/uuid/BUILD.bazel b/vendor/k8s.io/apimachinery/pkg/util/uuid/BUILD.bazel new file mode 100644 index 00000000..a3f31b1f --- /dev/null +++ b/vendor/k8s.io/apimachinery/pkg/util/uuid/BUILD.bazel @@ -0,0 +1,13 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = ["uuid.go"], + importmap = "github.com/amaizfinance/redis-operator/vendor/k8s.io/apimachinery/pkg/util/uuid", + importpath = "k8s.io/apimachinery/pkg/util/uuid", + visibility = ["//visibility:public"], + deps = [ + "//vendor/github.com/pborman/uuid:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/types:go_default_library", + ], +) diff --git a/vendor/k8s.io/apimachinery/pkg/util/validation/BUILD.bazel b/vendor/k8s.io/apimachinery/pkg/util/validation/BUILD.bazel new file mode 100644 index 00000000..133c60ba --- /dev/null +++ b/vendor/k8s.io/apimachinery/pkg/util/validation/BUILD.bazel @@ -0,0 +1,10 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = ["validation.go"], + importmap = "github.com/amaizfinance/redis-operator/vendor/k8s.io/apimachinery/pkg/util/validation", + importpath = "k8s.io/apimachinery/pkg/util/validation", + visibility = ["//visibility:public"], + deps = ["//vendor/k8s.io/apimachinery/pkg/util/validation/field:go_default_library"], +) diff --git a/vendor/k8s.io/apimachinery/pkg/util/validation/field/BUILD.bazel b/vendor/k8s.io/apimachinery/pkg/util/validation/field/BUILD.bazel new file mode 100644 index 00000000..227dca16 --- /dev/null +++ b/vendor/k8s.io/apimachinery/pkg/util/validation/field/BUILD.bazel @@ -0,0 +1,16 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = [ + "errors.go", + "path.go", + ], + importmap = "github.com/amaizfinance/redis-operator/vendor/k8s.io/apimachinery/pkg/util/validation/field", + importpath = "k8s.io/apimachinery/pkg/util/validation/field", + visibility = ["//visibility:public"], + deps = [ + "//vendor/k8s.io/apimachinery/pkg/util/errors:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/util/sets:go_default_library", + ], +) diff --git a/vendor/k8s.io/apimachinery/pkg/util/wait/BUILD.bazel b/vendor/k8s.io/apimachinery/pkg/util/wait/BUILD.bazel new file mode 100644 index 00000000..a713281b --- /dev/null +++ b/vendor/k8s.io/apimachinery/pkg/util/wait/BUILD.bazel @@ -0,0 +1,13 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = [ + "doc.go", + "wait.go", + ], + importmap = "github.com/amaizfinance/redis-operator/vendor/k8s.io/apimachinery/pkg/util/wait", + importpath = "k8s.io/apimachinery/pkg/util/wait", + visibility = ["//visibility:public"], + deps = ["//vendor/k8s.io/apimachinery/pkg/util/runtime:go_default_library"], +) diff --git a/vendor/k8s.io/apimachinery/pkg/util/yaml/BUILD.bazel b/vendor/k8s.io/apimachinery/pkg/util/yaml/BUILD.bazel new file mode 100644 index 00000000..76b1e689 --- /dev/null +++ b/vendor/k8s.io/apimachinery/pkg/util/yaml/BUILD.bazel @@ -0,0 +1,13 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = ["decoder.go"], + importmap = "github.com/amaizfinance/redis-operator/vendor/k8s.io/apimachinery/pkg/util/yaml", + importpath = "k8s.io/apimachinery/pkg/util/yaml", + visibility = ["//visibility:public"], + deps = [ + "//vendor/k8s.io/klog:go_default_library", + "//vendor/sigs.k8s.io/yaml:go_default_library", + ], +) diff --git a/vendor/k8s.io/apimachinery/pkg/version/BUILD.bazel b/vendor/k8s.io/apimachinery/pkg/version/BUILD.bazel new file mode 100644 index 00000000..b903683d --- /dev/null +++ b/vendor/k8s.io/apimachinery/pkg/version/BUILD.bazel @@ -0,0 +1,13 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = [ + "doc.go", + "helpers.go", + "types.go", + ], + importmap = "github.com/amaizfinance/redis-operator/vendor/k8s.io/apimachinery/pkg/version", + importpath = "k8s.io/apimachinery/pkg/version", + visibility = ["//visibility:public"], +) diff --git a/vendor/k8s.io/apimachinery/pkg/watch/BUILD.bazel b/vendor/k8s.io/apimachinery/pkg/watch/BUILD.bazel new file mode 100644 index 00000000..25dd80dd --- /dev/null +++ b/vendor/k8s.io/apimachinery/pkg/watch/BUILD.bazel @@ -0,0 +1,23 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = [ + "doc.go", + "filter.go", + "mux.go", + "streamwatcher.go", + "watch.go", + "zz_generated.deepcopy.go", + ], + importmap = "github.com/amaizfinance/redis-operator/vendor/k8s.io/apimachinery/pkg/watch", + importpath = "k8s.io/apimachinery/pkg/watch", + visibility = ["//visibility:public"], + deps = [ + "//vendor/k8s.io/apimachinery/pkg/runtime:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/runtime/schema:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/util/net:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/util/runtime:go_default_library", + "//vendor/k8s.io/klog:go_default_library", + ], +) diff --git a/vendor/k8s.io/apimachinery/third_party/forked/golang/json/BUILD.bazel b/vendor/k8s.io/apimachinery/third_party/forked/golang/json/BUILD.bazel new file mode 100644 index 00000000..15c87977 --- /dev/null +++ b/vendor/k8s.io/apimachinery/third_party/forked/golang/json/BUILD.bazel @@ -0,0 +1,9 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = ["fields.go"], + importmap = "github.com/amaizfinance/redis-operator/vendor/k8s.io/apimachinery/third_party/forked/golang/json", + importpath = "k8s.io/apimachinery/third_party/forked/golang/json", + visibility = ["//visibility:public"], +) diff --git a/vendor/k8s.io/apimachinery/third_party/forked/golang/reflect/BUILD.bazel b/vendor/k8s.io/apimachinery/third_party/forked/golang/reflect/BUILD.bazel new file mode 100644 index 00000000..fbd9eaf9 --- /dev/null +++ b/vendor/k8s.io/apimachinery/third_party/forked/golang/reflect/BUILD.bazel @@ -0,0 +1,9 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = ["deep_equal.go"], + importmap = "github.com/amaizfinance/redis-operator/vendor/k8s.io/apimachinery/third_party/forked/golang/reflect", + importpath = "k8s.io/apimachinery/third_party/forked/golang/reflect", + visibility = ["//visibility:public"], +) diff --git a/vendor/k8s.io/client-go/discovery/BUILD.bazel b/vendor/k8s.io/client-go/discovery/BUILD.bazel new file mode 100644 index 00000000..9bf723ad --- /dev/null +++ b/vendor/k8s.io/client-go/discovery/BUILD.bazel @@ -0,0 +1,33 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = [ + "cached_discovery.go", + "discovery_client.go", + "doc.go", + "helper.go", + "round_tripper.go", + ], + importmap = "github.com/amaizfinance/redis-operator/vendor/k8s.io/client-go/discovery", + importpath = "k8s.io/client-go/discovery", + visibility = ["//visibility:public"], + deps = [ + "//vendor/github.com/golang/protobuf/proto:go_default_library", + "//vendor/github.com/googleapis/gnostic/OpenAPIv2:go_default_library", + "//vendor/github.com/gregjones/httpcache:go_default_library", + "//vendor/github.com/gregjones/httpcache/diskcache:go_default_library", + "//vendor/github.com/peterbourgon/diskv:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/api/errors:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/apis/meta/v1:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/runtime:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/runtime/schema:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/runtime/serializer:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/util/runtime:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/util/sets:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/version:go_default_library", + "//vendor/k8s.io/client-go/kubernetes/scheme:go_default_library", + "//vendor/k8s.io/client-go/rest:go_default_library", + "//vendor/k8s.io/klog:go_default_library", + ], +) diff --git a/vendor/k8s.io/client-go/dynamic/BUILD.bazel b/vendor/k8s.io/client-go/dynamic/BUILD.bazel new file mode 100644 index 00000000..b5b6263a --- /dev/null +++ b/vendor/k8s.io/client-go/dynamic/BUILD.bazel @@ -0,0 +1,27 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = [ + "interface.go", + "scheme.go", + "simple.go", + ], + importmap = "github.com/amaizfinance/redis-operator/vendor/k8s.io/client-go/dynamic", + importpath = "k8s.io/client-go/dynamic", + visibility = ["//visibility:public"], + deps = [ + "//vendor/k8s.io/apimachinery/pkg/api/meta:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/apis/meta/v1:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/apis/meta/v1/unstructured:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/runtime:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/runtime/schema:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/runtime/serializer:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/runtime/serializer/json:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/runtime/serializer/streaming:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/runtime/serializer/versioning:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/types:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/watch:go_default_library", + "//vendor/k8s.io/client-go/rest:go_default_library", + ], +) diff --git a/vendor/k8s.io/client-go/kubernetes/BUILD.bazel b/vendor/k8s.io/client-go/kubernetes/BUILD.bazel new file mode 100644 index 00000000..2694436a --- /dev/null +++ b/vendor/k8s.io/client-go/kubernetes/BUILD.bazel @@ -0,0 +1,50 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = [ + "clientset.go", + "doc.go", + "import.go", + ], + importmap = "github.com/amaizfinance/redis-operator/vendor/k8s.io/client-go/kubernetes", + importpath = "k8s.io/client-go/kubernetes", + visibility = ["//visibility:public"], + deps = [ + "//vendor/k8s.io/client-go/discovery:go_default_library", + "//vendor/k8s.io/client-go/kubernetes/typed/admissionregistration/v1alpha1:go_default_library", + "//vendor/k8s.io/client-go/kubernetes/typed/admissionregistration/v1beta1:go_default_library", + "//vendor/k8s.io/client-go/kubernetes/typed/apps/v1:go_default_library", + "//vendor/k8s.io/client-go/kubernetes/typed/apps/v1beta1:go_default_library", + "//vendor/k8s.io/client-go/kubernetes/typed/apps/v1beta2:go_default_library", + "//vendor/k8s.io/client-go/kubernetes/typed/auditregistration/v1alpha1:go_default_library", + "//vendor/k8s.io/client-go/kubernetes/typed/authentication/v1:go_default_library", + "//vendor/k8s.io/client-go/kubernetes/typed/authentication/v1beta1:go_default_library", + "//vendor/k8s.io/client-go/kubernetes/typed/authorization/v1:go_default_library", + "//vendor/k8s.io/client-go/kubernetes/typed/authorization/v1beta1:go_default_library", + "//vendor/k8s.io/client-go/kubernetes/typed/autoscaling/v1:go_default_library", + "//vendor/k8s.io/client-go/kubernetes/typed/autoscaling/v2beta1:go_default_library", + "//vendor/k8s.io/client-go/kubernetes/typed/autoscaling/v2beta2:go_default_library", + "//vendor/k8s.io/client-go/kubernetes/typed/batch/v1:go_default_library", + "//vendor/k8s.io/client-go/kubernetes/typed/batch/v1beta1:go_default_library", + "//vendor/k8s.io/client-go/kubernetes/typed/batch/v2alpha1:go_default_library", + "//vendor/k8s.io/client-go/kubernetes/typed/certificates/v1beta1:go_default_library", + "//vendor/k8s.io/client-go/kubernetes/typed/coordination/v1beta1:go_default_library", + "//vendor/k8s.io/client-go/kubernetes/typed/core/v1:go_default_library", + "//vendor/k8s.io/client-go/kubernetes/typed/events/v1beta1:go_default_library", + "//vendor/k8s.io/client-go/kubernetes/typed/extensions/v1beta1:go_default_library", + "//vendor/k8s.io/client-go/kubernetes/typed/networking/v1:go_default_library", + "//vendor/k8s.io/client-go/kubernetes/typed/policy/v1beta1:go_default_library", + "//vendor/k8s.io/client-go/kubernetes/typed/rbac/v1:go_default_library", + "//vendor/k8s.io/client-go/kubernetes/typed/rbac/v1alpha1:go_default_library", + "//vendor/k8s.io/client-go/kubernetes/typed/rbac/v1beta1:go_default_library", + "//vendor/k8s.io/client-go/kubernetes/typed/scheduling/v1alpha1:go_default_library", + "//vendor/k8s.io/client-go/kubernetes/typed/scheduling/v1beta1:go_default_library", + "//vendor/k8s.io/client-go/kubernetes/typed/settings/v1alpha1:go_default_library", + "//vendor/k8s.io/client-go/kubernetes/typed/storage/v1:go_default_library", + "//vendor/k8s.io/client-go/kubernetes/typed/storage/v1alpha1:go_default_library", + "//vendor/k8s.io/client-go/kubernetes/typed/storage/v1beta1:go_default_library", + "//vendor/k8s.io/client-go/rest:go_default_library", + "//vendor/k8s.io/client-go/util/flowcontrol:go_default_library", + ], +) diff --git a/vendor/k8s.io/client-go/kubernetes/scheme/BUILD.bazel b/vendor/k8s.io/client-go/kubernetes/scheme/BUILD.bazel new file mode 100644 index 00000000..7f7b1cbc --- /dev/null +++ b/vendor/k8s.io/client-go/kubernetes/scheme/BUILD.bazel @@ -0,0 +1,51 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = [ + "doc.go", + "register.go", + ], + importmap = "github.com/amaizfinance/redis-operator/vendor/k8s.io/client-go/kubernetes/scheme", + importpath = "k8s.io/client-go/kubernetes/scheme", + visibility = ["//visibility:public"], + deps = [ + "//vendor/k8s.io/api/admissionregistration/v1alpha1:go_default_library", + "//vendor/k8s.io/api/admissionregistration/v1beta1:go_default_library", + "//vendor/k8s.io/api/apps/v1:go_default_library", + "//vendor/k8s.io/api/apps/v1beta1:go_default_library", + "//vendor/k8s.io/api/apps/v1beta2:go_default_library", + "//vendor/k8s.io/api/auditregistration/v1alpha1:go_default_library", + "//vendor/k8s.io/api/authentication/v1:go_default_library", + "//vendor/k8s.io/api/authentication/v1beta1:go_default_library", + "//vendor/k8s.io/api/authorization/v1:go_default_library", + "//vendor/k8s.io/api/authorization/v1beta1:go_default_library", + "//vendor/k8s.io/api/autoscaling/v1:go_default_library", + "//vendor/k8s.io/api/autoscaling/v2beta1:go_default_library", + "//vendor/k8s.io/api/autoscaling/v2beta2:go_default_library", + "//vendor/k8s.io/api/batch/v1:go_default_library", + "//vendor/k8s.io/api/batch/v1beta1:go_default_library", + "//vendor/k8s.io/api/batch/v2alpha1:go_default_library", + "//vendor/k8s.io/api/certificates/v1beta1:go_default_library", + "//vendor/k8s.io/api/coordination/v1beta1:go_default_library", + "//vendor/k8s.io/api/core/v1:go_default_library", + "//vendor/k8s.io/api/events/v1beta1:go_default_library", + "//vendor/k8s.io/api/extensions/v1beta1:go_default_library", + "//vendor/k8s.io/api/networking/v1:go_default_library", + "//vendor/k8s.io/api/policy/v1beta1:go_default_library", + "//vendor/k8s.io/api/rbac/v1:go_default_library", + "//vendor/k8s.io/api/rbac/v1alpha1:go_default_library", + "//vendor/k8s.io/api/rbac/v1beta1:go_default_library", + "//vendor/k8s.io/api/scheduling/v1alpha1:go_default_library", + "//vendor/k8s.io/api/scheduling/v1beta1:go_default_library", + "//vendor/k8s.io/api/settings/v1alpha1:go_default_library", + "//vendor/k8s.io/api/storage/v1:go_default_library", + "//vendor/k8s.io/api/storage/v1alpha1:go_default_library", + "//vendor/k8s.io/api/storage/v1beta1:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/apis/meta/v1:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/runtime:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/runtime/schema:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/runtime/serializer:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/util/runtime:go_default_library", + ], +) diff --git a/vendor/k8s.io/client-go/kubernetes/typed/admissionregistration/v1alpha1/BUILD.bazel b/vendor/k8s.io/client-go/kubernetes/typed/admissionregistration/v1alpha1/BUILD.bazel new file mode 100644 index 00000000..decb212b --- /dev/null +++ b/vendor/k8s.io/client-go/kubernetes/typed/admissionregistration/v1alpha1/BUILD.bazel @@ -0,0 +1,23 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = [ + "admissionregistration_client.go", + "doc.go", + "generated_expansion.go", + "initializerconfiguration.go", + ], + importmap = "github.com/amaizfinance/redis-operator/vendor/k8s.io/client-go/kubernetes/typed/admissionregistration/v1alpha1", + importpath = "k8s.io/client-go/kubernetes/typed/admissionregistration/v1alpha1", + visibility = ["//visibility:public"], + deps = [ + "//vendor/k8s.io/api/admissionregistration/v1alpha1:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/apis/meta/v1:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/runtime/serializer:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/types:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/watch:go_default_library", + "//vendor/k8s.io/client-go/kubernetes/scheme:go_default_library", + "//vendor/k8s.io/client-go/rest:go_default_library", + ], +) diff --git a/vendor/k8s.io/client-go/kubernetes/typed/admissionregistration/v1beta1/BUILD.bazel b/vendor/k8s.io/client-go/kubernetes/typed/admissionregistration/v1beta1/BUILD.bazel new file mode 100644 index 00000000..0b8758a5 --- /dev/null +++ b/vendor/k8s.io/client-go/kubernetes/typed/admissionregistration/v1beta1/BUILD.bazel @@ -0,0 +1,24 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = [ + "admissionregistration_client.go", + "doc.go", + "generated_expansion.go", + "mutatingwebhookconfiguration.go", + "validatingwebhookconfiguration.go", + ], + importmap = "github.com/amaizfinance/redis-operator/vendor/k8s.io/client-go/kubernetes/typed/admissionregistration/v1beta1", + importpath = "k8s.io/client-go/kubernetes/typed/admissionregistration/v1beta1", + visibility = ["//visibility:public"], + deps = [ + "//vendor/k8s.io/api/admissionregistration/v1beta1:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/apis/meta/v1:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/runtime/serializer:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/types:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/watch:go_default_library", + "//vendor/k8s.io/client-go/kubernetes/scheme:go_default_library", + "//vendor/k8s.io/client-go/rest:go_default_library", + ], +) diff --git a/vendor/k8s.io/client-go/kubernetes/typed/apps/v1/BUILD.bazel b/vendor/k8s.io/client-go/kubernetes/typed/apps/v1/BUILD.bazel new file mode 100644 index 00000000..4a5b4c4d --- /dev/null +++ b/vendor/k8s.io/client-go/kubernetes/typed/apps/v1/BUILD.bazel @@ -0,0 +1,28 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = [ + "apps_client.go", + "controllerrevision.go", + "daemonset.go", + "deployment.go", + "doc.go", + "generated_expansion.go", + "replicaset.go", + "statefulset.go", + ], + importmap = "github.com/amaizfinance/redis-operator/vendor/k8s.io/client-go/kubernetes/typed/apps/v1", + importpath = "k8s.io/client-go/kubernetes/typed/apps/v1", + visibility = ["//visibility:public"], + deps = [ + "//vendor/k8s.io/api/apps/v1:go_default_library", + "//vendor/k8s.io/api/autoscaling/v1:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/apis/meta/v1:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/runtime/serializer:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/types:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/watch:go_default_library", + "//vendor/k8s.io/client-go/kubernetes/scheme:go_default_library", + "//vendor/k8s.io/client-go/rest:go_default_library", + ], +) diff --git a/vendor/k8s.io/client-go/kubernetes/typed/apps/v1beta1/BUILD.bazel b/vendor/k8s.io/client-go/kubernetes/typed/apps/v1beta1/BUILD.bazel new file mode 100644 index 00000000..fea01af1 --- /dev/null +++ b/vendor/k8s.io/client-go/kubernetes/typed/apps/v1beta1/BUILD.bazel @@ -0,0 +1,25 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = [ + "apps_client.go", + "controllerrevision.go", + "deployment.go", + "doc.go", + "generated_expansion.go", + "statefulset.go", + ], + importmap = "github.com/amaizfinance/redis-operator/vendor/k8s.io/client-go/kubernetes/typed/apps/v1beta1", + importpath = "k8s.io/client-go/kubernetes/typed/apps/v1beta1", + visibility = ["//visibility:public"], + deps = [ + "//vendor/k8s.io/api/apps/v1beta1:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/apis/meta/v1:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/runtime/serializer:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/types:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/watch:go_default_library", + "//vendor/k8s.io/client-go/kubernetes/scheme:go_default_library", + "//vendor/k8s.io/client-go/rest:go_default_library", + ], +) diff --git a/vendor/k8s.io/client-go/kubernetes/typed/apps/v1beta2/BUILD.bazel b/vendor/k8s.io/client-go/kubernetes/typed/apps/v1beta2/BUILD.bazel new file mode 100644 index 00000000..1dc893e4 --- /dev/null +++ b/vendor/k8s.io/client-go/kubernetes/typed/apps/v1beta2/BUILD.bazel @@ -0,0 +1,27 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = [ + "apps_client.go", + "controllerrevision.go", + "daemonset.go", + "deployment.go", + "doc.go", + "generated_expansion.go", + "replicaset.go", + "statefulset.go", + ], + importmap = "github.com/amaizfinance/redis-operator/vendor/k8s.io/client-go/kubernetes/typed/apps/v1beta2", + importpath = "k8s.io/client-go/kubernetes/typed/apps/v1beta2", + visibility = ["//visibility:public"], + deps = [ + "//vendor/k8s.io/api/apps/v1beta2:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/apis/meta/v1:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/runtime/serializer:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/types:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/watch:go_default_library", + "//vendor/k8s.io/client-go/kubernetes/scheme:go_default_library", + "//vendor/k8s.io/client-go/rest:go_default_library", + ], +) diff --git a/vendor/k8s.io/client-go/kubernetes/typed/auditregistration/v1alpha1/BUILD.bazel b/vendor/k8s.io/client-go/kubernetes/typed/auditregistration/v1alpha1/BUILD.bazel new file mode 100644 index 00000000..43236c71 --- /dev/null +++ b/vendor/k8s.io/client-go/kubernetes/typed/auditregistration/v1alpha1/BUILD.bazel @@ -0,0 +1,23 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = [ + "auditregistration_client.go", + "auditsink.go", + "doc.go", + "generated_expansion.go", + ], + importmap = "github.com/amaizfinance/redis-operator/vendor/k8s.io/client-go/kubernetes/typed/auditregistration/v1alpha1", + importpath = "k8s.io/client-go/kubernetes/typed/auditregistration/v1alpha1", + visibility = ["//visibility:public"], + deps = [ + "//vendor/k8s.io/api/auditregistration/v1alpha1:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/apis/meta/v1:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/runtime/serializer:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/types:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/watch:go_default_library", + "//vendor/k8s.io/client-go/kubernetes/scheme:go_default_library", + "//vendor/k8s.io/client-go/rest:go_default_library", + ], +) diff --git a/vendor/k8s.io/client-go/kubernetes/typed/authentication/v1/BUILD.bazel b/vendor/k8s.io/client-go/kubernetes/typed/authentication/v1/BUILD.bazel new file mode 100644 index 00000000..44dd9b0a --- /dev/null +++ b/vendor/k8s.io/client-go/kubernetes/typed/authentication/v1/BUILD.bazel @@ -0,0 +1,21 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = [ + "authentication_client.go", + "doc.go", + "generated_expansion.go", + "tokenreview.go", + "tokenreview_expansion.go", + ], + importmap = "github.com/amaizfinance/redis-operator/vendor/k8s.io/client-go/kubernetes/typed/authentication/v1", + importpath = "k8s.io/client-go/kubernetes/typed/authentication/v1", + visibility = ["//visibility:public"], + deps = [ + "//vendor/k8s.io/api/authentication/v1:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/runtime/serializer:go_default_library", + "//vendor/k8s.io/client-go/kubernetes/scheme:go_default_library", + "//vendor/k8s.io/client-go/rest:go_default_library", + ], +) diff --git a/vendor/k8s.io/client-go/kubernetes/typed/authentication/v1beta1/BUILD.bazel b/vendor/k8s.io/client-go/kubernetes/typed/authentication/v1beta1/BUILD.bazel new file mode 100644 index 00000000..b952a6fd --- /dev/null +++ b/vendor/k8s.io/client-go/kubernetes/typed/authentication/v1beta1/BUILD.bazel @@ -0,0 +1,21 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = [ + "authentication_client.go", + "doc.go", + "generated_expansion.go", + "tokenreview.go", + "tokenreview_expansion.go", + ], + importmap = "github.com/amaizfinance/redis-operator/vendor/k8s.io/client-go/kubernetes/typed/authentication/v1beta1", + importpath = "k8s.io/client-go/kubernetes/typed/authentication/v1beta1", + visibility = ["//visibility:public"], + deps = [ + "//vendor/k8s.io/api/authentication/v1beta1:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/runtime/serializer:go_default_library", + "//vendor/k8s.io/client-go/kubernetes/scheme:go_default_library", + "//vendor/k8s.io/client-go/rest:go_default_library", + ], +) diff --git a/vendor/k8s.io/client-go/kubernetes/typed/authorization/v1/BUILD.bazel b/vendor/k8s.io/client-go/kubernetes/typed/authorization/v1/BUILD.bazel new file mode 100644 index 00000000..c40f04b6 --- /dev/null +++ b/vendor/k8s.io/client-go/kubernetes/typed/authorization/v1/BUILD.bazel @@ -0,0 +1,27 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = [ + "authorization_client.go", + "doc.go", + "generated_expansion.go", + "localsubjectaccessreview.go", + "localsubjectaccessreview_expansion.go", + "selfsubjectaccessreview.go", + "selfsubjectaccessreview_expansion.go", + "selfsubjectrulesreview.go", + "selfsubjectrulesreview_expansion.go", + "subjectaccessreview.go", + "subjectaccessreview_expansion.go", + ], + importmap = "github.com/amaizfinance/redis-operator/vendor/k8s.io/client-go/kubernetes/typed/authorization/v1", + importpath = "k8s.io/client-go/kubernetes/typed/authorization/v1", + visibility = ["//visibility:public"], + deps = [ + "//vendor/k8s.io/api/authorization/v1:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/runtime/serializer:go_default_library", + "//vendor/k8s.io/client-go/kubernetes/scheme:go_default_library", + "//vendor/k8s.io/client-go/rest:go_default_library", + ], +) diff --git a/vendor/k8s.io/client-go/kubernetes/typed/authorization/v1beta1/BUILD.bazel b/vendor/k8s.io/client-go/kubernetes/typed/authorization/v1beta1/BUILD.bazel new file mode 100644 index 00000000..ca2bfbec --- /dev/null +++ b/vendor/k8s.io/client-go/kubernetes/typed/authorization/v1beta1/BUILD.bazel @@ -0,0 +1,27 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = [ + "authorization_client.go", + "doc.go", + "generated_expansion.go", + "localsubjectaccessreview.go", + "localsubjectaccessreview_expansion.go", + "selfsubjectaccessreview.go", + "selfsubjectaccessreview_expansion.go", + "selfsubjectrulesreview.go", + "selfsubjectrulesreview_expansion.go", + "subjectaccessreview.go", + "subjectaccessreview_expansion.go", + ], + importmap = "github.com/amaizfinance/redis-operator/vendor/k8s.io/client-go/kubernetes/typed/authorization/v1beta1", + importpath = "k8s.io/client-go/kubernetes/typed/authorization/v1beta1", + visibility = ["//visibility:public"], + deps = [ + "//vendor/k8s.io/api/authorization/v1beta1:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/runtime/serializer:go_default_library", + "//vendor/k8s.io/client-go/kubernetes/scheme:go_default_library", + "//vendor/k8s.io/client-go/rest:go_default_library", + ], +) diff --git a/vendor/k8s.io/client-go/kubernetes/typed/autoscaling/v1/BUILD.bazel b/vendor/k8s.io/client-go/kubernetes/typed/autoscaling/v1/BUILD.bazel new file mode 100644 index 00000000..d41e758d --- /dev/null +++ b/vendor/k8s.io/client-go/kubernetes/typed/autoscaling/v1/BUILD.bazel @@ -0,0 +1,23 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = [ + "autoscaling_client.go", + "doc.go", + "generated_expansion.go", + "horizontalpodautoscaler.go", + ], + importmap = "github.com/amaizfinance/redis-operator/vendor/k8s.io/client-go/kubernetes/typed/autoscaling/v1", + importpath = "k8s.io/client-go/kubernetes/typed/autoscaling/v1", + visibility = ["//visibility:public"], + deps = [ + "//vendor/k8s.io/api/autoscaling/v1:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/apis/meta/v1:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/runtime/serializer:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/types:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/watch:go_default_library", + "//vendor/k8s.io/client-go/kubernetes/scheme:go_default_library", + "//vendor/k8s.io/client-go/rest:go_default_library", + ], +) diff --git a/vendor/k8s.io/client-go/kubernetes/typed/autoscaling/v2beta1/BUILD.bazel b/vendor/k8s.io/client-go/kubernetes/typed/autoscaling/v2beta1/BUILD.bazel new file mode 100644 index 00000000..f85f7d49 --- /dev/null +++ b/vendor/k8s.io/client-go/kubernetes/typed/autoscaling/v2beta1/BUILD.bazel @@ -0,0 +1,23 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = [ + "autoscaling_client.go", + "doc.go", + "generated_expansion.go", + "horizontalpodautoscaler.go", + ], + importmap = "github.com/amaizfinance/redis-operator/vendor/k8s.io/client-go/kubernetes/typed/autoscaling/v2beta1", + importpath = "k8s.io/client-go/kubernetes/typed/autoscaling/v2beta1", + visibility = ["//visibility:public"], + deps = [ + "//vendor/k8s.io/api/autoscaling/v2beta1:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/apis/meta/v1:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/runtime/serializer:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/types:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/watch:go_default_library", + "//vendor/k8s.io/client-go/kubernetes/scheme:go_default_library", + "//vendor/k8s.io/client-go/rest:go_default_library", + ], +) diff --git a/vendor/k8s.io/client-go/kubernetes/typed/autoscaling/v2beta2/BUILD.bazel b/vendor/k8s.io/client-go/kubernetes/typed/autoscaling/v2beta2/BUILD.bazel new file mode 100644 index 00000000..81e4687f --- /dev/null +++ b/vendor/k8s.io/client-go/kubernetes/typed/autoscaling/v2beta2/BUILD.bazel @@ -0,0 +1,23 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = [ + "autoscaling_client.go", + "doc.go", + "generated_expansion.go", + "horizontalpodautoscaler.go", + ], + importmap = "github.com/amaizfinance/redis-operator/vendor/k8s.io/client-go/kubernetes/typed/autoscaling/v2beta2", + importpath = "k8s.io/client-go/kubernetes/typed/autoscaling/v2beta2", + visibility = ["//visibility:public"], + deps = [ + "//vendor/k8s.io/api/autoscaling/v2beta2:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/apis/meta/v1:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/runtime/serializer:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/types:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/watch:go_default_library", + "//vendor/k8s.io/client-go/kubernetes/scheme:go_default_library", + "//vendor/k8s.io/client-go/rest:go_default_library", + ], +) diff --git a/vendor/k8s.io/client-go/kubernetes/typed/batch/v1/BUILD.bazel b/vendor/k8s.io/client-go/kubernetes/typed/batch/v1/BUILD.bazel new file mode 100644 index 00000000..08b55ca6 --- /dev/null +++ b/vendor/k8s.io/client-go/kubernetes/typed/batch/v1/BUILD.bazel @@ -0,0 +1,23 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = [ + "batch_client.go", + "doc.go", + "generated_expansion.go", + "job.go", + ], + importmap = "github.com/amaizfinance/redis-operator/vendor/k8s.io/client-go/kubernetes/typed/batch/v1", + importpath = "k8s.io/client-go/kubernetes/typed/batch/v1", + visibility = ["//visibility:public"], + deps = [ + "//vendor/k8s.io/api/batch/v1:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/apis/meta/v1:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/runtime/serializer:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/types:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/watch:go_default_library", + "//vendor/k8s.io/client-go/kubernetes/scheme:go_default_library", + "//vendor/k8s.io/client-go/rest:go_default_library", + ], +) diff --git a/vendor/k8s.io/client-go/kubernetes/typed/batch/v1beta1/BUILD.bazel b/vendor/k8s.io/client-go/kubernetes/typed/batch/v1beta1/BUILD.bazel new file mode 100644 index 00000000..8f5655a6 --- /dev/null +++ b/vendor/k8s.io/client-go/kubernetes/typed/batch/v1beta1/BUILD.bazel @@ -0,0 +1,23 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = [ + "batch_client.go", + "cronjob.go", + "doc.go", + "generated_expansion.go", + ], + importmap = "github.com/amaizfinance/redis-operator/vendor/k8s.io/client-go/kubernetes/typed/batch/v1beta1", + importpath = "k8s.io/client-go/kubernetes/typed/batch/v1beta1", + visibility = ["//visibility:public"], + deps = [ + "//vendor/k8s.io/api/batch/v1beta1:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/apis/meta/v1:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/runtime/serializer:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/types:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/watch:go_default_library", + "//vendor/k8s.io/client-go/kubernetes/scheme:go_default_library", + "//vendor/k8s.io/client-go/rest:go_default_library", + ], +) diff --git a/vendor/k8s.io/client-go/kubernetes/typed/batch/v2alpha1/BUILD.bazel b/vendor/k8s.io/client-go/kubernetes/typed/batch/v2alpha1/BUILD.bazel new file mode 100644 index 00000000..dcb5781b --- /dev/null +++ b/vendor/k8s.io/client-go/kubernetes/typed/batch/v2alpha1/BUILD.bazel @@ -0,0 +1,23 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = [ + "batch_client.go", + "cronjob.go", + "doc.go", + "generated_expansion.go", + ], + importmap = "github.com/amaizfinance/redis-operator/vendor/k8s.io/client-go/kubernetes/typed/batch/v2alpha1", + importpath = "k8s.io/client-go/kubernetes/typed/batch/v2alpha1", + visibility = ["//visibility:public"], + deps = [ + "//vendor/k8s.io/api/batch/v2alpha1:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/apis/meta/v1:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/runtime/serializer:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/types:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/watch:go_default_library", + "//vendor/k8s.io/client-go/kubernetes/scheme:go_default_library", + "//vendor/k8s.io/client-go/rest:go_default_library", + ], +) diff --git a/vendor/k8s.io/client-go/kubernetes/typed/certificates/v1beta1/BUILD.bazel b/vendor/k8s.io/client-go/kubernetes/typed/certificates/v1beta1/BUILD.bazel new file mode 100644 index 00000000..d0a49b10 --- /dev/null +++ b/vendor/k8s.io/client-go/kubernetes/typed/certificates/v1beta1/BUILD.bazel @@ -0,0 +1,24 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = [ + "certificates_client.go", + "certificatesigningrequest.go", + "certificatesigningrequest_expansion.go", + "doc.go", + "generated_expansion.go", + ], + importmap = "github.com/amaizfinance/redis-operator/vendor/k8s.io/client-go/kubernetes/typed/certificates/v1beta1", + importpath = "k8s.io/client-go/kubernetes/typed/certificates/v1beta1", + visibility = ["//visibility:public"], + deps = [ + "//vendor/k8s.io/api/certificates/v1beta1:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/apis/meta/v1:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/runtime/serializer:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/types:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/watch:go_default_library", + "//vendor/k8s.io/client-go/kubernetes/scheme:go_default_library", + "//vendor/k8s.io/client-go/rest:go_default_library", + ], +) diff --git a/vendor/k8s.io/client-go/kubernetes/typed/coordination/v1beta1/BUILD.bazel b/vendor/k8s.io/client-go/kubernetes/typed/coordination/v1beta1/BUILD.bazel new file mode 100644 index 00000000..cd239dd5 --- /dev/null +++ b/vendor/k8s.io/client-go/kubernetes/typed/coordination/v1beta1/BUILD.bazel @@ -0,0 +1,23 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = [ + "coordination_client.go", + "doc.go", + "generated_expansion.go", + "lease.go", + ], + importmap = "github.com/amaizfinance/redis-operator/vendor/k8s.io/client-go/kubernetes/typed/coordination/v1beta1", + importpath = "k8s.io/client-go/kubernetes/typed/coordination/v1beta1", + visibility = ["//visibility:public"], + deps = [ + "//vendor/k8s.io/api/coordination/v1beta1:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/apis/meta/v1:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/runtime/serializer:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/types:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/watch:go_default_library", + "//vendor/k8s.io/client-go/kubernetes/scheme:go_default_library", + "//vendor/k8s.io/client-go/rest:go_default_library", + ], +) diff --git a/vendor/k8s.io/client-go/kubernetes/typed/core/v1/BUILD.bazel b/vendor/k8s.io/client-go/kubernetes/typed/core/v1/BUILD.bazel new file mode 100644 index 00000000..26c8a5a7 --- /dev/null +++ b/vendor/k8s.io/client-go/kubernetes/typed/core/v1/BUILD.bazel @@ -0,0 +1,51 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = [ + "componentstatus.go", + "configmap.go", + "core_client.go", + "doc.go", + "endpoints.go", + "event.go", + "event_expansion.go", + "generated_expansion.go", + "limitrange.go", + "namespace.go", + "namespace_expansion.go", + "node.go", + "node_expansion.go", + "persistentvolume.go", + "persistentvolumeclaim.go", + "pod.go", + "pod_expansion.go", + "podtemplate.go", + "replicationcontroller.go", + "resourcequota.go", + "secret.go", + "service.go", + "service_expansion.go", + "serviceaccount.go", + "serviceaccount_expansion.go", + ], + importmap = "github.com/amaizfinance/redis-operator/vendor/k8s.io/client-go/kubernetes/typed/core/v1", + importpath = "k8s.io/client-go/kubernetes/typed/core/v1", + visibility = ["//visibility:public"], + deps = [ + "//vendor/k8s.io/api/authentication/v1:go_default_library", + "//vendor/k8s.io/api/autoscaling/v1:go_default_library", + "//vendor/k8s.io/api/core/v1:go_default_library", + "//vendor/k8s.io/api/policy/v1beta1:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/apis/meta/v1:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/fields:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/runtime:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/runtime/serializer:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/types:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/util/net:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/watch:go_default_library", + "//vendor/k8s.io/client-go/kubernetes/scheme:go_default_library", + "//vendor/k8s.io/client-go/rest:go_default_library", + "//vendor/k8s.io/client-go/tools/reference:go_default_library", + ], +) diff --git a/vendor/k8s.io/client-go/kubernetes/typed/events/v1beta1/BUILD.bazel b/vendor/k8s.io/client-go/kubernetes/typed/events/v1beta1/BUILD.bazel new file mode 100644 index 00000000..1e74cd42 --- /dev/null +++ b/vendor/k8s.io/client-go/kubernetes/typed/events/v1beta1/BUILD.bazel @@ -0,0 +1,23 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = [ + "doc.go", + "event.go", + "events_client.go", + "generated_expansion.go", + ], + importmap = "github.com/amaizfinance/redis-operator/vendor/k8s.io/client-go/kubernetes/typed/events/v1beta1", + importpath = "k8s.io/client-go/kubernetes/typed/events/v1beta1", + visibility = ["//visibility:public"], + deps = [ + "//vendor/k8s.io/api/events/v1beta1:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/apis/meta/v1:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/runtime/serializer:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/types:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/watch:go_default_library", + "//vendor/k8s.io/client-go/kubernetes/scheme:go_default_library", + "//vendor/k8s.io/client-go/rest:go_default_library", + ], +) diff --git a/vendor/k8s.io/client-go/kubernetes/typed/extensions/v1beta1/BUILD.bazel b/vendor/k8s.io/client-go/kubernetes/typed/extensions/v1beta1/BUILD.bazel new file mode 100644 index 00000000..bdfe0189 --- /dev/null +++ b/vendor/k8s.io/client-go/kubernetes/typed/extensions/v1beta1/BUILD.bazel @@ -0,0 +1,28 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = [ + "daemonset.go", + "deployment.go", + "deployment_expansion.go", + "doc.go", + "extensions_client.go", + "generated_expansion.go", + "ingress.go", + "podsecuritypolicy.go", + "replicaset.go", + ], + importmap = "github.com/amaizfinance/redis-operator/vendor/k8s.io/client-go/kubernetes/typed/extensions/v1beta1", + importpath = "k8s.io/client-go/kubernetes/typed/extensions/v1beta1", + visibility = ["//visibility:public"], + deps = [ + "//vendor/k8s.io/api/extensions/v1beta1:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/apis/meta/v1:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/runtime/serializer:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/types:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/watch:go_default_library", + "//vendor/k8s.io/client-go/kubernetes/scheme:go_default_library", + "//vendor/k8s.io/client-go/rest:go_default_library", + ], +) diff --git a/vendor/k8s.io/client-go/kubernetes/typed/networking/v1/BUILD.bazel b/vendor/k8s.io/client-go/kubernetes/typed/networking/v1/BUILD.bazel new file mode 100644 index 00000000..c11e5b3a --- /dev/null +++ b/vendor/k8s.io/client-go/kubernetes/typed/networking/v1/BUILD.bazel @@ -0,0 +1,23 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = [ + "doc.go", + "generated_expansion.go", + "networking_client.go", + "networkpolicy.go", + ], + importmap = "github.com/amaizfinance/redis-operator/vendor/k8s.io/client-go/kubernetes/typed/networking/v1", + importpath = "k8s.io/client-go/kubernetes/typed/networking/v1", + visibility = ["//visibility:public"], + deps = [ + "//vendor/k8s.io/api/networking/v1:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/apis/meta/v1:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/runtime/serializer:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/types:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/watch:go_default_library", + "//vendor/k8s.io/client-go/kubernetes/scheme:go_default_library", + "//vendor/k8s.io/client-go/rest:go_default_library", + ], +) diff --git a/vendor/k8s.io/client-go/kubernetes/typed/policy/v1beta1/BUILD.bazel b/vendor/k8s.io/client-go/kubernetes/typed/policy/v1beta1/BUILD.bazel new file mode 100644 index 00000000..29e19855 --- /dev/null +++ b/vendor/k8s.io/client-go/kubernetes/typed/policy/v1beta1/BUILD.bazel @@ -0,0 +1,26 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = [ + "doc.go", + "eviction.go", + "eviction_expansion.go", + "generated_expansion.go", + "poddisruptionbudget.go", + "podsecuritypolicy.go", + "policy_client.go", + ], + importmap = "github.com/amaizfinance/redis-operator/vendor/k8s.io/client-go/kubernetes/typed/policy/v1beta1", + importpath = "k8s.io/client-go/kubernetes/typed/policy/v1beta1", + visibility = ["//visibility:public"], + deps = [ + "//vendor/k8s.io/api/policy/v1beta1:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/apis/meta/v1:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/runtime/serializer:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/types:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/watch:go_default_library", + "//vendor/k8s.io/client-go/kubernetes/scheme:go_default_library", + "//vendor/k8s.io/client-go/rest:go_default_library", + ], +) diff --git a/vendor/k8s.io/client-go/kubernetes/typed/rbac/v1/BUILD.bazel b/vendor/k8s.io/client-go/kubernetes/typed/rbac/v1/BUILD.bazel new file mode 100644 index 00000000..0adfc4f1 --- /dev/null +++ b/vendor/k8s.io/client-go/kubernetes/typed/rbac/v1/BUILD.bazel @@ -0,0 +1,26 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = [ + "clusterrole.go", + "clusterrolebinding.go", + "doc.go", + "generated_expansion.go", + "rbac_client.go", + "role.go", + "rolebinding.go", + ], + importmap = "github.com/amaizfinance/redis-operator/vendor/k8s.io/client-go/kubernetes/typed/rbac/v1", + importpath = "k8s.io/client-go/kubernetes/typed/rbac/v1", + visibility = ["//visibility:public"], + deps = [ + "//vendor/k8s.io/api/rbac/v1:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/apis/meta/v1:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/runtime/serializer:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/types:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/watch:go_default_library", + "//vendor/k8s.io/client-go/kubernetes/scheme:go_default_library", + "//vendor/k8s.io/client-go/rest:go_default_library", + ], +) diff --git a/vendor/k8s.io/client-go/kubernetes/typed/rbac/v1alpha1/BUILD.bazel b/vendor/k8s.io/client-go/kubernetes/typed/rbac/v1alpha1/BUILD.bazel new file mode 100644 index 00000000..c14db5c7 --- /dev/null +++ b/vendor/k8s.io/client-go/kubernetes/typed/rbac/v1alpha1/BUILD.bazel @@ -0,0 +1,26 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = [ + "clusterrole.go", + "clusterrolebinding.go", + "doc.go", + "generated_expansion.go", + "rbac_client.go", + "role.go", + "rolebinding.go", + ], + importmap = "github.com/amaizfinance/redis-operator/vendor/k8s.io/client-go/kubernetes/typed/rbac/v1alpha1", + importpath = "k8s.io/client-go/kubernetes/typed/rbac/v1alpha1", + visibility = ["//visibility:public"], + deps = [ + "//vendor/k8s.io/api/rbac/v1alpha1:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/apis/meta/v1:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/runtime/serializer:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/types:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/watch:go_default_library", + "//vendor/k8s.io/client-go/kubernetes/scheme:go_default_library", + "//vendor/k8s.io/client-go/rest:go_default_library", + ], +) diff --git a/vendor/k8s.io/client-go/kubernetes/typed/rbac/v1beta1/BUILD.bazel b/vendor/k8s.io/client-go/kubernetes/typed/rbac/v1beta1/BUILD.bazel new file mode 100644 index 00000000..6c41ad10 --- /dev/null +++ b/vendor/k8s.io/client-go/kubernetes/typed/rbac/v1beta1/BUILD.bazel @@ -0,0 +1,26 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = [ + "clusterrole.go", + "clusterrolebinding.go", + "doc.go", + "generated_expansion.go", + "rbac_client.go", + "role.go", + "rolebinding.go", + ], + importmap = "github.com/amaizfinance/redis-operator/vendor/k8s.io/client-go/kubernetes/typed/rbac/v1beta1", + importpath = "k8s.io/client-go/kubernetes/typed/rbac/v1beta1", + visibility = ["//visibility:public"], + deps = [ + "//vendor/k8s.io/api/rbac/v1beta1:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/apis/meta/v1:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/runtime/serializer:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/types:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/watch:go_default_library", + "//vendor/k8s.io/client-go/kubernetes/scheme:go_default_library", + "//vendor/k8s.io/client-go/rest:go_default_library", + ], +) diff --git a/vendor/k8s.io/client-go/kubernetes/typed/scheduling/v1alpha1/BUILD.bazel b/vendor/k8s.io/client-go/kubernetes/typed/scheduling/v1alpha1/BUILD.bazel new file mode 100644 index 00000000..b4ca867d --- /dev/null +++ b/vendor/k8s.io/client-go/kubernetes/typed/scheduling/v1alpha1/BUILD.bazel @@ -0,0 +1,23 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = [ + "doc.go", + "generated_expansion.go", + "priorityclass.go", + "scheduling_client.go", + ], + importmap = "github.com/amaizfinance/redis-operator/vendor/k8s.io/client-go/kubernetes/typed/scheduling/v1alpha1", + importpath = "k8s.io/client-go/kubernetes/typed/scheduling/v1alpha1", + visibility = ["//visibility:public"], + deps = [ + "//vendor/k8s.io/api/scheduling/v1alpha1:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/apis/meta/v1:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/runtime/serializer:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/types:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/watch:go_default_library", + "//vendor/k8s.io/client-go/kubernetes/scheme:go_default_library", + "//vendor/k8s.io/client-go/rest:go_default_library", + ], +) diff --git a/vendor/k8s.io/client-go/kubernetes/typed/scheduling/v1beta1/BUILD.bazel b/vendor/k8s.io/client-go/kubernetes/typed/scheduling/v1beta1/BUILD.bazel new file mode 100644 index 00000000..de58169c --- /dev/null +++ b/vendor/k8s.io/client-go/kubernetes/typed/scheduling/v1beta1/BUILD.bazel @@ -0,0 +1,23 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = [ + "doc.go", + "generated_expansion.go", + "priorityclass.go", + "scheduling_client.go", + ], + importmap = "github.com/amaizfinance/redis-operator/vendor/k8s.io/client-go/kubernetes/typed/scheduling/v1beta1", + importpath = "k8s.io/client-go/kubernetes/typed/scheduling/v1beta1", + visibility = ["//visibility:public"], + deps = [ + "//vendor/k8s.io/api/scheduling/v1beta1:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/apis/meta/v1:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/runtime/serializer:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/types:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/watch:go_default_library", + "//vendor/k8s.io/client-go/kubernetes/scheme:go_default_library", + "//vendor/k8s.io/client-go/rest:go_default_library", + ], +) diff --git a/vendor/k8s.io/client-go/kubernetes/typed/settings/v1alpha1/BUILD.bazel b/vendor/k8s.io/client-go/kubernetes/typed/settings/v1alpha1/BUILD.bazel new file mode 100644 index 00000000..aed1895b --- /dev/null +++ b/vendor/k8s.io/client-go/kubernetes/typed/settings/v1alpha1/BUILD.bazel @@ -0,0 +1,23 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = [ + "doc.go", + "generated_expansion.go", + "podpreset.go", + "settings_client.go", + ], + importmap = "github.com/amaizfinance/redis-operator/vendor/k8s.io/client-go/kubernetes/typed/settings/v1alpha1", + importpath = "k8s.io/client-go/kubernetes/typed/settings/v1alpha1", + visibility = ["//visibility:public"], + deps = [ + "//vendor/k8s.io/api/settings/v1alpha1:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/apis/meta/v1:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/runtime/serializer:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/types:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/watch:go_default_library", + "//vendor/k8s.io/client-go/kubernetes/scheme:go_default_library", + "//vendor/k8s.io/client-go/rest:go_default_library", + ], +) diff --git a/vendor/k8s.io/client-go/kubernetes/typed/storage/v1/BUILD.bazel b/vendor/k8s.io/client-go/kubernetes/typed/storage/v1/BUILD.bazel new file mode 100644 index 00000000..c7600a34 --- /dev/null +++ b/vendor/k8s.io/client-go/kubernetes/typed/storage/v1/BUILD.bazel @@ -0,0 +1,24 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = [ + "doc.go", + "generated_expansion.go", + "storage_client.go", + "storageclass.go", + "volumeattachment.go", + ], + importmap = "github.com/amaizfinance/redis-operator/vendor/k8s.io/client-go/kubernetes/typed/storage/v1", + importpath = "k8s.io/client-go/kubernetes/typed/storage/v1", + visibility = ["//visibility:public"], + deps = [ + "//vendor/k8s.io/api/storage/v1:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/apis/meta/v1:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/runtime/serializer:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/types:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/watch:go_default_library", + "//vendor/k8s.io/client-go/kubernetes/scheme:go_default_library", + "//vendor/k8s.io/client-go/rest:go_default_library", + ], +) diff --git a/vendor/k8s.io/client-go/kubernetes/typed/storage/v1alpha1/BUILD.bazel b/vendor/k8s.io/client-go/kubernetes/typed/storage/v1alpha1/BUILD.bazel new file mode 100644 index 00000000..5388ae44 --- /dev/null +++ b/vendor/k8s.io/client-go/kubernetes/typed/storage/v1alpha1/BUILD.bazel @@ -0,0 +1,23 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = [ + "doc.go", + "generated_expansion.go", + "storage_client.go", + "volumeattachment.go", + ], + importmap = "github.com/amaizfinance/redis-operator/vendor/k8s.io/client-go/kubernetes/typed/storage/v1alpha1", + importpath = "k8s.io/client-go/kubernetes/typed/storage/v1alpha1", + visibility = ["//visibility:public"], + deps = [ + "//vendor/k8s.io/api/storage/v1alpha1:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/apis/meta/v1:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/runtime/serializer:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/types:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/watch:go_default_library", + "//vendor/k8s.io/client-go/kubernetes/scheme:go_default_library", + "//vendor/k8s.io/client-go/rest:go_default_library", + ], +) diff --git a/vendor/k8s.io/client-go/kubernetes/typed/storage/v1beta1/BUILD.bazel b/vendor/k8s.io/client-go/kubernetes/typed/storage/v1beta1/BUILD.bazel new file mode 100644 index 00000000..ead9b1e2 --- /dev/null +++ b/vendor/k8s.io/client-go/kubernetes/typed/storage/v1beta1/BUILD.bazel @@ -0,0 +1,24 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = [ + "doc.go", + "generated_expansion.go", + "storage_client.go", + "storageclass.go", + "volumeattachment.go", + ], + importmap = "github.com/amaizfinance/redis-operator/vendor/k8s.io/client-go/kubernetes/typed/storage/v1beta1", + importpath = "k8s.io/client-go/kubernetes/typed/storage/v1beta1", + visibility = ["//visibility:public"], + deps = [ + "//vendor/k8s.io/api/storage/v1beta1:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/apis/meta/v1:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/runtime/serializer:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/types:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/watch:go_default_library", + "//vendor/k8s.io/client-go/kubernetes/scheme:go_default_library", + "//vendor/k8s.io/client-go/rest:go_default_library", + ], +) diff --git a/vendor/k8s.io/client-go/pkg/apis/clientauthentication/BUILD.bazel b/vendor/k8s.io/client-go/pkg/apis/clientauthentication/BUILD.bazel new file mode 100644 index 00000000..8314ff15 --- /dev/null +++ b/vendor/k8s.io/client-go/pkg/apis/clientauthentication/BUILD.bazel @@ -0,0 +1,19 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = [ + "doc.go", + "register.go", + "types.go", + "zz_generated.deepcopy.go", + ], + importmap = "github.com/amaizfinance/redis-operator/vendor/k8s.io/client-go/pkg/apis/clientauthentication", + importpath = "k8s.io/client-go/pkg/apis/clientauthentication", + visibility = ["//visibility:public"], + deps = [ + "//vendor/k8s.io/apimachinery/pkg/apis/meta/v1:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/runtime:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/runtime/schema:go_default_library", + ], +) diff --git a/vendor/k8s.io/client-go/pkg/apis/clientauthentication/v1alpha1/BUILD.bazel b/vendor/k8s.io/client-go/pkg/apis/clientauthentication/v1alpha1/BUILD.bazel new file mode 100644 index 00000000..b33da145 --- /dev/null +++ b/vendor/k8s.io/client-go/pkg/apis/clientauthentication/v1alpha1/BUILD.bazel @@ -0,0 +1,23 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = [ + "doc.go", + "register.go", + "types.go", + "zz_generated.conversion.go", + "zz_generated.deepcopy.go", + "zz_generated.defaults.go", + ], + importmap = "github.com/amaizfinance/redis-operator/vendor/k8s.io/client-go/pkg/apis/clientauthentication/v1alpha1", + importpath = "k8s.io/client-go/pkg/apis/clientauthentication/v1alpha1", + visibility = ["//visibility:public"], + deps = [ + "//vendor/k8s.io/apimachinery/pkg/apis/meta/v1:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/conversion:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/runtime:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/runtime/schema:go_default_library", + "//vendor/k8s.io/client-go/pkg/apis/clientauthentication:go_default_library", + ], +) diff --git a/vendor/k8s.io/client-go/pkg/apis/clientauthentication/v1beta1/BUILD.bazel b/vendor/k8s.io/client-go/pkg/apis/clientauthentication/v1beta1/BUILD.bazel new file mode 100644 index 00000000..31aec474 --- /dev/null +++ b/vendor/k8s.io/client-go/pkg/apis/clientauthentication/v1beta1/BUILD.bazel @@ -0,0 +1,24 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = [ + "conversion.go", + "doc.go", + "register.go", + "types.go", + "zz_generated.conversion.go", + "zz_generated.deepcopy.go", + "zz_generated.defaults.go", + ], + importmap = "github.com/amaizfinance/redis-operator/vendor/k8s.io/client-go/pkg/apis/clientauthentication/v1beta1", + importpath = "k8s.io/client-go/pkg/apis/clientauthentication/v1beta1", + visibility = ["//visibility:public"], + deps = [ + "//vendor/k8s.io/apimachinery/pkg/apis/meta/v1:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/conversion:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/runtime:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/runtime/schema:go_default_library", + "//vendor/k8s.io/client-go/pkg/apis/clientauthentication:go_default_library", + ], +) diff --git a/vendor/k8s.io/client-go/pkg/version/BUILD.bazel b/vendor/k8s.io/client-go/pkg/version/BUILD.bazel new file mode 100644 index 00000000..792b631f --- /dev/null +++ b/vendor/k8s.io/client-go/pkg/version/BUILD.bazel @@ -0,0 +1,14 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = [ + "base.go", + "doc.go", + "version.go", + ], + importmap = "github.com/amaizfinance/redis-operator/vendor/k8s.io/client-go/pkg/version", + importpath = "k8s.io/client-go/pkg/version", + visibility = ["//visibility:public"], + deps = ["//vendor/k8s.io/apimachinery/pkg/version:go_default_library"], +) diff --git a/vendor/k8s.io/client-go/plugin/pkg/client/auth/BUILD.bazel b/vendor/k8s.io/client-go/plugin/pkg/client/auth/BUILD.bazel new file mode 100644 index 00000000..06588a9d --- /dev/null +++ b/vendor/k8s.io/client-go/plugin/pkg/client/auth/BUILD.bazel @@ -0,0 +1,15 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = ["plugins.go"], + importmap = "github.com/amaizfinance/redis-operator/vendor/k8s.io/client-go/plugin/pkg/client/auth", + importpath = "k8s.io/client-go/plugin/pkg/client/auth", + visibility = ["//visibility:public"], + deps = [ + "//vendor/k8s.io/client-go/plugin/pkg/client/auth/azure:go_default_library", + "//vendor/k8s.io/client-go/plugin/pkg/client/auth/gcp:go_default_library", + "//vendor/k8s.io/client-go/plugin/pkg/client/auth/oidc:go_default_library", + "//vendor/k8s.io/client-go/plugin/pkg/client/auth/openstack:go_default_library", + ], +) diff --git a/vendor/k8s.io/client-go/plugin/pkg/client/auth/azure/BUILD.bazel b/vendor/k8s.io/client-go/plugin/pkg/client/auth/azure/BUILD.bazel new file mode 100644 index 00000000..a77fb17a --- /dev/null +++ b/vendor/k8s.io/client-go/plugin/pkg/client/auth/azure/BUILD.bazel @@ -0,0 +1,17 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = ["azure.go"], + importmap = "github.com/amaizfinance/redis-operator/vendor/k8s.io/client-go/plugin/pkg/client/auth/azure", + importpath = "k8s.io/client-go/plugin/pkg/client/auth/azure", + visibility = ["//visibility:public"], + deps = [ + "//vendor/github.com/Azure/go-autorest/autorest:go_default_library", + "//vendor/github.com/Azure/go-autorest/autorest/adal:go_default_library", + "//vendor/github.com/Azure/go-autorest/autorest/azure:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/util/net:go_default_library", + "//vendor/k8s.io/client-go/rest:go_default_library", + "//vendor/k8s.io/klog:go_default_library", + ], +) diff --git a/vendor/k8s.io/client-go/plugin/pkg/client/auth/exec/BUILD.bazel b/vendor/k8s.io/client-go/plugin/pkg/client/auth/exec/BUILD.bazel new file mode 100644 index 00000000..0e6e1a30 --- /dev/null +++ b/vendor/k8s.io/client-go/plugin/pkg/client/auth/exec/BUILD.bazel @@ -0,0 +1,24 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = ["exec.go"], + importmap = "github.com/amaizfinance/redis-operator/vendor/k8s.io/client-go/plugin/pkg/client/auth/exec", + importpath = "k8s.io/client-go/plugin/pkg/client/auth/exec", + visibility = ["//visibility:public"], + deps = [ + "//vendor/golang.org/x/crypto/ssh/terminal:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/apis/meta/v1:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/runtime:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/runtime/schema:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/runtime/serializer:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/util/runtime:go_default_library", + "//vendor/k8s.io/client-go/pkg/apis/clientauthentication:go_default_library", + "//vendor/k8s.io/client-go/pkg/apis/clientauthentication/v1alpha1:go_default_library", + "//vendor/k8s.io/client-go/pkg/apis/clientauthentication/v1beta1:go_default_library", + "//vendor/k8s.io/client-go/tools/clientcmd/api:go_default_library", + "//vendor/k8s.io/client-go/transport:go_default_library", + "//vendor/k8s.io/client-go/util/connrotation:go_default_library", + "//vendor/k8s.io/klog:go_default_library", + ], +) diff --git a/vendor/k8s.io/client-go/plugin/pkg/client/auth/gcp/BUILD.bazel b/vendor/k8s.io/client-go/plugin/pkg/client/auth/gcp/BUILD.bazel new file mode 100644 index 00000000..3483a0e4 --- /dev/null +++ b/vendor/k8s.io/client-go/plugin/pkg/client/auth/gcp/BUILD.bazel @@ -0,0 +1,18 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = ["gcp.go"], + importmap = "github.com/amaizfinance/redis-operator/vendor/k8s.io/client-go/plugin/pkg/client/auth/gcp", + importpath = "k8s.io/client-go/plugin/pkg/client/auth/gcp", + visibility = ["//visibility:public"], + deps = [ + "//vendor/golang.org/x/oauth2:go_default_library", + "//vendor/golang.org/x/oauth2/google:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/util/net:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/util/yaml:go_default_library", + "//vendor/k8s.io/client-go/rest:go_default_library", + "//vendor/k8s.io/client-go/util/jsonpath:go_default_library", + "//vendor/k8s.io/klog:go_default_library", + ], +) diff --git a/vendor/k8s.io/client-go/plugin/pkg/client/auth/oidc/BUILD.bazel b/vendor/k8s.io/client-go/plugin/pkg/client/auth/oidc/BUILD.bazel new file mode 100644 index 00000000..80300734 --- /dev/null +++ b/vendor/k8s.io/client-go/plugin/pkg/client/auth/oidc/BUILD.bazel @@ -0,0 +1,15 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = ["oidc.go"], + importmap = "github.com/amaizfinance/redis-operator/vendor/k8s.io/client-go/plugin/pkg/client/auth/oidc", + importpath = "k8s.io/client-go/plugin/pkg/client/auth/oidc", + visibility = ["//visibility:public"], + deps = [ + "//vendor/golang.org/x/oauth2:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/util/net:go_default_library", + "//vendor/k8s.io/client-go/rest:go_default_library", + "//vendor/k8s.io/klog:go_default_library", + ], +) diff --git a/vendor/k8s.io/client-go/plugin/pkg/client/auth/openstack/BUILD.bazel b/vendor/k8s.io/client-go/plugin/pkg/client/auth/openstack/BUILD.bazel new file mode 100644 index 00000000..c77d62b0 --- /dev/null +++ b/vendor/k8s.io/client-go/plugin/pkg/client/auth/openstack/BUILD.bazel @@ -0,0 +1,16 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = ["openstack.go"], + importmap = "github.com/amaizfinance/redis-operator/vendor/k8s.io/client-go/plugin/pkg/client/auth/openstack", + importpath = "k8s.io/client-go/plugin/pkg/client/auth/openstack", + visibility = ["//visibility:public"], + deps = [ + "//vendor/github.com/gophercloud/gophercloud:go_default_library", + "//vendor/github.com/gophercloud/gophercloud/openstack:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/util/net:go_default_library", + "//vendor/k8s.io/client-go/rest:go_default_library", + "//vendor/k8s.io/klog:go_default_library", + ], +) diff --git a/vendor/k8s.io/client-go/rest/BUILD.bazel b/vendor/k8s.io/client-go/rest/BUILD.bazel new file mode 100644 index 00000000..d4b0e359 --- /dev/null +++ b/vendor/k8s.io/client-go/rest/BUILD.bazel @@ -0,0 +1,39 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = [ + "client.go", + "config.go", + "plugin.go", + "request.go", + "transport.go", + "url_utils.go", + "urlbackoff.go", + "zz_generated.deepcopy.go", + ], + importmap = "github.com/amaizfinance/redis-operator/vendor/k8s.io/client-go/rest", + importpath = "k8s.io/client-go/rest", + visibility = ["//visibility:public"], + deps = [ + "//vendor/golang.org/x/net/http2:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/api/errors:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/apis/meta/v1:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/runtime:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/runtime/schema:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/runtime/serializer/streaming:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/types:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/util/net:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/util/sets:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/watch:go_default_library", + "//vendor/k8s.io/client-go/pkg/version:go_default_library", + "//vendor/k8s.io/client-go/plugin/pkg/client/auth/exec:go_default_library", + "//vendor/k8s.io/client-go/rest/watch:go_default_library", + "//vendor/k8s.io/client-go/tools/clientcmd/api:go_default_library", + "//vendor/k8s.io/client-go/tools/metrics:go_default_library", + "//vendor/k8s.io/client-go/transport:go_default_library", + "//vendor/k8s.io/client-go/util/cert:go_default_library", + "//vendor/k8s.io/client-go/util/flowcontrol:go_default_library", + "//vendor/k8s.io/klog:go_default_library", + ], +) diff --git a/vendor/k8s.io/client-go/rest/watch/BUILD.bazel b/vendor/k8s.io/client-go/rest/watch/BUILD.bazel new file mode 100644 index 00000000..f86b8ad3 --- /dev/null +++ b/vendor/k8s.io/client-go/rest/watch/BUILD.bazel @@ -0,0 +1,18 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = [ + "decoder.go", + "encoder.go", + ], + importmap = "github.com/amaizfinance/redis-operator/vendor/k8s.io/client-go/rest/watch", + importpath = "k8s.io/client-go/rest/watch", + visibility = ["//visibility:public"], + deps = [ + "//vendor/k8s.io/apimachinery/pkg/apis/meta/v1:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/runtime:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/runtime/serializer/streaming:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/watch:go_default_library", + ], +) diff --git a/vendor/k8s.io/client-go/restmapper/BUILD.bazel b/vendor/k8s.io/client-go/restmapper/BUILD.bazel new file mode 100644 index 00000000..8297d1d6 --- /dev/null +++ b/vendor/k8s.io/client-go/restmapper/BUILD.bazel @@ -0,0 +1,20 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = [ + "category_expansion.go", + "discovery.go", + "shortcut.go", + ], + importmap = "github.com/amaizfinance/redis-operator/vendor/k8s.io/client-go/restmapper", + importpath = "k8s.io/client-go/restmapper", + visibility = ["//visibility:public"], + deps = [ + "//vendor/k8s.io/apimachinery/pkg/api/meta:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/apis/meta/v1:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/runtime/schema:go_default_library", + "//vendor/k8s.io/client-go/discovery:go_default_library", + "//vendor/k8s.io/klog:go_default_library", + ], +) diff --git a/vendor/k8s.io/client-go/third_party/forked/golang/template/BUILD.bazel b/vendor/k8s.io/client-go/third_party/forked/golang/template/BUILD.bazel new file mode 100644 index 00000000..ed7f4a3d --- /dev/null +++ b/vendor/k8s.io/client-go/third_party/forked/golang/template/BUILD.bazel @@ -0,0 +1,12 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = [ + "exec.go", + "funcs.go", + ], + importmap = "github.com/amaizfinance/redis-operator/vendor/k8s.io/client-go/third_party/forked/golang/template", + importpath = "k8s.io/client-go/third_party/forked/golang/template", + visibility = ["//visibility:public"], +) diff --git a/vendor/k8s.io/client-go/tools/auth/BUILD.bazel b/vendor/k8s.io/client-go/tools/auth/BUILD.bazel new file mode 100644 index 00000000..27b673d7 --- /dev/null +++ b/vendor/k8s.io/client-go/tools/auth/BUILD.bazel @@ -0,0 +1,10 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = ["clientauth.go"], + importmap = "github.com/amaizfinance/redis-operator/vendor/k8s.io/client-go/tools/auth", + importpath = "k8s.io/client-go/tools/auth", + visibility = ["//visibility:public"], + deps = ["//vendor/k8s.io/client-go/rest:go_default_library"], +) diff --git a/vendor/k8s.io/client-go/tools/cache/BUILD.bazel b/vendor/k8s.io/client-go/tools/cache/BUILD.bazel new file mode 100644 index 00000000..e1bd2c69 --- /dev/null +++ b/vendor/k8s.io/client-go/tools/cache/BUILD.bazel @@ -0,0 +1,51 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = [ + "controller.go", + "delta_fifo.go", + "doc.go", + "expiration_cache.go", + "expiration_cache_fakes.go", + "fake_custom_store.go", + "fifo.go", + "heap.go", + "index.go", + "listers.go", + "listwatch.go", + "mutation_cache.go", + "mutation_detector.go", + "reflector.go", + "reflector_metrics.go", + "shared_informer.go", + "store.go", + "thread_safe_store.go", + "undelta_store.go", + ], + importmap = "github.com/amaizfinance/redis-operator/vendor/k8s.io/client-go/tools/cache", + importpath = "k8s.io/client-go/tools/cache", + visibility = ["//visibility:public"], + deps = [ + "//vendor/k8s.io/apimachinery/pkg/api/errors:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/api/meta:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/apis/meta/v1:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/fields:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/labels:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/runtime:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/runtime/schema:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/util/cache:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/util/clock:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/util/diff:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/util/naming:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/util/runtime:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/util/sets:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/util/wait:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/watch:go_default_library", + "//vendor/k8s.io/client-go/rest:go_default_library", + "//vendor/k8s.io/client-go/tools/pager:go_default_library", + "//vendor/k8s.io/client-go/util/buffer:go_default_library", + "//vendor/k8s.io/client-go/util/retry:go_default_library", + "//vendor/k8s.io/klog:go_default_library", + ], +) diff --git a/vendor/k8s.io/client-go/tools/clientcmd/BUILD.bazel b/vendor/k8s.io/client-go/tools/clientcmd/BUILD.bazel new file mode 100644 index 00000000..d6249298 --- /dev/null +++ b/vendor/k8s.io/client-go/tools/clientcmd/BUILD.bazel @@ -0,0 +1,35 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = [ + "auth_loaders.go", + "client_config.go", + "config.go", + "doc.go", + "flag.go", + "helpers.go", + "loader.go", + "merged_client_builder.go", + "overrides.go", + "validation.go", + ], + importmap = "github.com/amaizfinance/redis-operator/vendor/k8s.io/client-go/tools/clientcmd", + importpath = "k8s.io/client-go/tools/clientcmd", + visibility = ["//visibility:public"], + deps = [ + "//vendor/github.com/imdario/mergo:go_default_library", + "//vendor/github.com/spf13/pflag:go_default_library", + "//vendor/golang.org/x/crypto/ssh/terminal:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/runtime:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/runtime/schema:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/util/errors:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/util/validation:go_default_library", + "//vendor/k8s.io/client-go/rest:go_default_library", + "//vendor/k8s.io/client-go/tools/auth:go_default_library", + "//vendor/k8s.io/client-go/tools/clientcmd/api:go_default_library", + "//vendor/k8s.io/client-go/tools/clientcmd/api/latest:go_default_library", + "//vendor/k8s.io/client-go/util/homedir:go_default_library", + "//vendor/k8s.io/klog:go_default_library", + ], +) diff --git a/vendor/k8s.io/client-go/tools/clientcmd/api/BUILD.bazel b/vendor/k8s.io/client-go/tools/clientcmd/api/BUILD.bazel new file mode 100644 index 00000000..20a9cf1d --- /dev/null +++ b/vendor/k8s.io/client-go/tools/clientcmd/api/BUILD.bazel @@ -0,0 +1,19 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = [ + "doc.go", + "helpers.go", + "register.go", + "types.go", + "zz_generated.deepcopy.go", + ], + importmap = "github.com/amaizfinance/redis-operator/vendor/k8s.io/client-go/tools/clientcmd/api", + importpath = "k8s.io/client-go/tools/clientcmd/api", + visibility = ["//visibility:public"], + deps = [ + "//vendor/k8s.io/apimachinery/pkg/runtime:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/runtime/schema:go_default_library", + ], +) diff --git a/vendor/k8s.io/client-go/tools/clientcmd/api/latest/BUILD.bazel b/vendor/k8s.io/client-go/tools/clientcmd/api/latest/BUILD.bazel new file mode 100644 index 00000000..d0b244b2 --- /dev/null +++ b/vendor/k8s.io/client-go/tools/clientcmd/api/latest/BUILD.bazel @@ -0,0 +1,18 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = ["latest.go"], + importmap = "github.com/amaizfinance/redis-operator/vendor/k8s.io/client-go/tools/clientcmd/api/latest", + importpath = "k8s.io/client-go/tools/clientcmd/api/latest", + visibility = ["//visibility:public"], + deps = [ + "//vendor/k8s.io/apimachinery/pkg/runtime:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/runtime/schema:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/runtime/serializer/json:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/runtime/serializer/versioning:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/util/runtime:go_default_library", + "//vendor/k8s.io/client-go/tools/clientcmd/api:go_default_library", + "//vendor/k8s.io/client-go/tools/clientcmd/api/v1:go_default_library", + ], +) diff --git a/vendor/k8s.io/client-go/tools/clientcmd/api/v1/BUILD.bazel b/vendor/k8s.io/client-go/tools/clientcmd/api/v1/BUILD.bazel new file mode 100644 index 00000000..af90cf40 --- /dev/null +++ b/vendor/k8s.io/client-go/tools/clientcmd/api/v1/BUILD.bazel @@ -0,0 +1,21 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = [ + "conversion.go", + "doc.go", + "register.go", + "types.go", + "zz_generated.deepcopy.go", + ], + importmap = "github.com/amaizfinance/redis-operator/vendor/k8s.io/client-go/tools/clientcmd/api/v1", + importpath = "k8s.io/client-go/tools/clientcmd/api/v1", + visibility = ["//visibility:public"], + deps = [ + "//vendor/k8s.io/apimachinery/pkg/conversion:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/runtime:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/runtime/schema:go_default_library", + "//vendor/k8s.io/client-go/tools/clientcmd/api:go_default_library", + ], +) diff --git a/vendor/k8s.io/client-go/tools/leaderelection/BUILD.bazel b/vendor/k8s.io/client-go/tools/leaderelection/BUILD.bazel new file mode 100644 index 00000000..8034e8a0 --- /dev/null +++ b/vendor/k8s.io/client-go/tools/leaderelection/BUILD.bazel @@ -0,0 +1,21 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = [ + "healthzadaptor.go", + "leaderelection.go", + ], + importmap = "github.com/amaizfinance/redis-operator/vendor/k8s.io/client-go/tools/leaderelection", + importpath = "k8s.io/client-go/tools/leaderelection", + visibility = ["//visibility:public"], + deps = [ + "//vendor/k8s.io/apimachinery/pkg/api/errors:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/apis/meta/v1:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/util/clock:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/util/runtime:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/util/wait:go_default_library", + "//vendor/k8s.io/client-go/tools/leaderelection/resourcelock:go_default_library", + "//vendor/k8s.io/klog:go_default_library", + ], +) diff --git a/vendor/k8s.io/client-go/tools/leaderelection/resourcelock/BUILD.bazel b/vendor/k8s.io/client-go/tools/leaderelection/resourcelock/BUILD.bazel new file mode 100644 index 00000000..51859bed --- /dev/null +++ b/vendor/k8s.io/client-go/tools/leaderelection/resourcelock/BUILD.bazel @@ -0,0 +1,19 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = [ + "configmaplock.go", + "endpointslock.go", + "interface.go", + ], + importmap = "github.com/amaizfinance/redis-operator/vendor/k8s.io/client-go/tools/leaderelection/resourcelock", + importpath = "k8s.io/client-go/tools/leaderelection/resourcelock", + visibility = ["//visibility:public"], + deps = [ + "//vendor/k8s.io/api/core/v1:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/apis/meta/v1:go_default_library", + "//vendor/k8s.io/client-go/kubernetes/typed/core/v1:go_default_library", + "//vendor/k8s.io/client-go/tools/record:go_default_library", + ], +) diff --git a/vendor/k8s.io/client-go/tools/metrics/BUILD.bazel b/vendor/k8s.io/client-go/tools/metrics/BUILD.bazel new file mode 100644 index 00000000..9c19e38e --- /dev/null +++ b/vendor/k8s.io/client-go/tools/metrics/BUILD.bazel @@ -0,0 +1,9 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = ["metrics.go"], + importmap = "github.com/amaizfinance/redis-operator/vendor/k8s.io/client-go/tools/metrics", + importpath = "k8s.io/client-go/tools/metrics", + visibility = ["//visibility:public"], +) diff --git a/vendor/k8s.io/client-go/tools/pager/BUILD.bazel b/vendor/k8s.io/client-go/tools/pager/BUILD.bazel new file mode 100644 index 00000000..7ad3b466 --- /dev/null +++ b/vendor/k8s.io/client-go/tools/pager/BUILD.bazel @@ -0,0 +1,16 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = ["pager.go"], + importmap = "github.com/amaizfinance/redis-operator/vendor/k8s.io/client-go/tools/pager", + importpath = "k8s.io/client-go/tools/pager", + visibility = ["//visibility:public"], + deps = [ + "//vendor/k8s.io/apimachinery/pkg/api/errors:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/api/meta:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/apis/meta/internalversion:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/apis/meta/v1:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/runtime:go_default_library", + ], +) diff --git a/vendor/k8s.io/client-go/tools/record/BUILD.bazel b/vendor/k8s.io/client-go/tools/record/BUILD.bazel new file mode 100644 index 00000000..3a945de4 --- /dev/null +++ b/vendor/k8s.io/client-go/tools/record/BUILD.bazel @@ -0,0 +1,30 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = [ + "doc.go", + "event.go", + "events_cache.go", + "fake.go", + ], + importmap = "github.com/amaizfinance/redis-operator/vendor/k8s.io/client-go/tools/record", + importpath = "k8s.io/client-go/tools/record", + visibility = ["//visibility:public"], + deps = [ + "//vendor/github.com/golang/groupcache/lru:go_default_library", + "//vendor/k8s.io/api/core/v1:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/api/errors:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/apis/meta/v1:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/runtime:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/util/clock:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/util/runtime:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/util/sets:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/util/strategicpatch:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/watch:go_default_library", + "//vendor/k8s.io/client-go/rest:go_default_library", + "//vendor/k8s.io/client-go/tools/reference:go_default_library", + "//vendor/k8s.io/client-go/util/flowcontrol:go_default_library", + "//vendor/k8s.io/klog:go_default_library", + ], +) diff --git a/vendor/k8s.io/client-go/tools/reference/BUILD.bazel b/vendor/k8s.io/client-go/tools/reference/BUILD.bazel new file mode 100644 index 00000000..92128c13 --- /dev/null +++ b/vendor/k8s.io/client-go/tools/reference/BUILD.bazel @@ -0,0 +1,15 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = ["ref.go"], + importmap = "github.com/amaizfinance/redis-operator/vendor/k8s.io/client-go/tools/reference", + importpath = "k8s.io/client-go/tools/reference", + visibility = ["//visibility:public"], + deps = [ + "//vendor/k8s.io/api/core/v1:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/api/meta:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/apis/meta/v1:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/runtime:go_default_library", + ], +) diff --git a/vendor/k8s.io/client-go/transport/BUILD.bazel b/vendor/k8s.io/client-go/transport/BUILD.bazel new file mode 100644 index 00000000..beee5017 --- /dev/null +++ b/vendor/k8s.io/client-go/transport/BUILD.bazel @@ -0,0 +1,20 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = [ + "cache.go", + "config.go", + "round_trippers.go", + "token_source.go", + "transport.go", + ], + importmap = "github.com/amaizfinance/redis-operator/vendor/k8s.io/client-go/transport", + importpath = "k8s.io/client-go/transport", + visibility = ["//visibility:public"], + deps = [ + "//vendor/golang.org/x/oauth2:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/util/net:go_default_library", + "//vendor/k8s.io/klog:go_default_library", + ], +) diff --git a/vendor/k8s.io/client-go/util/buffer/BUILD.bazel b/vendor/k8s.io/client-go/util/buffer/BUILD.bazel new file mode 100644 index 00000000..2efa1f8d --- /dev/null +++ b/vendor/k8s.io/client-go/util/buffer/BUILD.bazel @@ -0,0 +1,9 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = ["ring_growing.go"], + importmap = "github.com/amaizfinance/redis-operator/vendor/k8s.io/client-go/util/buffer", + importpath = "k8s.io/client-go/util/buffer", + visibility = ["//visibility:public"], +) diff --git a/vendor/k8s.io/client-go/util/cert/BUILD.bazel b/vendor/k8s.io/client-go/util/cert/BUILD.bazel new file mode 100644 index 00000000..054cb76e --- /dev/null +++ b/vendor/k8s.io/client-go/util/cert/BUILD.bazel @@ -0,0 +1,14 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = [ + "cert.go", + "csr.go", + "io.go", + "pem.go", + ], + importmap = "github.com/amaizfinance/redis-operator/vendor/k8s.io/client-go/util/cert", + importpath = "k8s.io/client-go/util/cert", + visibility = ["//visibility:public"], +) diff --git a/vendor/k8s.io/client-go/util/connrotation/BUILD.bazel b/vendor/k8s.io/client-go/util/connrotation/BUILD.bazel new file mode 100644 index 00000000..4fb41e1b --- /dev/null +++ b/vendor/k8s.io/client-go/util/connrotation/BUILD.bazel @@ -0,0 +1,9 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = ["connrotation.go"], + importmap = "github.com/amaizfinance/redis-operator/vendor/k8s.io/client-go/util/connrotation", + importpath = "k8s.io/client-go/util/connrotation", + visibility = ["//visibility:public"], +) diff --git a/vendor/k8s.io/client-go/util/flowcontrol/BUILD.bazel b/vendor/k8s.io/client-go/util/flowcontrol/BUILD.bazel new file mode 100644 index 00000000..1551fdcb --- /dev/null +++ b/vendor/k8s.io/client-go/util/flowcontrol/BUILD.bazel @@ -0,0 +1,17 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = [ + "backoff.go", + "throttle.go", + ], + importmap = "github.com/amaizfinance/redis-operator/vendor/k8s.io/client-go/util/flowcontrol", + importpath = "k8s.io/client-go/util/flowcontrol", + visibility = ["//visibility:public"], + deps = [ + "//vendor/golang.org/x/time/rate:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/util/clock:go_default_library", + "//vendor/k8s.io/client-go/util/integer:go_default_library", + ], +) diff --git a/vendor/k8s.io/client-go/util/homedir/BUILD.bazel b/vendor/k8s.io/client-go/util/homedir/BUILD.bazel new file mode 100644 index 00000000..60f831cb --- /dev/null +++ b/vendor/k8s.io/client-go/util/homedir/BUILD.bazel @@ -0,0 +1,9 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = ["homedir.go"], + importmap = "github.com/amaizfinance/redis-operator/vendor/k8s.io/client-go/util/homedir", + importpath = "k8s.io/client-go/util/homedir", + visibility = ["//visibility:public"], +) diff --git a/vendor/k8s.io/client-go/util/integer/BUILD.bazel b/vendor/k8s.io/client-go/util/integer/BUILD.bazel new file mode 100644 index 00000000..a76d631a --- /dev/null +++ b/vendor/k8s.io/client-go/util/integer/BUILD.bazel @@ -0,0 +1,9 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = ["integer.go"], + importmap = "github.com/amaizfinance/redis-operator/vendor/k8s.io/client-go/util/integer", + importpath = "k8s.io/client-go/util/integer", + visibility = ["//visibility:public"], +) diff --git a/vendor/k8s.io/client-go/util/jsonpath/BUILD.bazel b/vendor/k8s.io/client-go/util/jsonpath/BUILD.bazel new file mode 100644 index 00000000..b22f62f1 --- /dev/null +++ b/vendor/k8s.io/client-go/util/jsonpath/BUILD.bazel @@ -0,0 +1,15 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = [ + "doc.go", + "jsonpath.go", + "node.go", + "parser.go", + ], + importmap = "github.com/amaizfinance/redis-operator/vendor/k8s.io/client-go/util/jsonpath", + importpath = "k8s.io/client-go/util/jsonpath", + visibility = ["//visibility:public"], + deps = ["//vendor/k8s.io/client-go/third_party/forked/golang/template:go_default_library"], +) diff --git a/vendor/k8s.io/client-go/util/retry/BUILD.bazel b/vendor/k8s.io/client-go/util/retry/BUILD.bazel new file mode 100644 index 00000000..ca134997 --- /dev/null +++ b/vendor/k8s.io/client-go/util/retry/BUILD.bazel @@ -0,0 +1,13 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = ["util.go"], + importmap = "github.com/amaizfinance/redis-operator/vendor/k8s.io/client-go/util/retry", + importpath = "k8s.io/client-go/util/retry", + visibility = ["//visibility:public"], + deps = [ + "//vendor/k8s.io/apimachinery/pkg/api/errors:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/util/wait:go_default_library", + ], +) diff --git a/vendor/k8s.io/client-go/util/workqueue/BUILD.bazel b/vendor/k8s.io/client-go/util/workqueue/BUILD.bazel new file mode 100644 index 00000000..c20c1310 --- /dev/null +++ b/vendor/k8s.io/client-go/util/workqueue/BUILD.bazel @@ -0,0 +1,22 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = [ + "default_rate_limiters.go", + "delaying_queue.go", + "doc.go", + "metrics.go", + "parallelizer.go", + "queue.go", + "rate_limitting_queue.go", + ], + importmap = "github.com/amaizfinance/redis-operator/vendor/k8s.io/client-go/util/workqueue", + importpath = "k8s.io/client-go/util/workqueue", + visibility = ["//visibility:public"], + deps = [ + "//vendor/golang.org/x/time/rate:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/util/clock:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/util/runtime:go_default_library", + ], +) diff --git a/vendor/k8s.io/gengo/args/BUILD.bazel b/vendor/k8s.io/gengo/args/BUILD.bazel new file mode 100644 index 00000000..78df0793 --- /dev/null +++ b/vendor/k8s.io/gengo/args/BUILD.bazel @@ -0,0 +1,16 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = ["args.go"], + importmap = "github.com/amaizfinance/redis-operator/vendor/k8s.io/gengo/args", + importpath = "k8s.io/gengo/args", + visibility = ["//visibility:public"], + deps = [ + "//vendor/github.com/spf13/pflag:go_default_library", + "//vendor/k8s.io/gengo/generator:go_default_library", + "//vendor/k8s.io/gengo/namer:go_default_library", + "//vendor/k8s.io/gengo/parser:go_default_library", + "//vendor/k8s.io/gengo/types:go_default_library", + ], +) diff --git a/vendor/k8s.io/gengo/generator/BUILD.bazel b/vendor/k8s.io/gengo/generator/BUILD.bazel new file mode 100644 index 00000000..ea76946a --- /dev/null +++ b/vendor/k8s.io/gengo/generator/BUILD.bazel @@ -0,0 +1,25 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = [ + "default_generator.go", + "default_package.go", + "doc.go", + "error_tracker.go", + "execute.go", + "generator.go", + "import_tracker.go", + "snippet_writer.go", + ], + importmap = "github.com/amaizfinance/redis-operator/vendor/k8s.io/gengo/generator", + importpath = "k8s.io/gengo/generator", + visibility = ["//visibility:public"], + deps = [ + "//vendor/golang.org/x/tools/imports:go_default_library", + "//vendor/k8s.io/gengo/namer:go_default_library", + "//vendor/k8s.io/gengo/parser:go_default_library", + "//vendor/k8s.io/gengo/types:go_default_library", + "//vendor/k8s.io/klog:go_default_library", + ], +) diff --git a/vendor/k8s.io/gengo/namer/BUILD.bazel b/vendor/k8s.io/gengo/namer/BUILD.bazel new file mode 100644 index 00000000..e2d1813a --- /dev/null +++ b/vendor/k8s.io/gengo/namer/BUILD.bazel @@ -0,0 +1,16 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = [ + "doc.go", + "import_tracker.go", + "namer.go", + "order.go", + "plural_namer.go", + ], + importmap = "github.com/amaizfinance/redis-operator/vendor/k8s.io/gengo/namer", + importpath = "k8s.io/gengo/namer", + visibility = ["//visibility:public"], + deps = ["//vendor/k8s.io/gengo/types:go_default_library"], +) diff --git a/vendor/k8s.io/gengo/parser/BUILD.bazel b/vendor/k8s.io/gengo/parser/BUILD.bazel new file mode 100644 index 00000000..75a6bef8 --- /dev/null +++ b/vendor/k8s.io/gengo/parser/BUILD.bazel @@ -0,0 +1,16 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = [ + "doc.go", + "parse.go", + ], + importmap = "github.com/amaizfinance/redis-operator/vendor/k8s.io/gengo/parser", + importpath = "k8s.io/gengo/parser", + visibility = ["//visibility:public"], + deps = [ + "//vendor/k8s.io/gengo/types:go_default_library", + "//vendor/k8s.io/klog:go_default_library", + ], +) diff --git a/vendor/k8s.io/gengo/types/BUILD.bazel b/vendor/k8s.io/gengo/types/BUILD.bazel new file mode 100644 index 00000000..47822dd8 --- /dev/null +++ b/vendor/k8s.io/gengo/types/BUILD.bazel @@ -0,0 +1,14 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = [ + "comments.go", + "doc.go", + "flatten.go", + "types.go", + ], + importmap = "github.com/amaizfinance/redis-operator/vendor/k8s.io/gengo/types", + importpath = "k8s.io/gengo/types", + visibility = ["//visibility:public"], +) diff --git a/vendor/k8s.io/klog/BUILD.bazel b/vendor/k8s.io/klog/BUILD.bazel new file mode 100644 index 00000000..9cd4b3cb --- /dev/null +++ b/vendor/k8s.io/klog/BUILD.bazel @@ -0,0 +1,12 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = [ + "klog.go", + "klog_file.go", + ], + importmap = "github.com/amaizfinance/redis-operator/vendor/k8s.io/klog", + importpath = "k8s.io/klog", + visibility = ["//visibility:public"], +) diff --git a/vendor/k8s.io/kube-openapi/pkg/common/BUILD.bazel b/vendor/k8s.io/kube-openapi/pkg/common/BUILD.bazel new file mode 100644 index 00000000..573e124f --- /dev/null +++ b/vendor/k8s.io/kube-openapi/pkg/common/BUILD.bazel @@ -0,0 +1,16 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = [ + "common.go", + "doc.go", + ], + importmap = "github.com/amaizfinance/redis-operator/vendor/k8s.io/kube-openapi/pkg/common", + importpath = "k8s.io/kube-openapi/pkg/common", + visibility = ["//visibility:public"], + deps = [ + "//vendor/github.com/emicklei/go-restful:go_default_library", + "//vendor/github.com/go-openapi/spec:go_default_library", + ], +) diff --git a/vendor/k8s.io/kube-openapi/pkg/util/proto/BUILD.bazel b/vendor/k8s.io/kube-openapi/pkg/util/proto/BUILD.bazel new file mode 100644 index 00000000..5b074433 --- /dev/null +++ b/vendor/k8s.io/kube-openapi/pkg/util/proto/BUILD.bazel @@ -0,0 +1,17 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = [ + "doc.go", + "document.go", + "openapi.go", + ], + importmap = "github.com/amaizfinance/redis-operator/vendor/k8s.io/kube-openapi/pkg/util/proto", + importpath = "k8s.io/kube-openapi/pkg/util/proto", + visibility = ["//visibility:public"], + deps = [ + "//vendor/github.com/googleapis/gnostic/OpenAPIv2:go_default_library", + "//vendor/gopkg.in/yaml.v2:go_default_library", + ], +) diff --git a/vendor/k8s.io/kube-state-metrics/pkg/collector/BUILD.bazel b/vendor/k8s.io/kube-state-metrics/pkg/collector/BUILD.bazel new file mode 100644 index 00000000..4c1621d7 --- /dev/null +++ b/vendor/k8s.io/kube-state-metrics/pkg/collector/BUILD.bazel @@ -0,0 +1,9 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = ["collector.go"], + importmap = "github.com/amaizfinance/redis-operator/vendor/k8s.io/kube-state-metrics/pkg/collector", + importpath = "k8s.io/kube-state-metrics/pkg/collector", + visibility = ["//visibility:public"], +) diff --git a/vendor/k8s.io/kube-state-metrics/pkg/metric/BUILD.bazel b/vendor/k8s.io/kube-state-metrics/pkg/metric/BUILD.bazel new file mode 100644 index 00000000..46c45b56 --- /dev/null +++ b/vendor/k8s.io/kube-state-metrics/pkg/metric/BUILD.bazel @@ -0,0 +1,14 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = [ + "family.go", + "generator.go", + "metric.go", + ], + importmap = "github.com/amaizfinance/redis-operator/vendor/k8s.io/kube-state-metrics/pkg/metric", + importpath = "k8s.io/kube-state-metrics/pkg/metric", + visibility = ["//visibility:public"], + deps = ["//vendor/k8s.io/kube-state-metrics/pkg/metrics_store:go_default_library"], +) diff --git a/vendor/k8s.io/kube-state-metrics/pkg/metrics_store/BUILD.bazel b/vendor/k8s.io/kube-state-metrics/pkg/metrics_store/BUILD.bazel new file mode 100644 index 00000000..d1ced0f9 --- /dev/null +++ b/vendor/k8s.io/kube-state-metrics/pkg/metrics_store/BUILD.bazel @@ -0,0 +1,13 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = ["metrics_store.go"], + importmap = "github.com/amaizfinance/redis-operator/vendor/k8s.io/kube-state-metrics/pkg/metrics_store", + importpath = "k8s.io/kube-state-metrics/pkg/metrics_store", + visibility = ["//visibility:public"], + deps = [ + "//vendor/k8s.io/apimachinery/pkg/api/meta:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/types:go_default_library", + ], +) diff --git a/vendor/modules.txt b/vendor/modules.txt index 8bbf71e9..c0fe4ade 100644 --- a/vendor/modules.txt +++ b/vendor/modules.txt @@ -52,7 +52,7 @@ github.com/go-openapi/jsonreference github.com/go-openapi/spec # github.com/go-openapi/swag v0.19.0 github.com/go-openapi/swag -# github.com/go-redis/redis v6.15.2+incompatible +# github.com/go-redis/redis v0.0.0-20190813142431-c5c4ad6a4cae github.com/go-redis/redis github.com/go-redis/redis/internal github.com/go-redis/redis/internal/consistenthash @@ -126,7 +126,7 @@ github.com/matttproud/golang_protobuf_extensions/pbutil github.com/modern-go/concurrent # github.com/modern-go/reflect2 v1.0.1 github.com/modern-go/reflect2 -# github.com/operator-framework/operator-sdk v0.9.1-0.20190712203509-e1d904fa80a4 => github.com/operator-framework/operator-sdk v0.9.0 +# github.com/operator-framework/operator-sdk v0.10.0 github.com/operator-framework/operator-sdk/pkg/k8sutil github.com/operator-framework/operator-sdk/pkg/kube-metrics github.com/operator-framework/operator-sdk/pkg/leader diff --git a/vendor/sigs.k8s.io/controller-runtime/pkg/cache/BUILD.bazel b/vendor/sigs.k8s.io/controller-runtime/pkg/cache/BUILD.bazel new file mode 100644 index 00000000..eb9119ba --- /dev/null +++ b/vendor/sigs.k8s.io/controller-runtime/pkg/cache/BUILD.bazel @@ -0,0 +1,25 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = [ + "cache.go", + "informer_cache.go", + ], + importmap = "github.com/amaizfinance/redis-operator/vendor/sigs.k8s.io/controller-runtime/pkg/cache", + importpath = "sigs.k8s.io/controller-runtime/pkg/cache", + visibility = ["//visibility:public"], + deps = [ + "//vendor/k8s.io/apimachinery/pkg/api/meta:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/apis/meta/v1/unstructured:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/runtime:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/runtime/schema:go_default_library", + "//vendor/k8s.io/client-go/kubernetes/scheme:go_default_library", + "//vendor/k8s.io/client-go/rest:go_default_library", + "//vendor/k8s.io/client-go/tools/cache:go_default_library", + "//vendor/sigs.k8s.io/controller-runtime/pkg/cache/internal:go_default_library", + "//vendor/sigs.k8s.io/controller-runtime/pkg/client:go_default_library", + "//vendor/sigs.k8s.io/controller-runtime/pkg/client/apiutil:go_default_library", + "//vendor/sigs.k8s.io/controller-runtime/pkg/runtime/log:go_default_library", + ], +) diff --git a/vendor/sigs.k8s.io/controller-runtime/pkg/cache/internal/BUILD.bazel b/vendor/sigs.k8s.io/controller-runtime/pkg/cache/internal/BUILD.bazel new file mode 100644 index 00000000..bb1988d1 --- /dev/null +++ b/vendor/sigs.k8s.io/controller-runtime/pkg/cache/internal/BUILD.bazel @@ -0,0 +1,32 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = [ + "cache_reader.go", + "deleg_map.go", + "informers_map.go", + ], + importmap = "github.com/amaizfinance/redis-operator/vendor/sigs.k8s.io/controller-runtime/pkg/cache/internal", + importpath = "sigs.k8s.io/controller-runtime/pkg/cache/internal", + visibility = ["//visibility:public"], + deps = [ + "//vendor/k8s.io/apimachinery/pkg/api/errors:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/api/meta:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/apis/meta/v1:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/apis/meta/v1/unstructured:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/fields:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/labels:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/runtime:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/runtime/schema:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/runtime/serializer:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/selection:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/watch:go_default_library", + "//vendor/k8s.io/client-go/dynamic:go_default_library", + "//vendor/k8s.io/client-go/rest:go_default_library", + "//vendor/k8s.io/client-go/tools/cache:go_default_library", + "//vendor/sigs.k8s.io/controller-runtime/pkg/client:go_default_library", + "//vendor/sigs.k8s.io/controller-runtime/pkg/client/apiutil:go_default_library", + "//vendor/sigs.k8s.io/controller-runtime/pkg/internal/objectutil:go_default_library", + ], +) diff --git a/vendor/sigs.k8s.io/controller-runtime/pkg/client/BUILD.bazel b/vendor/sigs.k8s.io/controller-runtime/pkg/client/BUILD.bazel new file mode 100644 index 00000000..4cc0b5a0 --- /dev/null +++ b/vendor/sigs.k8s.io/controller-runtime/pkg/client/BUILD.bazel @@ -0,0 +1,31 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = [ + "client.go", + "client_cache.go", + "interfaces.go", + "split.go", + "typed_client.go", + "unstructured_client.go", + ], + importmap = "github.com/amaizfinance/redis-operator/vendor/sigs.k8s.io/controller-runtime/pkg/client", + importpath = "sigs.k8s.io/controller-runtime/pkg/client", + visibility = ["//visibility:public"], + deps = [ + "//vendor/k8s.io/apimachinery/pkg/api/meta:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/apis/meta/v1:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/apis/meta/v1/unstructured:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/fields:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/labels:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/runtime:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/runtime/schema:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/runtime/serializer:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/types:go_default_library", + "//vendor/k8s.io/client-go/dynamic:go_default_library", + "//vendor/k8s.io/client-go/kubernetes/scheme:go_default_library", + "//vendor/k8s.io/client-go/rest:go_default_library", + "//vendor/sigs.k8s.io/controller-runtime/pkg/client/apiutil:go_default_library", + ], +) diff --git a/vendor/sigs.k8s.io/controller-runtime/pkg/client/apiutil/BUILD.bazel b/vendor/sigs.k8s.io/controller-runtime/pkg/client/apiutil/BUILD.bazel new file mode 100644 index 00000000..2bbf8366 --- /dev/null +++ b/vendor/sigs.k8s.io/controller-runtime/pkg/client/apiutil/BUILD.bazel @@ -0,0 +1,18 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = ["apimachinery.go"], + importmap = "github.com/amaizfinance/redis-operator/vendor/sigs.k8s.io/controller-runtime/pkg/client/apiutil", + importpath = "sigs.k8s.io/controller-runtime/pkg/client/apiutil", + visibility = ["//visibility:public"], + deps = [ + "//vendor/k8s.io/apimachinery/pkg/api/meta:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/runtime:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/runtime/schema:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/runtime/serializer:go_default_library", + "//vendor/k8s.io/client-go/discovery:go_default_library", + "//vendor/k8s.io/client-go/rest:go_default_library", + "//vendor/k8s.io/client-go/restmapper:go_default_library", + ], +) diff --git a/vendor/sigs.k8s.io/controller-runtime/pkg/client/config/BUILD.bazel b/vendor/sigs.k8s.io/controller-runtime/pkg/client/config/BUILD.bazel new file mode 100644 index 00000000..b5829439 --- /dev/null +++ b/vendor/sigs.k8s.io/controller-runtime/pkg/client/config/BUILD.bazel @@ -0,0 +1,17 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = [ + "config.go", + "doc.go", + ], + importmap = "github.com/amaizfinance/redis-operator/vendor/sigs.k8s.io/controller-runtime/pkg/client/config", + importpath = "sigs.k8s.io/controller-runtime/pkg/client/config", + visibility = ["//visibility:public"], + deps = [ + "//vendor/k8s.io/client-go/rest:go_default_library", + "//vendor/k8s.io/client-go/tools/clientcmd:go_default_library", + "//vendor/sigs.k8s.io/controller-runtime/pkg/runtime/log:go_default_library", + ], +) diff --git a/vendor/sigs.k8s.io/controller-runtime/pkg/controller/BUILD.bazel b/vendor/sigs.k8s.io/controller-runtime/pkg/controller/BUILD.bazel new file mode 100644 index 00000000..36cd02d6 --- /dev/null +++ b/vendor/sigs.k8s.io/controller-runtime/pkg/controller/BUILD.bazel @@ -0,0 +1,21 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = [ + "controller.go", + "doc.go", + ], + importmap = "github.com/amaizfinance/redis-operator/vendor/sigs.k8s.io/controller-runtime/pkg/controller", + importpath = "sigs.k8s.io/controller-runtime/pkg/controller", + visibility = ["//visibility:public"], + deps = [ + "//vendor/k8s.io/client-go/util/workqueue:go_default_library", + "//vendor/sigs.k8s.io/controller-runtime/pkg/handler:go_default_library", + "//vendor/sigs.k8s.io/controller-runtime/pkg/internal/controller:go_default_library", + "//vendor/sigs.k8s.io/controller-runtime/pkg/manager:go_default_library", + "//vendor/sigs.k8s.io/controller-runtime/pkg/predicate:go_default_library", + "//vendor/sigs.k8s.io/controller-runtime/pkg/reconcile:go_default_library", + "//vendor/sigs.k8s.io/controller-runtime/pkg/source:go_default_library", + ], +) diff --git a/vendor/sigs.k8s.io/controller-runtime/pkg/controller/controllerutil/BUILD.bazel b/vendor/sigs.k8s.io/controller-runtime/pkg/controller/controllerutil/BUILD.bazel new file mode 100644 index 00000000..3ce352c3 --- /dev/null +++ b/vendor/sigs.k8s.io/controller-runtime/pkg/controller/controllerutil/BUILD.bazel @@ -0,0 +1,20 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = [ + "controllerutil.go", + "doc.go", + ], + importmap = "github.com/amaizfinance/redis-operator/vendor/sigs.k8s.io/controller-runtime/pkg/controller/controllerutil", + importpath = "sigs.k8s.io/controller-runtime/pkg/controller/controllerutil", + visibility = ["//visibility:public"], + deps = [ + "//vendor/k8s.io/apimachinery/pkg/api/errors:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/apis/meta/v1:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/runtime:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/runtime/schema:go_default_library", + "//vendor/sigs.k8s.io/controller-runtime/pkg/client:go_default_library", + "//vendor/sigs.k8s.io/controller-runtime/pkg/client/apiutil:go_default_library", + ], +) diff --git a/vendor/sigs.k8s.io/controller-runtime/pkg/event/BUILD.bazel b/vendor/sigs.k8s.io/controller-runtime/pkg/event/BUILD.bazel new file mode 100644 index 00000000..0ea7fa8f --- /dev/null +++ b/vendor/sigs.k8s.io/controller-runtime/pkg/event/BUILD.bazel @@ -0,0 +1,16 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = [ + "doc.go", + "event.go", + ], + importmap = "github.com/amaizfinance/redis-operator/vendor/sigs.k8s.io/controller-runtime/pkg/event", + importpath = "sigs.k8s.io/controller-runtime/pkg/event", + visibility = ["//visibility:public"], + deps = [ + "//vendor/k8s.io/apimachinery/pkg/apis/meta/v1:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/runtime:go_default_library", + ], +) diff --git a/vendor/sigs.k8s.io/controller-runtime/pkg/handler/BUILD.bazel b/vendor/sigs.k8s.io/controller-runtime/pkg/handler/BUILD.bazel new file mode 100644 index 00000000..a0220cb6 --- /dev/null +++ b/vendor/sigs.k8s.io/controller-runtime/pkg/handler/BUILD.bazel @@ -0,0 +1,26 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = [ + "doc.go", + "enqueue.go", + "enqueue_mapped.go", + "enqueue_owner.go", + "eventhandler.go", + ], + importmap = "github.com/amaizfinance/redis-operator/vendor/sigs.k8s.io/controller-runtime/pkg/handler", + importpath = "sigs.k8s.io/controller-runtime/pkg/handler", + visibility = ["//visibility:public"], + deps = [ + "//vendor/k8s.io/apimachinery/pkg/apis/meta/v1:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/runtime:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/runtime/schema:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/types:go_default_library", + "//vendor/k8s.io/client-go/util/workqueue:go_default_library", + "//vendor/sigs.k8s.io/controller-runtime/pkg/event:go_default_library", + "//vendor/sigs.k8s.io/controller-runtime/pkg/reconcile:go_default_library", + "//vendor/sigs.k8s.io/controller-runtime/pkg/runtime/inject:go_default_library", + "//vendor/sigs.k8s.io/controller-runtime/pkg/runtime/log:go_default_library", + ], +) diff --git a/vendor/sigs.k8s.io/controller-runtime/pkg/internal/controller/BUILD.bazel b/vendor/sigs.k8s.io/controller-runtime/pkg/internal/controller/BUILD.bazel new file mode 100644 index 00000000..a3ec0fd0 --- /dev/null +++ b/vendor/sigs.k8s.io/controller-runtime/pkg/internal/controller/BUILD.bazel @@ -0,0 +1,26 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = ["controller.go"], + importmap = "github.com/amaizfinance/redis-operator/vendor/sigs.k8s.io/controller-runtime/pkg/internal/controller", + importpath = "sigs.k8s.io/controller-runtime/pkg/internal/controller", + visibility = ["//vendor/sigs.k8s.io/controller-runtime/pkg:__subpackages__"], + deps = [ + "//vendor/k8s.io/apimachinery/pkg/runtime:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/util/runtime:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/util/wait:go_default_library", + "//vendor/k8s.io/client-go/rest:go_default_library", + "//vendor/k8s.io/client-go/tools/record:go_default_library", + "//vendor/k8s.io/client-go/util/workqueue:go_default_library", + "//vendor/sigs.k8s.io/controller-runtime/pkg/cache:go_default_library", + "//vendor/sigs.k8s.io/controller-runtime/pkg/client:go_default_library", + "//vendor/sigs.k8s.io/controller-runtime/pkg/handler:go_default_library", + "//vendor/sigs.k8s.io/controller-runtime/pkg/internal/controller/metrics:go_default_library", + "//vendor/sigs.k8s.io/controller-runtime/pkg/predicate:go_default_library", + "//vendor/sigs.k8s.io/controller-runtime/pkg/reconcile:go_default_library", + "//vendor/sigs.k8s.io/controller-runtime/pkg/runtime/inject:go_default_library", + "//vendor/sigs.k8s.io/controller-runtime/pkg/runtime/log:go_default_library", + "//vendor/sigs.k8s.io/controller-runtime/pkg/source:go_default_library", + ], +) diff --git a/vendor/sigs.k8s.io/controller-runtime/pkg/internal/controller/metrics/BUILD.bazel b/vendor/sigs.k8s.io/controller-runtime/pkg/internal/controller/metrics/BUILD.bazel new file mode 100644 index 00000000..f4f11dd3 --- /dev/null +++ b/vendor/sigs.k8s.io/controller-runtime/pkg/internal/controller/metrics/BUILD.bazel @@ -0,0 +1,13 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = ["metrics.go"], + importmap = "github.com/amaizfinance/redis-operator/vendor/sigs.k8s.io/controller-runtime/pkg/internal/controller/metrics", + importpath = "sigs.k8s.io/controller-runtime/pkg/internal/controller/metrics", + visibility = ["//vendor/sigs.k8s.io/controller-runtime/pkg:__subpackages__"], + deps = [ + "//vendor/github.com/prometheus/client_golang/prometheus:go_default_library", + "//vendor/sigs.k8s.io/controller-runtime/pkg/metrics:go_default_library", + ], +) diff --git a/vendor/sigs.k8s.io/controller-runtime/pkg/internal/objectutil/BUILD.bazel b/vendor/sigs.k8s.io/controller-runtime/pkg/internal/objectutil/BUILD.bazel new file mode 100644 index 00000000..b625d791 --- /dev/null +++ b/vendor/sigs.k8s.io/controller-runtime/pkg/internal/objectutil/BUILD.bazel @@ -0,0 +1,14 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = ["filter.go"], + importmap = "github.com/amaizfinance/redis-operator/vendor/sigs.k8s.io/controller-runtime/pkg/internal/objectutil", + importpath = "sigs.k8s.io/controller-runtime/pkg/internal/objectutil", + visibility = ["//vendor/sigs.k8s.io/controller-runtime/pkg:__subpackages__"], + deps = [ + "//vendor/k8s.io/apimachinery/pkg/api/meta:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/labels:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/runtime:go_default_library", + ], +) diff --git a/vendor/sigs.k8s.io/controller-runtime/pkg/internal/recorder/BUILD.bazel b/vendor/sigs.k8s.io/controller-runtime/pkg/internal/recorder/BUILD.bazel new file mode 100644 index 00000000..fda4be66 --- /dev/null +++ b/vendor/sigs.k8s.io/controller-runtime/pkg/internal/recorder/BUILD.bazel @@ -0,0 +1,19 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = ["recorder.go"], + importmap = "github.com/amaizfinance/redis-operator/vendor/sigs.k8s.io/controller-runtime/pkg/internal/recorder", + importpath = "sigs.k8s.io/controller-runtime/pkg/internal/recorder", + visibility = ["//vendor/sigs.k8s.io/controller-runtime/pkg:__subpackages__"], + deps = [ + "//vendor/github.com/go-logr/logr:go_default_library", + "//vendor/k8s.io/api/core/v1:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/runtime:go_default_library", + "//vendor/k8s.io/client-go/kubernetes:go_default_library", + "//vendor/k8s.io/client-go/kubernetes/typed/core/v1:go_default_library", + "//vendor/k8s.io/client-go/rest:go_default_library", + "//vendor/k8s.io/client-go/tools/record:go_default_library", + "//vendor/sigs.k8s.io/controller-runtime/pkg/recorder:go_default_library", + ], +) diff --git a/vendor/sigs.k8s.io/controller-runtime/pkg/leaderelection/BUILD.bazel b/vendor/sigs.k8s.io/controller-runtime/pkg/leaderelection/BUILD.bazel new file mode 100644 index 00000000..2dc9e40b --- /dev/null +++ b/vendor/sigs.k8s.io/controller-runtime/pkg/leaderelection/BUILD.bazel @@ -0,0 +1,19 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = [ + "doc.go", + "leader_election.go", + ], + importmap = "github.com/amaizfinance/redis-operator/vendor/sigs.k8s.io/controller-runtime/pkg/leaderelection", + importpath = "sigs.k8s.io/controller-runtime/pkg/leaderelection", + visibility = ["//visibility:public"], + deps = [ + "//vendor/k8s.io/apimachinery/pkg/util/uuid:go_default_library", + "//vendor/k8s.io/client-go/kubernetes:go_default_library", + "//vendor/k8s.io/client-go/rest:go_default_library", + "//vendor/k8s.io/client-go/tools/leaderelection/resourcelock:go_default_library", + "//vendor/sigs.k8s.io/controller-runtime/pkg/recorder:go_default_library", + ], +) diff --git a/vendor/sigs.k8s.io/controller-runtime/pkg/manager/BUILD.bazel b/vendor/sigs.k8s.io/controller-runtime/pkg/manager/BUILD.bazel new file mode 100644 index 00000000..6779d48d --- /dev/null +++ b/vendor/sigs.k8s.io/controller-runtime/pkg/manager/BUILD.bazel @@ -0,0 +1,36 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = [ + "doc.go", + "internal.go", + "manager.go", + "testutil.go", + ], + importmap = "github.com/amaizfinance/redis-operator/vendor/sigs.k8s.io/controller-runtime/pkg/manager", + importpath = "sigs.k8s.io/controller-runtime/pkg/manager", + visibility = ["//visibility:public"], + deps = [ + "//vendor/github.com/go-logr/logr:go_default_library", + "//vendor/github.com/prometheus/client_golang/prometheus/promhttp:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/api/meta:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/runtime:go_default_library", + "//vendor/k8s.io/client-go/kubernetes/scheme:go_default_library", + "//vendor/k8s.io/client-go/rest:go_default_library", + "//vendor/k8s.io/client-go/tools/leaderelection:go_default_library", + "//vendor/k8s.io/client-go/tools/leaderelection/resourcelock:go_default_library", + "//vendor/k8s.io/client-go/tools/record:go_default_library", + "//vendor/sigs.k8s.io/controller-runtime/pkg/cache:go_default_library", + "//vendor/sigs.k8s.io/controller-runtime/pkg/client:go_default_library", + "//vendor/sigs.k8s.io/controller-runtime/pkg/client/apiutil:go_default_library", + "//vendor/sigs.k8s.io/controller-runtime/pkg/internal/recorder:go_default_library", + "//vendor/sigs.k8s.io/controller-runtime/pkg/leaderelection:go_default_library", + "//vendor/sigs.k8s.io/controller-runtime/pkg/metrics:go_default_library", + "//vendor/sigs.k8s.io/controller-runtime/pkg/recorder:go_default_library", + "//vendor/sigs.k8s.io/controller-runtime/pkg/runtime/inject:go_default_library", + "//vendor/sigs.k8s.io/controller-runtime/pkg/runtime/log:go_default_library", + "//vendor/sigs.k8s.io/controller-runtime/pkg/webhook/admission:go_default_library", + "//vendor/sigs.k8s.io/controller-runtime/pkg/webhook/admission/types:go_default_library", + ], +) diff --git a/vendor/sigs.k8s.io/controller-runtime/pkg/metrics/BUILD.bazel b/vendor/sigs.k8s.io/controller-runtime/pkg/metrics/BUILD.bazel new file mode 100644 index 00000000..b6f8a9c8 --- /dev/null +++ b/vendor/sigs.k8s.io/controller-runtime/pkg/metrics/BUILD.bazel @@ -0,0 +1,20 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = [ + "client_go_adapter.go", + "doc.go", + "listener.go", + "registry.go", + ], + importmap = "github.com/amaizfinance/redis-operator/vendor/sigs.k8s.io/controller-runtime/pkg/metrics", + importpath = "sigs.k8s.io/controller-runtime/pkg/metrics", + visibility = ["//visibility:public"], + deps = [ + "//vendor/github.com/prometheus/client_golang/prometheus:go_default_library", + "//vendor/k8s.io/client-go/tools/cache:go_default_library", + "//vendor/k8s.io/client-go/tools/metrics:go_default_library", + "//vendor/k8s.io/client-go/util/workqueue:go_default_library", + ], +) diff --git a/vendor/sigs.k8s.io/controller-runtime/pkg/patch/BUILD.bazel b/vendor/sigs.k8s.io/controller-runtime/pkg/patch/BUILD.bazel new file mode 100644 index 00000000..fb480c79 --- /dev/null +++ b/vendor/sigs.k8s.io/controller-runtime/pkg/patch/BUILD.bazel @@ -0,0 +1,16 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = [ + "doc.go", + "patch.go", + ], + importmap = "github.com/amaizfinance/redis-operator/vendor/sigs.k8s.io/controller-runtime/pkg/patch", + importpath = "sigs.k8s.io/controller-runtime/pkg/patch", + visibility = ["//visibility:public"], + deps = [ + "//vendor/github.com/appscode/jsonpatch:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/runtime:go_default_library", + ], +) diff --git a/vendor/sigs.k8s.io/controller-runtime/pkg/predicate/BUILD.bazel b/vendor/sigs.k8s.io/controller-runtime/pkg/predicate/BUILD.bazel new file mode 100644 index 00000000..1e9395cf --- /dev/null +++ b/vendor/sigs.k8s.io/controller-runtime/pkg/predicate/BUILD.bazel @@ -0,0 +1,16 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = [ + "doc.go", + "predicate.go", + ], + importmap = "github.com/amaizfinance/redis-operator/vendor/sigs.k8s.io/controller-runtime/pkg/predicate", + importpath = "sigs.k8s.io/controller-runtime/pkg/predicate", + visibility = ["//visibility:public"], + deps = [ + "//vendor/sigs.k8s.io/controller-runtime/pkg/event:go_default_library", + "//vendor/sigs.k8s.io/controller-runtime/pkg/runtime/log:go_default_library", + ], +) diff --git a/vendor/sigs.k8s.io/controller-runtime/pkg/reconcile/BUILD.bazel b/vendor/sigs.k8s.io/controller-runtime/pkg/reconcile/BUILD.bazel new file mode 100644 index 00000000..85e5b14c --- /dev/null +++ b/vendor/sigs.k8s.io/controller-runtime/pkg/reconcile/BUILD.bazel @@ -0,0 +1,13 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = [ + "doc.go", + "reconcile.go", + ], + importmap = "github.com/amaizfinance/redis-operator/vendor/sigs.k8s.io/controller-runtime/pkg/reconcile", + importpath = "sigs.k8s.io/controller-runtime/pkg/reconcile", + visibility = ["//visibility:public"], + deps = ["//vendor/k8s.io/apimachinery/pkg/types:go_default_library"], +) diff --git a/vendor/sigs.k8s.io/controller-runtime/pkg/recorder/BUILD.bazel b/vendor/sigs.k8s.io/controller-runtime/pkg/recorder/BUILD.bazel new file mode 100644 index 00000000..1446a4dd --- /dev/null +++ b/vendor/sigs.k8s.io/controller-runtime/pkg/recorder/BUILD.bazel @@ -0,0 +1,10 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = ["recorder.go"], + importmap = "github.com/amaizfinance/redis-operator/vendor/sigs.k8s.io/controller-runtime/pkg/recorder", + importpath = "sigs.k8s.io/controller-runtime/pkg/recorder", + visibility = ["//visibility:public"], + deps = ["//vendor/k8s.io/client-go/tools/record:go_default_library"], +) diff --git a/vendor/sigs.k8s.io/controller-runtime/pkg/runtime/inject/BUILD.bazel b/vendor/sigs.k8s.io/controller-runtime/pkg/runtime/inject/BUILD.bazel new file mode 100644 index 00000000..a78ae1cb --- /dev/null +++ b/vendor/sigs.k8s.io/controller-runtime/pkg/runtime/inject/BUILD.bazel @@ -0,0 +1,19 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = [ + "doc.go", + "inject.go", + ], + importmap = "github.com/amaizfinance/redis-operator/vendor/sigs.k8s.io/controller-runtime/pkg/runtime/inject", + importpath = "sigs.k8s.io/controller-runtime/pkg/runtime/inject", + visibility = ["//visibility:public"], + deps = [ + "//vendor/k8s.io/apimachinery/pkg/runtime:go_default_library", + "//vendor/k8s.io/client-go/rest:go_default_library", + "//vendor/sigs.k8s.io/controller-runtime/pkg/cache:go_default_library", + "//vendor/sigs.k8s.io/controller-runtime/pkg/client:go_default_library", + "//vendor/sigs.k8s.io/controller-runtime/pkg/webhook/admission/types:go_default_library", + ], +) diff --git a/vendor/sigs.k8s.io/controller-runtime/pkg/runtime/log/BUILD.bazel b/vendor/sigs.k8s.io/controller-runtime/pkg/runtime/log/BUILD.bazel new file mode 100644 index 00000000..518cb7ea --- /dev/null +++ b/vendor/sigs.k8s.io/controller-runtime/pkg/runtime/log/BUILD.bazel @@ -0,0 +1,24 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = [ + "deleg.go", + "kube_helpers.go", + "log.go", + "null.go", + ], + importmap = "github.com/amaizfinance/redis-operator/vendor/sigs.k8s.io/controller-runtime/pkg/runtime/log", + importpath = "sigs.k8s.io/controller-runtime/pkg/runtime/log", + visibility = ["//visibility:public"], + deps = [ + "//vendor/github.com/go-logr/logr:go_default_library", + "//vendor/github.com/go-logr/zapr:go_default_library", + "//vendor/go.uber.org/zap:go_default_library", + "//vendor/go.uber.org/zap/buffer:go_default_library", + "//vendor/go.uber.org/zap/zapcore:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/api/meta:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/runtime:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/types:go_default_library", + ], +) diff --git a/vendor/sigs.k8s.io/controller-runtime/pkg/runtime/scheme/BUILD.bazel b/vendor/sigs.k8s.io/controller-runtime/pkg/runtime/scheme/BUILD.bazel new file mode 100644 index 00000000..874272bd --- /dev/null +++ b/vendor/sigs.k8s.io/controller-runtime/pkg/runtime/scheme/BUILD.bazel @@ -0,0 +1,14 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = ["scheme.go"], + importmap = "github.com/amaizfinance/redis-operator/vendor/sigs.k8s.io/controller-runtime/pkg/runtime/scheme", + importpath = "sigs.k8s.io/controller-runtime/pkg/runtime/scheme", + visibility = ["//visibility:public"], + deps = [ + "//vendor/k8s.io/apimachinery/pkg/apis/meta/v1:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/runtime:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/runtime/schema:go_default_library", + ], +) diff --git a/vendor/sigs.k8s.io/controller-runtime/pkg/runtime/signals/BUILD.bazel b/vendor/sigs.k8s.io/controller-runtime/pkg/runtime/signals/BUILD.bazel new file mode 100644 index 00000000..ad5ec1ce --- /dev/null +++ b/vendor/sigs.k8s.io/controller-runtime/pkg/runtime/signals/BUILD.bazel @@ -0,0 +1,14 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = [ + "doc.go", + "signal.go", + "signal_posix.go", + "signal_windows.go", + ], + importmap = "github.com/amaizfinance/redis-operator/vendor/sigs.k8s.io/controller-runtime/pkg/runtime/signals", + importpath = "sigs.k8s.io/controller-runtime/pkg/runtime/signals", + visibility = ["//visibility:public"], +) diff --git a/vendor/sigs.k8s.io/controller-runtime/pkg/source/BUILD.bazel b/vendor/sigs.k8s.io/controller-runtime/pkg/source/BUILD.bazel new file mode 100644 index 00000000..ab8e8dd8 --- /dev/null +++ b/vendor/sigs.k8s.io/controller-runtime/pkg/source/BUILD.bazel @@ -0,0 +1,25 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = [ + "doc.go", + "source.go", + ], + importmap = "github.com/amaizfinance/redis-operator/vendor/sigs.k8s.io/controller-runtime/pkg/source", + importpath = "sigs.k8s.io/controller-runtime/pkg/source", + visibility = ["//visibility:public"], + deps = [ + "//vendor/k8s.io/apimachinery/pkg/api/meta:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/runtime:go_default_library", + "//vendor/k8s.io/client-go/tools/cache:go_default_library", + "//vendor/k8s.io/client-go/util/workqueue:go_default_library", + "//vendor/sigs.k8s.io/controller-runtime/pkg/cache:go_default_library", + "//vendor/sigs.k8s.io/controller-runtime/pkg/event:go_default_library", + "//vendor/sigs.k8s.io/controller-runtime/pkg/handler:go_default_library", + "//vendor/sigs.k8s.io/controller-runtime/pkg/predicate:go_default_library", + "//vendor/sigs.k8s.io/controller-runtime/pkg/runtime/inject:go_default_library", + "//vendor/sigs.k8s.io/controller-runtime/pkg/runtime/log:go_default_library", + "//vendor/sigs.k8s.io/controller-runtime/pkg/source/internal:go_default_library", + ], +) diff --git a/vendor/sigs.k8s.io/controller-runtime/pkg/source/internal/BUILD.bazel b/vendor/sigs.k8s.io/controller-runtime/pkg/source/internal/BUILD.bazel new file mode 100644 index 00000000..feb4d5b7 --- /dev/null +++ b/vendor/sigs.k8s.io/controller-runtime/pkg/source/internal/BUILD.bazel @@ -0,0 +1,20 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = ["eventsource.go"], + importmap = "github.com/amaizfinance/redis-operator/vendor/sigs.k8s.io/controller-runtime/pkg/source/internal", + importpath = "sigs.k8s.io/controller-runtime/pkg/source/internal", + visibility = ["//visibility:public"], + deps = [ + "//vendor/k8s.io/apimachinery/pkg/api/meta:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/apis/meta/v1:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/runtime:go_default_library", + "//vendor/k8s.io/client-go/tools/cache:go_default_library", + "//vendor/k8s.io/client-go/util/workqueue:go_default_library", + "//vendor/sigs.k8s.io/controller-runtime/pkg/event:go_default_library", + "//vendor/sigs.k8s.io/controller-runtime/pkg/handler:go_default_library", + "//vendor/sigs.k8s.io/controller-runtime/pkg/predicate:go_default_library", + "//vendor/sigs.k8s.io/controller-runtime/pkg/runtime/log:go_default_library", + ], +) diff --git a/vendor/sigs.k8s.io/controller-runtime/pkg/webhook/admission/BUILD.bazel b/vendor/sigs.k8s.io/controller-runtime/pkg/webhook/admission/BUILD.bazel new file mode 100644 index 00000000..3e73a890 --- /dev/null +++ b/vendor/sigs.k8s.io/controller-runtime/pkg/webhook/admission/BUILD.bazel @@ -0,0 +1,31 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = [ + "decode.go", + "doc.go", + "http.go", + "response.go", + "webhook.go", + ], + importmap = "github.com/amaizfinance/redis-operator/vendor/sigs.k8s.io/controller-runtime/pkg/webhook/admission", + importpath = "sigs.k8s.io/controller-runtime/pkg/webhook/admission", + visibility = ["//visibility:public"], + deps = [ + "//vendor/github.com/appscode/jsonpatch:go_default_library", + "//vendor/k8s.io/api/admission/v1beta1:go_default_library", + "//vendor/k8s.io/api/admissionregistration/v1beta1:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/apis/meta/v1:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/runtime:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/runtime/serializer:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/util/runtime:go_default_library", + "//vendor/sigs.k8s.io/controller-runtime/pkg/client:go_default_library", + "//vendor/sigs.k8s.io/controller-runtime/pkg/patch:go_default_library", + "//vendor/sigs.k8s.io/controller-runtime/pkg/runtime/inject:go_default_library", + "//vendor/sigs.k8s.io/controller-runtime/pkg/runtime/log:go_default_library", + "//vendor/sigs.k8s.io/controller-runtime/pkg/webhook/admission/types:go_default_library", + "//vendor/sigs.k8s.io/controller-runtime/pkg/webhook/internal/metrics:go_default_library", + "//vendor/sigs.k8s.io/controller-runtime/pkg/webhook/types:go_default_library", + ], +) diff --git a/vendor/sigs.k8s.io/controller-runtime/pkg/webhook/admission/types/BUILD.bazel b/vendor/sigs.k8s.io/controller-runtime/pkg/webhook/admission/types/BUILD.bazel new file mode 100644 index 00000000..2721ee49 --- /dev/null +++ b/vendor/sigs.k8s.io/controller-runtime/pkg/webhook/admission/types/BUILD.bazel @@ -0,0 +1,14 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = ["types.go"], + importmap = "github.com/amaizfinance/redis-operator/vendor/sigs.k8s.io/controller-runtime/pkg/webhook/admission/types", + importpath = "sigs.k8s.io/controller-runtime/pkg/webhook/admission/types", + visibility = ["//visibility:public"], + deps = [ + "//vendor/github.com/appscode/jsonpatch:go_default_library", + "//vendor/k8s.io/api/admission/v1beta1:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/runtime:go_default_library", + ], +) diff --git a/vendor/sigs.k8s.io/controller-runtime/pkg/webhook/internal/metrics/BUILD.bazel b/vendor/sigs.k8s.io/controller-runtime/pkg/webhook/internal/metrics/BUILD.bazel new file mode 100644 index 00000000..907a5b30 --- /dev/null +++ b/vendor/sigs.k8s.io/controller-runtime/pkg/webhook/internal/metrics/BUILD.bazel @@ -0,0 +1,13 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = ["metrics.go"], + importmap = "github.com/amaizfinance/redis-operator/vendor/sigs.k8s.io/controller-runtime/pkg/webhook/internal/metrics", + importpath = "sigs.k8s.io/controller-runtime/pkg/webhook/internal/metrics", + visibility = ["//vendor/sigs.k8s.io/controller-runtime/pkg/webhook:__subpackages__"], + deps = [ + "//vendor/github.com/prometheus/client_golang/prometheus:go_default_library", + "//vendor/sigs.k8s.io/controller-runtime/pkg/metrics:go_default_library", + ], +) diff --git a/vendor/sigs.k8s.io/controller-runtime/pkg/webhook/types/BUILD.bazel b/vendor/sigs.k8s.io/controller-runtime/pkg/webhook/types/BUILD.bazel new file mode 100644 index 00000000..f7ae501a --- /dev/null +++ b/vendor/sigs.k8s.io/controller-runtime/pkg/webhook/types/BUILD.bazel @@ -0,0 +1,9 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = ["webhook.go"], + importmap = "github.com/amaizfinance/redis-operator/vendor/sigs.k8s.io/controller-runtime/pkg/webhook/types", + importpath = "sigs.k8s.io/controller-runtime/pkg/webhook/types", + visibility = ["//visibility:public"], +) diff --git a/vendor/sigs.k8s.io/controller-tools/pkg/crd/generator/BUILD.bazel b/vendor/sigs.k8s.io/controller-tools/pkg/crd/generator/BUILD.bazel new file mode 100644 index 00000000..a593b9b0 --- /dev/null +++ b/vendor/sigs.k8s.io/controller-tools/pkg/crd/generator/BUILD.bazel @@ -0,0 +1,20 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = ["generator.go"], + importmap = "github.com/amaizfinance/redis-operator/vendor/sigs.k8s.io/controller-tools/pkg/crd/generator", + importpath = "sigs.k8s.io/controller-tools/pkg/crd/generator", + visibility = ["//visibility:public"], + deps = [ + "//vendor/github.com/ghodss/yaml:go_default_library", + "//vendor/github.com/spf13/afero:go_default_library", + "//vendor/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1beta1:go_default_library", + "//vendor/k8s.io/gengo/args:go_default_library", + "//vendor/k8s.io/gengo/types:go_default_library", + "//vendor/sigs.k8s.io/controller-tools/pkg/crd/util:go_default_library", + "//vendor/sigs.k8s.io/controller-tools/pkg/internal/codegen:go_default_library", + "//vendor/sigs.k8s.io/controller-tools/pkg/internal/codegen/parse:go_default_library", + "//vendor/sigs.k8s.io/controller-tools/pkg/util:go_default_library", + ], +) diff --git a/vendor/sigs.k8s.io/controller-tools/pkg/crd/util/BUILD.bazel b/vendor/sigs.k8s.io/controller-tools/pkg/crd/util/BUILD.bazel new file mode 100644 index 00000000..39a23464 --- /dev/null +++ b/vendor/sigs.k8s.io/controller-tools/pkg/crd/util/BUILD.bazel @@ -0,0 +1,9 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = ["util.go"], + importmap = "github.com/amaizfinance/redis-operator/vendor/sigs.k8s.io/controller-tools/pkg/crd/util", + importpath = "sigs.k8s.io/controller-tools/pkg/crd/util", + visibility = ["//visibility:public"], +) diff --git a/vendor/sigs.k8s.io/controller-tools/pkg/internal/codegen/BUILD.bazel b/vendor/sigs.k8s.io/controller-tools/pkg/internal/codegen/BUILD.bazel new file mode 100644 index 00000000..780b1d53 --- /dev/null +++ b/vendor/sigs.k8s.io/controller-tools/pkg/internal/codegen/BUILD.bazel @@ -0,0 +1,17 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = ["types.go"], + importmap = "github.com/amaizfinance/redis-operator/vendor/sigs.k8s.io/controller-tools/pkg/internal/codegen", + importpath = "sigs.k8s.io/controller-tools/pkg/internal/codegen", + visibility = ["//vendor/sigs.k8s.io/controller-tools/pkg:__subpackages__"], + deps = [ + "//vendor/k8s.io/api/rbac/v1:go_default_library", + "//vendor/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1beta1:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/apis/meta/v1:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/runtime/schema:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/util/sets:go_default_library", + "//vendor/k8s.io/gengo/types:go_default_library", + ], +) diff --git a/vendor/sigs.k8s.io/controller-tools/pkg/internal/codegen/parse/BUILD.bazel b/vendor/sigs.k8s.io/controller-tools/pkg/internal/codegen/parse/BUILD.bazel new file mode 100644 index 00000000..11f7f3eb --- /dev/null +++ b/vendor/sigs.k8s.io/controller-tools/pkg/internal/codegen/parse/BUILD.bazel @@ -0,0 +1,31 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = [ + "apis.go", + "context.go", + "crd.go", + "index.go", + "parser.go", + "util.go", + ], + importmap = "github.com/amaizfinance/redis-operator/vendor/sigs.k8s.io/controller-tools/pkg/internal/codegen/parse", + importpath = "sigs.k8s.io/controller-tools/pkg/internal/codegen/parse", + visibility = ["//vendor/sigs.k8s.io/controller-tools/pkg:__subpackages__"], + deps = [ + "//vendor/github.com/markbates/inflect:go_default_library", + "//vendor/github.com/pkg/errors:go_default_library", + "//vendor/k8s.io/api/rbac/v1:go_default_library", + "//vendor/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1beta1:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/apis/meta/v1:go_default_library", + "//vendor/k8s.io/apimachinery/pkg/util/sets:go_default_library", + "//vendor/k8s.io/gengo/args:go_default_library", + "//vendor/k8s.io/gengo/generator:go_default_library", + "//vendor/k8s.io/gengo/namer:go_default_library", + "//vendor/k8s.io/gengo/parser:go_default_library", + "//vendor/k8s.io/gengo/types:go_default_library", + "//vendor/sigs.k8s.io/controller-tools/pkg/internal/codegen:go_default_library", + "//vendor/sigs.k8s.io/controller-tools/pkg/internal/general:go_default_library", + ], +) diff --git a/vendor/sigs.k8s.io/controller-tools/pkg/internal/general/BUILD.bazel b/vendor/sigs.k8s.io/controller-tools/pkg/internal/general/BUILD.bazel new file mode 100644 index 00000000..886629b7 --- /dev/null +++ b/vendor/sigs.k8s.io/controller-tools/pkg/internal/general/BUILD.bazel @@ -0,0 +1,9 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = ["util.go"], + importmap = "github.com/amaizfinance/redis-operator/vendor/sigs.k8s.io/controller-tools/pkg/internal/general", + importpath = "sigs.k8s.io/controller-tools/pkg/internal/general", + visibility = ["//vendor/sigs.k8s.io/controller-tools/pkg:__subpackages__"], +) diff --git a/vendor/sigs.k8s.io/controller-tools/pkg/util/BUILD.bazel b/vendor/sigs.k8s.io/controller-tools/pkg/util/BUILD.bazel new file mode 100644 index 00000000..9e09c868 --- /dev/null +++ b/vendor/sigs.k8s.io/controller-tools/pkg/util/BUILD.bazel @@ -0,0 +1,10 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = ["util.go"], + importmap = "github.com/amaizfinance/redis-operator/vendor/sigs.k8s.io/controller-tools/pkg/util", + importpath = "sigs.k8s.io/controller-tools/pkg/util", + visibility = ["//visibility:public"], + deps = ["//vendor/github.com/spf13/afero:go_default_library"], +) diff --git a/vendor/sigs.k8s.io/yaml/BUILD.bazel b/vendor/sigs.k8s.io/yaml/BUILD.bazel new file mode 100644 index 00000000..5424e876 --- /dev/null +++ b/vendor/sigs.k8s.io/yaml/BUILD.bazel @@ -0,0 +1,14 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = [ + "fields.go", + "yaml.go", + "yaml_go110.go", + ], + importmap = "github.com/amaizfinance/redis-operator/vendor/sigs.k8s.io/yaml", + importpath = "sigs.k8s.io/yaml", + visibility = ["//visibility:public"], + deps = ["//vendor/gopkg.in/yaml.v2:go_default_library"], +) diff --git a/version/BUILD.bazel b/version/BUILD.bazel new file mode 100644 index 00000000..7cd6f318 --- /dev/null +++ b/version/BUILD.bazel @@ -0,0 +1,8 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = ["version.go"], + importpath = "github.com/amaizfinance/redis-operator/version", + visibility = ["//visibility:public"], +)