packs

package
v0.34.19 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 27, 2021 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockPacksFetcher

type MockPacksFetcher struct {
	FetchPacksCallCount int
	FetchPacksErr       error
	FetchPacksVal       []types.OpenInstallationObservabilityPack
	// contains filtered or unexported fields
}

func NewMockPacksFetcher

func NewMockPacksFetcher(s *execution.InstallStatus) *MockPacksFetcher

func (*MockPacksFetcher) FetchPacks

type MockPacksInstaller

type MockPacksInstaller struct {
	InstallCallCount int
	InstallErr       error
	// contains filtered or unexported fields
}

func NewMockPacksInstaller

func NewMockPacksInstaller(s *execution.InstallStatus) *MockPacksInstaller

func (*MockPacksInstaller) Install

type ServicePacksFetcher

type ServicePacksFetcher struct {
	// contains filtered or unexported fields
}

ServicePacksFetcher is an implementation of the PacksFetcher interface that relies on the Nerdgraph-stitched o11y packs service to source its results.

func NewServicePacksFetcher

func NewServicePacksFetcher(client recipes.NerdGraphClient, s *execution.InstallStatus) *ServicePacksFetcher

NewServicePacksFetcher returns a new instance of ServicePacksFetcher.

func (*ServicePacksFetcher) FetchPacks

type ServicePacksInstaller

type ServicePacksInstaller struct {
	// contains filtered or unexported fields
}

func NewServicePacksInstaller

func NewServicePacksInstaller(client *newrelic.NewRelic, s *execution.InstallStatus) *ServicePacksInstaller

func (*ServicePacksInstaller) Install

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL