- Sort Score
- Num 10 results
- Language All
Results 81 - 90 of 268 for Initialized (0.08 seconds)
-
cmd/bucket-policy-handlers_test.go
}, } // Iterating over the test cases, calling the function under test and asserting the response. for i, testCase := range testCases { // obtain the put bucket policy request body. // initialize HTTP NewRecorder, this records any mutations to response writer inside the handler. recV4 := httptest.NewRecorder() // construct HTTP request for PUT bucket policy endpoint.Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 32.9K bytes - Click Count (0) -
cmd/xl-storage_unix_test.go
func TestIsValidUmaskVol(t *testing.T) { tmpPath := t.TempDir() testCases := []struct { volName string expectedUmask int }{ {"is-this-valid", getUmask()}, } testCase := testCases[0] // Initialize a new xlStorage layer. disk, err := newLocalXLStorage(tmpPath) if err != nil { t.Fatalf("Initializing xlStorage failed with %s.", err) } // Attempt to create a volume to verify the permissions later.
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Wed Apr 09 14:28:39 GMT 2025 - 3.4K bytes - Click Count (0) -
cmd/bucket-handlers_test.go
// if object upload fails stop the test. if err != nil { t.Fatalf("Error uploading object: <ERROR> %v", err) } // initialize httptest Recorder, this records any mutations to response writer inside the handler. rec := httptest.NewRecorder() // construct HTTP request for DELETE bucket.Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 39.8K bytes - Click Count (0) -
helm/minio/templates/post-job.yaml
{{- if .Values.makeBucketJob.exitCommand }} command: [ "/bin/sh", "-c" ] args: [ "/bin/sh /config/initialize; EV=$?; {{ .Values.makeBucketJob.exitCommand }} && exit $EV" ] {{- else }} command: [ "/bin/sh", "/config/initialize" ] {{- end }} env: - name: MINIO_ENDPOINT value: {{ template "minio.fullname" . }}Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Thu Oct 10 15:48:31 GMT 2024 - 10.4K bytes - Click Count (0) -
cmd/config-current_test.go
} if err := saveServerConfig(t.Context(), objLayer, globalServerConfig); err != nil { t.Fatalf("Unable to save updated config file %s", err) } // Initialize server config. if err := loadConfig(objLayer, nil); err != nil { t.Fatalf("Unable to initialize from updated config file %s", err) }
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Wed Apr 09 14:28:39 GMT 2025 - 1.9K bytes - Click Count (0) -
internal/config/etcd/etcd.go
) // Config - server etcd config. type Config struct { Enabled bool `json:"enabled"` PathPrefix string `json:"pathPrefix"` CoreDNSPath string `json:"coreDNSPath"` clientv3.Config } // New - initialize new etcd client. func New(cfg Config) (*clientv3.Client, error) { if !cfg.Enabled { return nil, nil } cli, err := clientv3.New(cfg.Config) if err != nil { return nil, err }Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri May 16 14:27:42 GMT 2025 - 5.2K bytes - Click Count (0) -
cmd/post-policy_test.go
objectName := "config/x" // This exploit needs browser to be enabled. if !globalBrowserEnabled { globalBrowserEnabled = true defer func() { globalBrowserEnabled = false }() } // initialize HTTP NewRecorder, this records any mutations to response writer inside the handler. rec := httptest.NewRecorder()Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 30.6K bytes - Click Count (0) -
cmd/storage-rest-server.go
logger.Fatal(config.ErrUnableToWriteInBackend(err).Hint("%s", hint), "Unable to initialize backend") } case errors.Is(err, errFaultyDisk): if !exit { storageLogOnceIf(GlobalContext, fmt.Errorf("Drive is faulty at %s, please replace the drive - drive will be offline", endpoint), "log-fatal-errs") } else { logger.Fatal(err, "Unable to initialize backend") } case errors.Is(err, errDiskFull): if !exit {
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Tue May 27 15:19:03 GMT 2025 - 45.7K bytes - Click Count (0) -
cmd/object-handlers_test.go
expectedRespStatus: http.StatusForbidden, }, } // Iterating over the cases, fetching the object validating the response. for i, testCase := range testCases { // initialize HTTP NewRecorder, this records any mutations to response writer inside the handler. rec := httptest.NewRecorder() // construct HTTP request for Get Object end point.Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 163.1K bytes - Click Count (0) -
helm/minio/templates/configmap.yaml
metadata: name: {{ template "minio.fullname" . }} labels: app: {{ template "minio.name" . }} chart: {{ template "minio.chart" . }} release: {{ .Release.Name }} heritage: {{ .Release.Service }} data: initialize: |- {{- include (print $.Template.BasePath "/_helper_create_bucket.txt") . | nindent 4 }} add-user: |- {{- include (print $.Template.BasePath "/_helper_create_user.txt") . | nindent 4 }} add-policy: |-Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Mon Apr 17 06:04:15 GMT 2023 - 1.2K bytes - Click Count (0)