Documentation
¶
Index ¶
- type BundleConfigurationService
- func (s BundleConfigurationService) Configure(ctx context.Context, cluster *clusterv1.Cluster, monitoringAgent string) error
- func (s BundleConfigurationService) GetObservabilityBundleAppVersion(ctx context.Context, cluster *clusterv1.Cluster) (version semver.Version, err error)
- func (s BundleConfigurationService) RemoveConfiguration(ctx context.Context, cluster *clusterv1.Cluster) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BundleConfigurationService ¶
type BundleConfigurationService struct {
// contains filtered or unexported fields
}
func NewBundleConfigurationService ¶
func NewBundleConfigurationService(client client.Client, config monitoring.Config) *BundleConfigurationService
func (BundleConfigurationService) Configure ¶
func (s BundleConfigurationService) Configure(ctx context.Context, cluster *clusterv1.Cluster, monitoringAgent string) error
Configure configures the observability-bundle application. the observabilitybundle application to enable logging agents.
func (BundleConfigurationService) GetObservabilityBundleAppVersion ¶ added in v0.32.0
func (s BundleConfigurationService) GetObservabilityBundleAppVersion(ctx context.Context, cluster *clusterv1.Cluster) (version semver.Version, err error)
GetObservabilityBundleAppVersion retrieves the version of the observability bundle app installed in the cluster. It returns an error if the app is not found or if the version cannot be parsed.
func (BundleConfigurationService) RemoveConfiguration ¶
Click to show internal directories.
Click to hide internal directories.