insights

package
v0.0.0-...-5705da6 Latest Latest
Warning

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

Go to latest
Published: Mar 27, 2024 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type InsightsIntegration

type InsightsIntegration struct {
	Manager ctrl.Manager
	Log     *logr.Logger

	common.OSUtils
	// contains filtered or unexported fields
}

InsightsIntegration allows your operator to manage a proxy for sending Red Hat Insights reports from Java-based workloads to the Runtimes Inventory service.

func NewInsightsIntegration

func NewInsightsIntegration(mgr ctrl.Manager, operatorName string, operatorNamespace string, userAgentPrefix string, log *logr.Logger) *InsightsIntegration

NewInsightsIntegration creates a new InsightsIntegration using your operator's Manager and logger. Provide the operator's name and namespace, which can be discovered using the Kubernetes downward API. The User Agent prefix must be an approved UHC Auth Proxy prefix.

func (*InsightsIntegration) Setup

func (i *InsightsIntegration) Setup() (*url.URL, error)

Setup adds a controller to your manager, which creates and manages the HTTP proxy container that workloads may use to send reports to Red Hat Insights.

Jump to

Keyboard shortcuts

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