datawarehouseactivation

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: 7 Imported by: 0

Documentation

Overview

Package datawarehouseactivation performs data warehouse activation operations for all services.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Service

type Service struct {
	Config *cpb.Configuration
	Client workloadmanager.WLMWriter
}

Service is used to perform data warehouse activation checks.

func (Service) DataWarehouseActivationCheck

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

DataWarehouseActivationCheck runs the data warehouse activation check periodically and publishes the result to the workload agent service channels.

func (Service) ErrorCode

func (s Service) ErrorCode() int

ErrorCode returns the error code for DataWarehouseActivationCheck.

func (Service) ExpectedMinDuration

func (s Service) ExpectedMinDuration() time.Duration

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

Jump to

Keyboard shortcuts

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