Boundary Plugin MinIO (#4621)

feat(storage): Add storage support for MinIO via new built-in plugin
This commit is contained in:
dani authored and GitHub committed 2024-04-12 11:28:40 -04:00
1 parent a79e35da54
commit 1a77e4da86
11 files changed
+517

No files matched your search

+6
View File
@@ -37,8 +37,12 @@ const (
EnabledPluginLoopback
EnabledPluginAws
EnabledPluginHostAzure
EnabledPluginMinio
)
// MinioEnabled controls if the Minio storage plugin should be initiated or not
var MinioEnabled bool
func (e EnabledPlugin) String() string {
switch e {
case EnabledPluginLoopback:
@@ -47,6 +51,8 @@ func (e EnabledPlugin) String() string {
return "AWS"
case EnabledPluginHostAzure:
return "Azure"
case EnabledPluginMinio:
return "MinIO"
default:
return ""
}
+11
View File
@@ -0,0 +1,11 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: BUSL-1.1
//go:build !netbsd
// +build !netbsd
package base
func init() {
MinioEnabled = true
}