Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for url (0.23 sec)

  1. cmd/admin-handlers.go

    		return
    	}
    
    	content, err := downloadReleaseURL(u, updateTimeout, mode)
    	if err != nil {
    		writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, err), r.URL)
    		return
    	}
    
    	sha256Sum, lrTime, releaseInfo, err := parseReleaseData(content)
    	if err != nil {
    		writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, err), r.URL)
    		return
    	}
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Apr 21 11:43:18 GMT 2024
    - 97.3K bytes
    - Viewed (2)
  2. cmd/admin-handlers-users.go

    		writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, err), r.URL)
    		return
    	}
    
    	data, err := json.Marshal(allCredentials)
    	if err != nil {
    		writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, err), r.URL)
    		return
    	}
    
    	econfigData, err := madmin.EncryptData(password, data)
    	if err != nil {
    		writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, err), r.URL)
    		return
    	}
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 25 15:50:16 GMT 2024
    - 77.3K bytes
    - Viewed (0)
  3. cmd/batch-handlers.go

    		writeErrorResponseJSON(ctx, w, toAPIError(ctx, errInvalidArgument), r.URL)
    		return
    	}
    
    	req := &BatchJobRequest{}
    	if err := req.load(ctx, objectAPI, pathJoin(batchJobPrefix, jobID)); err != nil {
    		if !errors.Is(err, errNoSuchJob) {
    			batchLogIf(ctx, err)
    		}
    
    		writeErrorResponseJSON(ctx, w, toAPIError(ctx, err), r.URL)
    		return
    	}
    
    	buf, err := yaml.Marshal(req)
    	if err != nil {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Apr 08 14:11:38 GMT 2024
    - 55.2K bytes
    - Viewed (0)
  4. cmd/bucket-handlers.go

    	successStatus := formValues.Get("success_action_status")
    	var redirectURL *url.URL
    	if successRedirect != "" {
    		redirectURL, err = url.Parse(successRedirect)
    		if err != nil {
    			writeErrorResponse(ctx, w, errorCodes.ToAPIErr(ErrMalformedPOSTRequest), r.URL)
    			return
    		}
    	}
    
    	// Verify policy signature.
    	cred, errCode := doesPolicySignatureMatch(formValues)
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 25 16:27:27 GMT 2024
    - 61.6K bytes
    - Viewed (0)
  5. istioctl/pkg/describe/describe.go

    		fmt.Fprintf(writer, "Suggestion: add required service name label for Istio telemetry. "+
    			"See %s.\n", url.DeploymentRequirements)
    	}
    	if !labels.HasCanonicalServiceRevision(pod.Labels) {
    		fmt.Fprintf(writer, "Suggestion: add required service revision label for Istio telemetry. "+
    			"See %s.\n", url.DeploymentRequirements)
    	}
    }
    
    func kname(meta metav1.ObjectMeta) string {
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Sat Apr 13 05:23:38 GMT 2024
    - 50.4K bytes
    - Viewed (0)
  6. cmd/xl-storage_test.go

    	return newLocalXLStorageWithDiskIdx(path, 0)
    }
    
    // Initialize a new storage disk.
    func newLocalXLStorageWithDiskIdx(path string, diskIdx int) (*xlStorage, error) {
    	u := url.URL{Path: path}
    	return newXLStorage(Endpoint{
    		URL:     &u,
    		IsLocal: true,
    		PoolIdx: 0,
    		SetIdx:  0,
    		DiskIdx: diskIdx,
    	}, true)
    }
    
    // creates a temp dir and sets up xlStorage layer.
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 11 17:45:28 GMT 2024
    - 66.7K bytes
    - Viewed (0)
  7. cmd/test-utils_test.go

    		req.Header.Set("Expires", expiresStr)
    	}
    
    	// url.RawPath will be valid if path has any encoded characters, if not it will
    	// be empty - in which case we need to consider url.Path (bug in net/http?)
    	encodedResource := req.URL.RawPath
    	encodedQuery := req.URL.RawQuery
    	if encodedResource == "" {
    		splits := strings.SplitN(req.URL.Path, "?", 2)
    		encodedResource = splits[0]
    		if len(splits) == 2 {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:06:57 GMT 2024
    - 75.7K bytes
    - Viewed (0)
  8. cmd/iam.go

    	}
    
    	if authZPluginCfg.URL == nil {
    		opaCfg, err := opa.LookupConfig(s[config.PolicyOPASubSys][config.Default],
    			NewHTTPTransport(), xhttp.DrainBody)
    		if err != nil {
    			iamLogIf(ctx, fmt.Errorf("Unable to initialize AuthZPlugin from legacy OPA config: %w", err))
    		} else {
    			authZPluginCfg.URL = opaCfg.URL
    			authZPluginCfg.AuthToken = opaCfg.AuthToken
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 25 21:28:16 GMT 2024
    - 71.1K bytes
    - Viewed (1)
  9. cmd/api-errors.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package cmd
    
    import (
    	"context"
    	"encoding/xml"
    	"errors"
    	"fmt"
    	"net/http"
    	"net/url"
    	"os"
    	"strconv"
    	"strings"
    
    	"github.com/Azure/azure-storage-blob-go/azblob"
    	"github.com/minio/minio/internal/ioutil"
    	"google.golang.org/api/googleapi"
    
    	"github.com/minio/madmin-go/v3"
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Apr 22 17:49:30 GMT 2024
    - 90.6K bytes
    - Viewed (6)
  10. cmd/sts-handlers_test.go

    	defer cancel()
    
    	for i, testApp := range testApps {
    		configCmds := []string{
    			fmt.Sprintf("identity_openid:%d", i),
    			fmt.Sprintf("config_url=%s/.well-known/openid-configuration", testApp.ProviderURL),
    			fmt.Sprintf("client_id=%s", testApp.ClientID),
    			fmt.Sprintf("client_secret=%s", testApp.ClientSecret),
    			"scopes=openid,groups",
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 25 15:50:16 GMT 2024
    - 85.7K bytes
    - Viewed (0)
Back to top