Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for canonical (0.34 sec)

  1. istioctl/pkg/tag/generate.go

    		len(revWebhookCollisions) > 0 && opts.Tag != DefaultRevisionName {
    		return "", fmt.Errorf("cannot create revision tag %q: found existing control plane revision with same name", opts.Tag)
    	}
    
    	// find canonical revision webhook to base our tag webhook off of
    	revWebhooks, err := GetWebhooksWithRevision(ctx, client.Kube(), opts.Revision)
    	if err != nil {
    		return "", err
    	}
    	if len(revWebhooks) == 0 {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Jan 16 17:43:49 GMT 2024
    - 13.2K bytes
    - Viewed (0)
  2. cmd/signature-v2.go

    		return false
    	}
    	signature2, err := base64.StdEncoding.DecodeString(sig2)
    	if err != nil {
    		return false
    	}
    	return subtle.ConstantTimeCompare(signature1, signature2) == 1
    }
    
    // Return canonical headers.
    func canonicalizedAmzHeadersV2(headers http.Header) string {
    	var keys []string
    	keyval := make(map[string]string, len(headers))
    	for key := range headers {
    		lkey := strings.ToLower(key)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 12.2K bytes
    - Viewed (0)
  3. istioctl/pkg/workload/workload.go

    	md := meshConfig.DefaultConfig.ProxyMetadata
    	if md == nil {
    		md = map[string]string{}
    		meshConfig.DefaultConfig.ProxyMetadata = md
    	}
    	md["CANONICAL_SERVICE"], md["CANONICAL_REVISION"] = labels.CanonicalService(lbls, wg.Name)
    	md["POD_NAMESPACE"] = wg.Namespace
    	md["SERVICE_ACCOUNT"] = we.ServiceAccount
    	md["TRUST_DOMAIN"] = meshConfig.TrustDomain
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed Apr 17 20:06:41 GMT 2024
    - 25.5K bytes
    - Viewed (0)
  4. cmd/streaming-signature-v4.go

    		return cred, "", "", time.Time{}, ErrMalformedDate
    	}
    
    	// Query string.
    	queryStr := req.Form.Encode()
    
    	// Get canonical request.
    	canonicalRequest := getCanonicalRequest(extractedSignedHeaders, payload, queryStr, req.URL.Path, req.Method)
    
    	// Get string to sign from canonical request.
    	stringToSign := getStringToSign(canonicalRequest, date, signV4Values.Credential.getScope())
    
    	// Get hmac signing key.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 18.2K bytes
    - Viewed (0)
  5. cmd/signature-v4.go

    		return ErrInvalidToken
    	}
    
    	// Verify finally if signature is same.
    
    	// Get canonical request.
    	presignedCanonicalReq := getCanonicalRequest(extractedSignedHeaders, hashedPayload, encodedQuery, req.URL.Path, req.Method)
    
    	// Get string to sign from canonical request.
    	presignedStringToSign := getStringToSign(presignedCanonicalReq, t, pSignValues.Credential.getScope())
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 19 16:45:54 GMT 2024
    - 12.3K bytes
    - Viewed (0)
  6. cni/pkg/nodeagent/podcgroupns.go

    		}
    		return podUID, matchResults["containerid"], true
    	}
    	return "", "", false
    }
    
    // canonicalizePodUID converts a Pod UID, as represented in a cgroup path, into
    // a canonical form. Practically this means that we convert any punctuation to
    // dashes, which is how the UID is represented within Kubernetes.
    func canonicalizePodUID(uid string) types.UID {
    	return types.UID(strings.Map(func(r rune) rune {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Apr 12 21:47:31 GMT 2024
    - 11K bytes
    - Viewed (0)
  7. istioctl/pkg/validate/validate_test.go

    spec:
      replicas: 1
    `
    	validIstioCanonical = `
    apiVersion: v1
    kind: Deployment
    metadata:
      name: helloworld-v1
      labels:
        service.istio.io/canonical-name: helloworld
        service.istio.io/canonical-revision: v1
    spec:
      replicas: 1
    `
    )
    
    func fromYAML(in string) *unstructured.Unstructured {
    	var un unstructured.Unstructured
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Jul 25 08:08:36 GMT 2023
    - 21.5K bytes
    - Viewed (0)
  8. src/cmd/api/main_test.go

    	stdPackages []string                     // names, omitting "unsafe", internal, and vendored packages
    	importMap   map[string]map[string]string // importer dir -> import path -> canonical path
    	importDir   map[string]string            // canonical import path -> dir
    
    }
    
    func NewWalker(context *build.Context, root string) *Walker {
    	w := &Walker{
    		context:  context,
    		root:     root,
    		features: map[string]bool{},
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Apr 09 20:48:51 GMT 2024
    - 31.4K bytes
    - Viewed (0)
  9. cmd/globals.go

    	globalMinioDefaultRegion = ""
    	// This is a sha256 output of ``arn:aws:iam::minio:user/admin``,
    	// this is kept in present form to be compatible with S3 owner ID
    	// requirements -
    	//
    	// ```
    	//    The canonical user ID is the Amazon S3–only concept.
    	//    It is 64-character obfuscated version of the account ID.
    	// ```
    	// http://docs.aws.amazon.com/AmazonS3/latest/dev/example-walkthroughs-managing-access-example4.html
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 24 04:08:47 GMT 2024
    - 16.5K bytes
    - Viewed (0)
  10. cmd/postpolicyform.go

    	var condPassed bool
    
    	// Iterate over policy conditions and check them against received form fields
    	for _, policy := range postPolicyForm.Conditions.Policies {
    		// Form fields names are in canonical format, convert conditions names
    		// to canonical for simplification purpose, so `$key` will become `Key`
    		formCanonicalName := http.CanonicalHeaderKey(strings.TrimPrefix(policy.Key, "$"))
    		// Operator for the current policy condition
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 19 16:45:54 GMT 2024
    - 12.2K bytes
    - Viewed (0)
Back to top