load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") go_library( name = "cluster", srcs = ["cluster.go"], importpath = "edge-infra.dev/pkg/edge/constants/api/cluster", visibility = ["//visibility:public"], deps = ["//pkg/edge/api/graph/model"], ) go_test( name = "cluster_test", srcs = ["cluster_test.go"], embed = [":cluster"], deps = [ "//pkg/edge/api/graph/model", "@com_github_stretchr_testify//assert", ], )