1 // Copyright (C) The Arvados Authors. All rights reserved.
3 // SPDX-License-Identifier: AGPL-3.0
11 "git.curoverse.com/arvados.git/lib/cmd"
12 "git.curoverse.com/arvados.git/lib/service"
13 "git.curoverse.com/arvados.git/sdk/go/arvados"
14 "git.curoverse.com/arvados.git/sdk/go/health"
19 command cmd.Handler = service.Command(arvados.ServiceNameController, newHandler)
22 func newHandler(ctx context.Context, cluster *arvados.Cluster, _ string) service.Handler {
23 return &health.Aggregator{Cluster: cluster}
27 os.Exit(command.RunCommand(os.Args[0], os.Args[1:], os.Stdin, os.Stdout, os.Stderr))