Files

27 lines
756 B
Go
Raw Permalink Normal View History

// Copyright IBM Corp. 2025, 2026
2024-02-23 15:10:41 +00:00
// SPDX-License-Identifier: MPL-2.0
package plugin
import (
"repo.anhonesthost.net/CyberCoveLLC/threshold-plugin-minio/plugin/service/storage"
pb "repo.anhonesthost.net/CyberCoveLLC/threshold/sdk/pbs/plugin"
2024-02-23 15:10:41 +00:00
)
var (
_ pb.StoragePluginServiceServer = (*storage.StoragePlugin)(nil)
)
// MinioPlugin contains a collection of all MinIO plugin services.
type MinioPlugin struct {
// StoragePlugin implements the StoragePluginServiceServer interface for
// supporting storing and retrieving BSR data from a MinIO instance.
*storage.StoragePlugin
}
// NewMinioPlugin creates a new instance of the MinIO Plugin.
func NewMinioPlugin() *MinioPlugin {
return &MinioPlugin{
StoragePlugin: &storage.StoragePlugin{},
}
}