load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") go_library( name = "oci", srcs = [ "artifact.go", "doc.go", "errors.go", ], importpath = "edge-infra.dev/pkg/f8n/warehouse/oci", visibility = ["//visibility:public"], deps = [ "//pkg/f8n/warehouse", "@com_github_google_go_containerregistry//pkg/v1:pkg", "@com_github_google_go_containerregistry//pkg/v1/mutate", "@com_github_google_go_containerregistry//pkg/v1/partial", ], ) go_test( name = "oci_test", srcs = ["artifact_test.go"], deps = [ ":oci", "//pkg/f8n/warehouse/cluster", "//pkg/f8n/warehouse/oci/layer", "//pkg/f8n/warehouse/pallet", "@com_github_google_go_containerregistry//pkg/v1:pkg", "@com_github_stretchr_testify//assert", "@com_github_stretchr_testify//require", ], )