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 ¶
func (f *MockPacksFetcher) FetchPacks(ctx context.Context, recipes []types.OpenInstallationRecipe) ([]types.OpenInstallationObservabilityPack, error)
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 ¶
func (f *MockPacksInstaller) Install(ctx context.Context, packs []types.OpenInstallationObservabilityPack) error
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 ¶
func (f *ServicePacksFetcher) FetchPacks(ctx context.Context, recipes []types.OpenInstallationRecipe) ([]types.OpenInstallationObservabilityPack, error)
type ServicePacksInstaller ¶
type ServicePacksInstaller struct {
// contains filtered or unexported fields
}
func NewServicePacksInstaller ¶
func NewServicePacksInstaller(client *newrelic.NewRelic, s *execution.InstallStatus) *ServicePacksInstaller
func (*ServicePacksInstaller) Install ¶
func (p *ServicePacksInstaller) Install(ctx context.Context, packs []types.OpenInstallationObservabilityPack) error
Click to show internal directories.
Click to hide internal directories.