Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for readConfigWithMetadata (3.44 sec)

  1. cmd/config-common.go

    package cmd
    
    import (
    	"bytes"
    	"context"
    	"errors"
    	"io"
    	"net/http"
    
    	"github.com/minio/minio/internal/hash"
    )
    
    var errConfigNotFound = errors.New("config file not found")
    
    func readConfigWithMetadata(ctx context.Context, store objectIO, configFile string, opts ObjectOptions) ([]byte, ObjectInfo, error) {
    	r, err := store.GetObjectNInfo(ctx, minioMetaBucket, configFile, nil, http.Header{}, opts)
    	if err != nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Sep 18 17:00:54 GMT 2023
    - 3.1K bytes
    - Viewed (0)
Back to top