load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") go_library( name = "render", srcs = [ "render.go", "shipment.go", ], importpath = "edge-infra.dev/pkg/f8n/warehouse/lift/cmd/render", visibility = ["//visibility:public"], deps = [ "//pkg/f8n/warehouse/cluster", "//pkg/f8n/warehouse/k8s/apis/v1alpha2", "//pkg/f8n/warehouse/lift", "//pkg/f8n/warehouse/lift/cmd/internal", "//pkg/f8n/warehouse/lift/unpack", "//pkg/f8n/warehouse/oci/layer", "//pkg/f8n/warehouse/oci/remote", "//pkg/f8n/warehouse/pallet", "//pkg/lib/cli/sink", "@com_github_google_go_containerregistry//pkg/name", "@io_k8s_sigs_controller_runtime//pkg/client", ], ) go_test( name = "render_test", srcs = ["render_test.go"], data = ["//cmd/f8n/warehouse/lift"], embed = [":render"], deps = [ "//pkg/f8n/warehouse/lift/cmd/internal/lifttest", "//pkg/lib/build/bazel", "@tools_gotest_v3//icmd", ], )