-
Notifications
You must be signed in to change notification settings - Fork 1.2k
/
subcommands.go
76 lines (73 loc) · 3.55 KB
/
subcommands.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
// Unless explicitly stated otherwise all files in this repository are licensed
// under the Apache License Version 2.0.
// This product includes software developed at Datadog (https://www.datadoghq.com/).
// Copyright 2016-present Datadog, Inc.
// Package subcommands defines the agent subcommands.
package subcommands
import (
"github.com/DataDog/datadog-agent/cmd/agent/command"
cmdcheck "github.com/DataDog/datadog-agent/cmd/agent/subcommands/check"
cmdconfig "github.com/DataDog/datadog-agent/cmd/agent/subcommands/config"
cmdconfigcheck "github.com/DataDog/datadog-agent/cmd/agent/subcommands/configcheck"
cmdcontrolsvc "github.com/DataDog/datadog-agent/cmd/agent/subcommands/controlsvc"
cmddiagnose "github.com/DataDog/datadog-agent/cmd/agent/subcommands/diagnose"
cmddogstatsd "github.com/DataDog/datadog-agent/cmd/agent/subcommands/dogstatsd"
cmddogstatsdcapture "github.com/DataDog/datadog-agent/cmd/agent/subcommands/dogstatsdcapture"
cmddogstatsdreplay "github.com/DataDog/datadog-agent/cmd/agent/subcommands/dogstatsdreplay"
cmddogstatsdstats "github.com/DataDog/datadog-agent/cmd/agent/subcommands/dogstatsdstats"
cmdflare "github.com/DataDog/datadog-agent/cmd/agent/subcommands/flare"
cmdhealth "github.com/DataDog/datadog-agent/cmd/agent/subcommands/health"
cmdhostname "github.com/DataDog/datadog-agent/cmd/agent/subcommands/hostname"
cmdimport "github.com/DataDog/datadog-agent/cmd/agent/subcommands/import"
cmdintegrations "github.com/DataDog/datadog-agent/cmd/agent/subcommands/integrations"
cmdjmx "github.com/DataDog/datadog-agent/cmd/agent/subcommands/jmx"
cmdlaunchgui "github.com/DataDog/datadog-agent/cmd/agent/subcommands/launchgui"
cmdprocesschecks "github.com/DataDog/datadog-agent/cmd/agent/subcommands/processchecks"
cmdremoteconfig "github.com/DataDog/datadog-agent/cmd/agent/subcommands/remoteconfig"
cmdrun "github.com/DataDog/datadog-agent/cmd/agent/subcommands/run"
cmdsecret "github.com/DataDog/datadog-agent/cmd/agent/subcommands/secret"
cmdsecrethelper "github.com/DataDog/datadog-agent/cmd/agent/subcommands/secrethelper"
cmdsnmp "github.com/DataDog/datadog-agent/cmd/agent/subcommands/snmp"
cmdstatus "github.com/DataDog/datadog-agent/cmd/agent/subcommands/status"
cmdstop "github.com/DataDog/datadog-agent/cmd/agent/subcommands/stop"
cmdstreamep "github.com/DataDog/datadog-agent/cmd/agent/subcommands/streamep"
cmdstreamlogs "github.com/DataDog/datadog-agent/cmd/agent/subcommands/streamlogs"
cmdtaggerlist "github.com/DataDog/datadog-agent/cmd/agent/subcommands/taggerlist"
cmdversion "github.com/DataDog/datadog-agent/cmd/agent/subcommands/version"
cmdworkloadlist "github.com/DataDog/datadog-agent/cmd/agent/subcommands/workloadlist"
)
// AgentSubcommands returns SubcommandFactories for the subcommands supported
// with the current build flags.
func AgentSubcommands() []command.SubcommandFactory {
return []command.SubcommandFactory{
cmdcheck.Commands,
cmdconfigcheck.Commands,
cmdconfig.Commands,
cmddiagnose.Commands,
cmddogstatsd.Commands,
cmddogstatsdcapture.Commands,
cmddogstatsdreplay.Commands,
cmddogstatsdstats.Commands,
cmdflare.Commands,
cmdhealth.Commands,
cmdhostname.Commands,
cmdimport.Commands,
cmdlaunchgui.Commands,
cmdremoteconfig.Commands,
cmdrun.Commands,
cmdsecret.Commands,
cmdsnmp.Commands,
cmdstatus.Commands,
cmdstreamlogs.Commands,
cmdstreamep.Commands,
cmdtaggerlist.Commands,
cmdversion.Commands,
cmdworkloadlist.Commands,
cmdjmx.Commands,
cmdsecrethelper.Commands,
cmdintegrations.Commands,
cmdstop.Commands,
cmdcontrolsvc.Commands,
cmdprocesschecks.Commands,
}
}