Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 37 for fromName (0.09 sec)

  1. manifests/charts/gateway/templates/zzz_profile.yaml

    {{- with $.Files.Get (printf "files/profile-%s.yaml" .)}}
    {{- $profile = (. | fromYaml) }}
    {{- else }}
    {{ fail (cat "unknown profile" $.Values.profile) }}
    {{- end }}
    {{- end }}
    {{- with .Values.compatibilityVersion }}
    {{- with $.Files.Get (printf "files/profile-compatibility-version-%s.yaml" .) }}
    {{- $ignore := mustMergeOverwrite $profile (. | fromYaml) }}
    {{- else }}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 02 22:30:06 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  2. manifests/charts/istio-operator/templates/zzz_profile.yaml

    {{- with $.Files.Get (printf "files/profile-%s.yaml" .)}}
    {{- $profile = (. | fromYaml) }}
    {{- else }}
    {{ fail (cat "unknown profile" $.Values.profile) }}
    {{- end }}
    {{- end }}
    {{- with .Values.compatibilityVersion }}
    {{- with $.Files.Get (printf "files/profile-compatibility-version-%s.yaml" .) }}
    {{- $ignore := mustMergeOverwrite $profile (. | fromYaml) }}
    {{- else }}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 02 22:30:06 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  3. istioctl/pkg/writer/ztunnel/configdump/certificates.go

    		log.Errorf("certificate timestamp (%v) could not be parsed: %v", cert.ExpirationTime, err)
    		return false
    	}
    	fromDate, err := time.Parse(time.RFC3339, cert.ValidFrom)
    	if err != nil {
    		log.Errorf("certificate timestamp (%v) could not be parsed: %v", cert.ValidFrom, err)
    		return false
    	}
    	if today.After(fromDate) && today.Before(expDate) {
    		return true
    	}
    	return false
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Apr 25 16:38:16 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  4. pilot/pkg/config/kube/crd/conversion.go

    	status, err := schema.Status()
    	if err != nil {
    		return nil, err
    	}
    	err = json.Unmarshal(js, status)
    	if err != nil {
    		return nil, err
    	}
    	return status, nil
    }
    
    // FromYAML converts a canonical YAML to a proto message
    func FromYAML(s resource.Schema, yml string) (config.Spec, error) {
    	c, err := s.NewInstance()
    	if err != nil {
    		return nil, err
    	}
    	if err = config.ApplyYAML(c, yml); err != nil {
    		return nil, err
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Apr 25 18:26:16 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  5. src/mime/multipart/writer_test.go

    			t.Fatal("String: unexpected newline")
    		}
    	}
    
    	r := NewReader(&b, w.Boundary())
    
    	part, err := r.NextPart()
    	if err != nil {
    		t.Fatalf("part 1: %v", err)
    	}
    	if g, e := part.FormName(), "myfile"; g != e {
    		t.Errorf("part 1: want form name %q, got %q", e, g)
    	}
    	slurp, err := io.ReadAll(part)
    	if err != nil {
    		t.Fatalf("part 1: ReadAll: %v", err)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 06 17:36:47 UTC 2022
    - 4.1K bytes
    - Viewed (0)
  6. manifests/charts/istio-control/istio-discovery/templates/configmap.yaml

    {{/* The intent here is that meshConfig.foo becomes the API, rather than re-inventing the API in values.yaml */}}
    {{- $originalMesh := include "mesh" . | fromYaml }}
    {{- $mesh := mergeOverwrite $originalMesh .Values.meshConfig }}
    
    {{- if .Values.pilot.configMap }}
    apiVersion: v1
    kind: ConfigMap
    metadata:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Apr 18 18:16:49 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  7. istioctl/pkg/validate/validate_test.go

    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
    	if err := yaml.Unmarshal([]byte(in), &un); err != nil {
    		panic(err)
    	}
    	return &un
    }
    
    func TestValidateResource(t *testing.T) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Jul 25 08:08:36 UTC 2023
    - 21.5K bytes
    - Viewed (0)
  8. manifests/charts/istiod-remote/templates/configmap.yaml

    {{/* The intent here is that meshConfig.foo becomes the API, rather than re-inventing the API in values.yaml */}}
    {{- $originalMesh := include "mesh" . | fromYaml }}
    {{- $mesh := mergeOverwrite $originalMesh .Values.meshConfig }}
    
    {{- if .Values.pilot.configMap }}
    apiVersion: v1
    kind: ConfigMap
    metadata:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Apr 18 18:16:49 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  9. src/mime/multipart/multipart.go

    	err     error // error to return when n == 0
    	readErr error // read error observed from mr.bufReader
    }
    
    // FormName returns the name parameter if p has a Content-Disposition
    // of type "form-data".  Otherwise it returns the empty string.
    func (p *Part) FormName() string {
    	// See https://tools.ietf.org/html/rfc2183 section 2 for EBNF
    	// of Content-Disposition value format.
    	if p.dispositionParams == nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 16:12:35 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  10. src/mime/multipart/formdata.go

    		if err == io.EOF {
    			break
    		}
    		if err != nil {
    			return nil, err
    		}
    		if maxParts <= 0 {
    			return nil, ErrMessageTooLarge
    		}
    		maxParts--
    
    		name := p.FormName()
    		if name == "" {
    			continue
    		}
    		filename := p.FileName()
    
    		// Multiple values for the same key (one map entry, longer slice) are cheaper
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 16:12:35 UTC 2024
    - 7.7K bytes
    - Viewed (0)
Back to top