mongodb

package
v0.0.0-...-8f1fef5 Latest Latest
Warning

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

Go to latest
Published: Feb 12, 2026 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Overview

Package mongodb implements the MongoDB workload agent service.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Service

type Service struct {
	Config     *configpb.Configuration
	CloudProps *configpb.CloudProperties
	CommonCh   <-chan *servicecommunication.Message

	WLMClient      workloadmanager.WLMWriter
	DBcenterClient databasecenter.Client
	// contains filtered or unexported fields
}

Service implements the interfaces for MongoDB workload agent service.

func (*Service) ErrorCode

func (s *Service) ErrorCode() int

ErrorCode returns the error code for the MongoDB service.

func (*Service) ExpectedMinDuration

func (s *Service) ExpectedMinDuration() time.Duration

ExpectedMinDuration returns the expected minimum duration for the MongoDB service. Used by the recovery handler to determine if the service ran long enough to be considered successful.

func (*Service) Start

func (s *Service) Start(ctx context.Context, a any)

Start initiates the MongoDB workload agent service

func (*Service) String

func (s *Service) String() string

String returns the name of the MongoDB service.

Jump to

Keyboard shortcuts

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