47 lines
1.6 KiB
Python
47 lines
1.6 KiB
Python
|
package(default_visibility = ["//visibility:public"])
|
||
|
|
||
|
licenses(["notice"])
|
||
|
|
||
|
load(
|
||
|
"@io_bazel_rules_go//go:def.bzl",
|
||
|
"go_library",
|
||
|
"go_test",
|
||
|
)
|
||
|
|
||
|
go_library(
|
||
|
name = "go_default_library",
|
||
|
srcs = [
|
||
|
"decoder.go",
|
||
|
"encoder.go",
|
||
|
],
|
||
|
tags = ["automanaged"],
|
||
|
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",
|
||
|
],
|
||
|
)
|
||
|
|
||
|
go_test(
|
||
|
name = "go_default_xtest",
|
||
|
srcs = [
|
||
|
"decoder_test.go",
|
||
|
"encoder_test.go",
|
||
|
],
|
||
|
tags = ["automanaged"],
|
||
|
deps = [
|
||
|
"//vendor/k8s.io/apimachinery/pkg/api/equality: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/runtime/serializer/json:go_default_library",
|
||
|
"//vendor/k8s.io/apimachinery/pkg/runtime/serializer/streaming: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/kubernetes/scheme:go_default_library",
|
||
|
"//vendor/k8s.io/client-go/pkg/api/v1:go_default_library",
|
||
|
"//vendor/k8s.io/client-go/rest/watch:go_default_library",
|
||
|
],
|
||
|
)
|