Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Command = &cobra.Command{ Use: "install", Short: "Install New Relic.", Hidden: true, Run: func(cmd *cobra.Command, args []string) { ic := installContext{ interactiveMode: interactiveMode, installLogging: installLogging, recipeNames: recipeNames, recipeFilenames: recipeFilenames, specifyActions: specifyActions, } client.WithClientAndProfile(func(nrClient *newrelic.NewRelic, profile *credentials.Profile) { if profile == nil { log.Fatal(errors.New("default profile has not been set")) } rf := newServiceRecipeFetcher(&nrClient.NerdGraph) pf := newRegexProcessFilterer(rf) i := newRecipeInstaller(ic, newPSUtilDiscoverer(pf), rf, newGoTaskRecipeExecutor(), newPollingRecipeValidator(&nrClient.Nrdb), ) i.install() }) }, }
Command represents the install command.
Functions ¶
This section is empty.
Types ¶
This section is empty.
Source Files ¶
- command.go
- discoverer.go
- go_task_recipe_executor.go
- install_context.go
- mock_discoverer.go
- mock_nerdgraph_client.go
- mock_nrdb_client.go
- mock_process.go
- mock_recipe_executor.go
- mock_recipe_fetcher.go
- mock_recipe_validator.go
- nerdgraph_client.go
- nrdb_client.go
- polling_recipe_validator.go
- process_filterer.go
- psutil_discoverer.go
- psutil_process.go
- recipe_executor.go
- recipe_fetcher.go
- recipe_file.go
- recipe_installer.go
- recipe_validator.go
- regex_process_filterer.go
- service_recipe_fetcher.go
Click to show internal directories.
Click to hide internal directories.