Boundary Plugin MinIO (#4621)
feat(storage): Add storage support for MinIO via new built-in plugin
This commit is contained in:
11 files changed
+517
No files matched your search
@@ -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 ""
|
||||
}
|
||||
|
||||
@@ -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
|
||||
}
|
||||
Reference in new issue
Block a user