Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 28 for Somani (0.2 sec)

  1. cmd/crossdomain-xml-handler.go

    package cmd
    
    import "net/http"
    
    // Standard cross domain policy information located at https://s3.amazonaws.com/crossdomain.xml
    const crossDomainXML = `<?xml version="1.0"?><!DOCTYPE cross-domain-policy SYSTEM "http://www.adobe.com/xml/dtds/cross-domain-policy.dtd"><cross-domain-policy><allow-access-from domain="*" secure="false" /></cross-domain-policy>`
    
    // Standard path where an app would find cross domain policy information.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Mar 18 06:42:40 GMT 2024
    - 2.2K bytes
    - Viewed (0)
  2. internal/crypto/sse_test.go

    func TestS3String(t *testing.T) {
    	const Domain = "SSE-S3"
    	if domain := S3.String(); domain != Domain {
    		t.Errorf("S3's string method returns wrong domain: got '%s' - want '%s'", domain, Domain)
    	}
    }
    
    func TestSSECString(t *testing.T) {
    	const Domain = "SSE-C"
    	if domain := SSEC.String(); domain != Domain {
    		t.Errorf("SSEC's string method returns wrong domain: got '%s' - want '%s'", domain, Domain)
    	}
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Jun 01 21:59:40 GMT 2021
    - 8.4K bytes
    - Viewed (0)
  3. internal/crypto/key.go

    }
    
    // Seal encrypts the ObjectKey using the 256 bit external key and IV. The sealed
    // key is also cryptographically bound to the object's path (bucket/object) and the
    // domain (SSE-C or SSE-S3).
    func (key ObjectKey) Seal(extKey []byte, iv [32]byte, domain, bucket, object string) SealedKey {
    	if len(extKey) != 32 {
    		logger.CriticalIf(context.Background(), errors.New("crypto: invalid key length"))
    	}
    	var (
    		sealingKey   [32]byte
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Mar 19 20:28:10 GMT 2024
    - 6.4K bytes
    - Viewed (0)
  4. cmd/api-router.go

    				}
    				// Make sure to skip matching minio.<domain>` this is
    				// specifically meant for operator/k8s deployment
    				// The reason we need to skip this is for a special
    				// usecase where we need to make sure that
    				// minio.<namespace>.svc.<cluster_domain> is ignored
    				// by the bucketDNS style to ensure that path style
    				// is available and honored at this domain.
    				//
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Mar 04 18:05:56 GMT 2024
    - 22.8K bytes
    - Viewed (0)
  5. istioctl/pkg/clioptions/central.go

    		"XDS Subject Alternative Name (for example istiod.istio-system.svc)")
    	cmd.PersistentFlags().BoolVar(&o.InsecureSkipVerify, "insecure", viper.GetBool("INSECURE"),
    		"Skip server certificate and domain verification. (NOT SECURE!)")
    	cmd.PersistentFlags().BoolVar(&o.Plaintext, "plaintext", viper.GetBool("PLAINTEXT"),
    		"Use plain-text HTTP/2 when connecting to server (no TLS).")
    }
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Jun 06 03:39:27 GMT 2022
    - 3.2K bytes
    - Viewed (0)
  6. internal/config/constants.go

    	// overrides all environment values passed from
    	// 'podman run -e ENV=value'
    	EnvConfigEnvFile = "MINIO_CONFIG_ENV_FILE"
    
    	EnvBrowser    = "MINIO_BROWSER"
    	EnvDomain     = "MINIO_DOMAIN"
    	EnvPublicIPs  = "MINIO_PUBLIC_IPS"
    	EnvFSOSync    = "MINIO_FS_OSYNC"
    	EnvArgs       = "MINIO_ARGS"
    	EnvVolumes    = "MINIO_VOLUMES"
    	EnvDNSWebhook = "MINIO_DNS_WEBHOOK_ENDPOINT"
    
    	EnvSiteName   = "MINIO_SITE_NAME"
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Jan 01 16:36:33 GMT 2024
    - 3.4K bytes
    - Viewed (3)
  7. cmd/handler-utils.go

    	xhost, err := xnet.ParseHost(host)
    	if err != nil {
    		return "", err
    	}
    
    	for _, domain := range domains {
    		if xhost.Name == minioReservedBucket+"."+domain {
    			continue
    		}
    		if !strings.HasSuffix(xhost.Name, "."+domain) {
    			continue
    		}
    		bucket := strings.TrimSuffix(xhost.Name, "."+domain)
    		return SlashSeparator + pathJoin(bucket, path), nil
    	}
    	return path, nil
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 15.5K bytes
    - Viewed (3)
  8. cmd/crossdomain-xml-handler_test.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package cmd
    
    import (
    	"net/http"
    	"net/http/httptest"
    	"testing"
    
    	"github.com/minio/mux"
    )
    
    // Test cross domain xml handler.
    func TestCrossXMLHandler(t *testing.T) {
    	// Server initialization.
    	router := mux.NewRouter().SkipClean(true).UseEncodedPath()
    	handler := setCrossDomainPolicyMiddleware(router)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Jul 08 14:31:42 GMT 2023
    - 1.3K bytes
    - Viewed (0)
  9. internal/crypto/sse-kms.go

    type ssekms struct{}
    
    var (
    	// S3KMS represents AWS SSE-KMS. It provides functionality to
    	// handle SSE-KMS requests.
    	S3KMS = ssekms{}
    
    	_ Type = S3KMS
    )
    
    // String returns the SSE domain as string. For SSE-KMS the
    // domain is "SSE-KMS".
    func (ssekms) String() string { return "SSE-KMS" }
    
    // IsRequested returns true if the HTTP headers contains
    // at least one SSE-KMS header.
    func (ssekms) IsRequested(h http.Header) bool {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 8.4K bytes
    - Viewed (0)
  10. cmd/api-response.go

    	}
    	u := &url.URL{
    		Host:   r.Host,
    		Path:   path.Join(SlashSeparator, bucket, object),
    		Scheme: proto,
    	}
    	// If domain is set then we need to use bucket DNS style.
    	for _, domain := range domains {
    		if strings.HasPrefix(r.Host, bucket+"."+domain) {
    			u.Path = path.Join(SlashSeparator, object)
    			break
    		}
    	}
    	return u.String()
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 33.3K bytes
    - Viewed (2)
Back to top