- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 19 for migration (0.21 sec)
-
internal/config/identity/ldap/legacy.go
// Lookup bind LDAP service account LookupBindDN string `json:"lookupBindDN"` LookupBindPassword string `json:"lookupBindPassword"` } // SetIdentityLDAP - One time migration code needed, for migrating from older config to new for LDAPConfig. func SetIdentityLDAP(s config.Config, ldapArgs LegacyConfig) { if !ldapArgs.Enabled { // ldap not enabled no need to preserve it in new settings. return }
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Sat Oct 08 05:12:36 GMT 2022 - 2.2K bytes - Viewed (0) -
buildscripts/minio-iam-ldap-upgrade-import-test.sh
#!/bin/bash # This script is used to test the migration of IAM content from old minio # instance to new minio instance. # # To run it locally, start the LDAP server in github.com/minio/minio-iam-testing # repo (e.g. make podman-run), and then run this script. # # This script assumes that LDAP server is at: # # `localhost:1389` # # if this is not the case, set the environment variable # `_MINIO_LDAP_TEST_SERVER`.
Shell Script - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Thu Apr 25 15:49:53 GMT 2024 - 3.4K bytes - Viewed (0) -
cmd/format-meta.go
// and format-xl.go for details. // Ideally we will never have a situation where we will have to change the // fields of this struct and deal with related migration. type formatMetaV1 struct { // Version of the format config. Version string `json:"version"` // Format indicates the backend format type, supports two values 'xl' and 'fs'. Format string `json:"format"`
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Fri Apr 23 18:58:53 GMT 2021 - 1.7K bytes - Viewed (0) -
cmd/format-erasure.go
if err := json.Unmarshal(b, format); err != nil { return "", err } return format.Erasure.Version, nil } // Migrates all previous versions to latest version of `format.json`, // this code calls migration in sequence, such as V1 is migrated to V2 // first before it V2 migrates to V3.n func formatErasureMigrate(export string) ([]byte, fs.FileInfo, error) { formatPath := pathJoin(export, minioMetaBucket, formatConfigFile)
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Fri May 03 15:54:03 GMT 2024 - 23.2K bytes - Viewed (0) -
internal/config/notify/legacy.go
package notify import ( "fmt" "strconv" "strings" "github.com/minio/minio/internal/config" "github.com/minio/minio/internal/event/target" ) // SetNotifyKafka - helper for config migration from older config. func SetNotifyKafka(s config.Config, name string, cfg target.KafkaArgs) error { if !cfg.Enable { return nil } if err := cfg.Validate(); err != nil { return err }
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Tue Mar 19 04:37:54 GMT 2024 - 13.1K bytes - Viewed (0) -
cmd/format-erasure_test.go
t.Fatalf("expected value false, got %t", ok) } formats[2].Erasure.This = "" if ok := formatErasureV3ThisEmpty(formats); !ok { t.Fatalf("expected value true, got %t", ok) } } // Tests xl format migration. func TestFormatErasureMigrate(t *testing.T) { // Get test root. rootPath := t.TempDir() m := &formatErasureV1{} m.Format = formatBackendErasure m.Version = formatMetaVersionV1
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Mon Apr 15 08:25:46 GMT 2024 - 12.9K bytes - Viewed (0) -
internal/config/legacy.go
// // You should have received a copy of the GNU Affero General Public License // along with this program. If not, see <http://www.gnu.org/licenses/>. package config // One time migration code section // SetRegion - One time migration code needed, for migrating from older config to new for server Region. func SetRegion(c Config, name string) { if name == "" { return } c[RegionSubSys][Default] = KVS{ KV{ Key: RegionName,
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Mon Dec 19 20:27:06 GMT 2022 - 1.1K bytes - Viewed (0) -
internal/config/compress/legacy.go
EnvCompressExtensionsLegacy = "MINIO_COMPRESS_EXTENSIONS" EnvCompressMimeTypesLegacy2 = "MINIO_COMPRESS_MIME_TYPES" ) // SetCompressionConfig - One time migration code needed, for migrating from older config to new for Compression. func SetCompressionConfig(s config.Config, cfg Config) { if !cfg.Enabled { // No need to save disabled settings in new config. return }
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Sun Jul 17 15:43:14 GMT 2022 - 1.8K bytes - Viewed (0) -
cmd/admin-router.go
adminMiddleware(adminAPI.DescribeBatchJob)) adminRouter.Methods(http.MethodDelete).Path(adminVersion + "/cancel-job").HandlerFunc( adminMiddleware(adminAPI.CancelBatchJob)) // Bucket migration operations // ExportBucketMetaHandler adminRouter.Methods(http.MethodGet).Path(adminVersion + "/export-bucket-metadata").HandlerFunc( adminMiddleware(adminAPI.ExportBucketMetadataHandler)) // ImportBucketMetaHandler
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Sun Mar 10 21:09:36 GMT 2024 - 25.5K bytes - Viewed (0) -
internal/config/storageclass/legacy.go
// along with this program. If not, see <http://www.gnu.org/licenses/>. package storageclass import ( "github.com/minio/minio/internal/config" ) // SetStorageClass - One time migration code needed, for migrating from older config to new for StorageClass. func SetStorageClass(s config.Config, cfg Config) { if len(cfg.Standard.String()) == 0 && len(cfg.RRS.String()) == 0 { // Do not enable storage-class if no settings found.
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Tue Jun 01 21:59:40 GMT 2021 - 1.3K bytes - Viewed (0)