Files
threshold-plugin-minio/plugin/plugin.go
T
oss-core-libraries-dashboard[bot]andhashicorp-copywrite[bot] 5ba7eda865 [COMPLIANCE] Update Copyright and License Headers (Batch 1 of 1) (#40)
Co-authored-by: hashicorp-copywrite[bot] <110428419+hashicorp-copywrite[bot]@users.noreply.github.com>
2026-01-16 15:53:48 -08:00

28 lines
726 B
Go

// Copyright IBM Corp. 2024, 2025
// SPDX-License-Identifier: MPL-2.0
package plugin
import (
"github.com/hashicorp/boundary-plugin-minio/plugin/service/storage"
pb "github.com/hashicorp/boundary/sdk/pbs/plugin"
)
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{},
}
}