oracle

package
v0.0.0-...-7370a3d Latest Latest
Warning

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

Go to latest
Published: Apr 28, 2026 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Overview

Package oracle implements the Oracle workload agent service.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DiscoveryClient

type DiscoveryClient interface {
	Discover(ctx context.Context, cloudProps *cpb.CloudProperties, processes []servicecommunication.ProcessWrapper) (*odpb.Discovery, error)
}

DiscoveryClient is the interface for Oracle discovery operations.

type MetricCollector

type MetricCollector interface {
	SendHealthMetricsToCloudMonitoring(ctx context.Context) []*mrpb.TimeSeries
	SendDefaultMetricsToCloudMonitoring(ctx context.Context) []*mrpb.TimeSeries
}

MetricCollector is the interface for Oracle metrics collection.

type Service

type Service struct {
	Config     *cpb.Configuration
	CloudProps *cpb.CloudProperties

	CommonCh <-chan *servicecommunication.Message
	// contains filtered or unexported fields
}

Service implements the interfaces for Oracle workload agent service.

func (*Service) ErrorCode

func (s *Service) ErrorCode() int

ErrorCode returns the error code for the oracle service.

func (*Service) ExpectedMinDuration

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

ExpectedMinDuration returns the expected minimum duration for the oracle 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 Oracle workload agent service

func (*Service) String

func (s *Service) String() string

String returns the name of the oracle service.

Jump to

Keyboard shortcuts

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