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) 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
Click to show internal directories.
Click to hide internal directories.