checks

package
v0.0.0-...-b180f38 Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DetailedStorageHealthCheck

type DetailedStorageHealthCheck struct {
	*StorageHealthChecker
	// contains filtered or unexported fields
}

func NewDetailedStorageHealthCheck

func NewDetailedStorageHealthCheck(
	consensus *consensus.RaftConsensus,
	blockchain *blockchain.BlockchainAuditStore,
	redisCluster *distributed.RedisClusterCache,
	tracer tracing.Tracer,
) *DetailedStorageHealthCheck

func (*DetailedStorageHealthCheck) CheckClusterConnectivity

func (h *DetailedStorageHealthCheck) CheckClusterConnectivity(ctx context.Context) error

func (*DetailedStorageHealthCheck) CheckConsensus

func (h *DetailedStorageHealthCheck) CheckConsensus(ctx context.Context) error

type StorageHealthCheck

type StorageHealthCheck struct {
	// contains filtered or unexported fields
}

func NewStorageHealthCheck

func NewStorageHealthCheck(
	redisCluster *distributed.RedisClusterCache,
	blockchain *blockchain.BlockchainAuditStore,
	tracer tracing.Tracer,
) *StorageHealthCheck

func (*StorageHealthCheck) Check

func (h *StorageHealthCheck) Check(ctx context.Context) error

func (*StorageHealthCheck) CheckBlockchain

func (h *StorageHealthCheck) CheckBlockchain(ctx context.Context) error

func (*StorageHealthCheck) CheckRedisCluster

func (h *StorageHealthCheck) CheckRedisCluster(ctx context.Context) error

func (*StorageHealthCheck) Name

func (h *StorageHealthCheck) Name() string

Jump to

Keyboard shortcuts

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