load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") go_library( name = "loaddata", srcs = ["loaddata.go"], importpath = "edge-infra.dev/pkg/edge/edgeadmin/commands/operatorintervention/loaddata", visibility = ["//visibility:public"], deps = [ "//pkg/edge/api/client", "//pkg/edge/api/graph/model", "//pkg/edge/edgeadmin/commands/operatorintervention/edgeextension", "//pkg/edge/edgeadmin/commands/operatorintervention/format", "//pkg/edge/edgecli", "//pkg/edge/edgecli/flagutil", "//pkg/lib/cli/command", "//pkg/lib/cli/rags", "@com_github_peterbourgon_ff_v3//:ff", "@com_github_shurcool_graphql//:graphql", ], ) go_test( name = "loaddata_test", srcs = ["loaddata_test.go"], embed = [":loaddata"], deps = [ "//pkg/edge/api/graph/model", "//pkg/edge/api/utils", "//pkg/edge/edgecli", "//pkg/edge/edgecli/flagutil", "@com_github_99designs_gqlgen//graphql", "@com_github_shurcool_graphql//:graphql", "@com_github_stretchr_testify//require", ], )