Back to

Package objstore

Latest Go to latest

The latest major version is .

Published: 5 days ago | License: MIT | Module:


func Client

func Client() (*minio.Client, error)

Client with environment based configuration

func CustomClient

func CustomClient(endpoint string, opts *minio.Options) (*minio.Client, error)

CustomClient with customized client

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

Package Files

Documentation was rendered with GOOS=linux and GOARCH=amd64.

Jump to identifier

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to identifier