Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CustomClient ¶
CustomClient with customized client
Types ¶
type HealthCheck ¶
type HealthCheck struct { Client *minio.Client // contains filtered or unexported fields }
HealthCheck checks the state of the object storage client. It must not be changed after it was registered as a health check.
func (*HealthCheck) HealthCheck ¶
func (h *HealthCheck) HealthCheck(ctx context.Context) servicehealthcheck.HealthCheckResult
HealthCheck checks if the object storage client is healthy. If the last result is outdated, object storage is checked for upload and download, otherwise returns the old result
Click to show internal directories.
Click to hide internal directories.