load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") go_library( name = "view", srcs = [ "summary.go", "view.go", ], importpath = "edge-infra.dev/pkg/edge/edgeadmin/commands/operatorintervention/view", visibility = ["//visibility:public"], deps = [ "//pkg/edge/api/client", "//pkg/edge/api/graph/model", "//pkg/edge/edgeadmin/commands/operatorintervention/edgeextension", "//pkg/edge/edgecli", "//pkg/edge/edgecli/flagutil", "//pkg/lib/cli/command", "//pkg/lib/cli/rags", "@com_github_shurcool_graphql//:graphql", ], ) go_test( name = "view_test", srcs = ["summary_test.go"], embed = [":view"], deps = [ "//pkg/edge/api/fake", "//pkg/edge/api/graph/model", "//pkg/edge/edgeadmin/commands/operatorintervention/view/mocks", "//pkg/edge/edgecli", "//pkg/edge/edgecli/flagutil", "@com_github_stretchr_testify//assert", "@com_github_stretchr_testify//require", ], )