Files
storage-minio/component.go

20 lines
567 B
Go
Raw Permalink Normal View History

package minio
import (
miniogo "github.com/minio/minio-go/v7"
"code.nochebuena.dev/einherjar/contracts/lifecycle"
"code.nochebuena.dev/einherjar/contracts/observability"
)
// Component bundles lifecycle management, health checks, and MinIO client operations.
// Register with the launcher and health aggregator before starting.
type Component interface {
lifecycle.Component
observability.Checkable
observability.Identifiable
Provider
// Native returns the underlying minio-go SDK client for operations not covered by Provider.
Native() *miniogo.Client
}