14259: Test updates & additions related to keep client HEAD requests
[arvados.git] / lib / controller / cmd.go
1 // Copyright (C) The Arvados Authors. All rights reserved.
2 //
3 // SPDX-License-Identifier: AGPL-3.0
4
5 package controller
6
7 import (
8         "git.curoverse.com/arvados.git/lib/cmd"
9         "git.curoverse.com/arvados.git/lib/service"
10         "git.curoverse.com/arvados.git/sdk/go/arvados"
11 )
12
13 var Command cmd.Handler = service.Command(arvados.ServiceNameController, newHandler)
14
15 func newHandler(cluster *arvados.Cluster, np *arvados.NodeProfile) service.Handler {
16         return &Handler{Cluster: cluster, NodeProfile: np}
17 }