Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 3,443 for yamlv3 (0.31 sec)

  1. pilot/pkg/config/file/store.go

    	}
    
    	// Build flat map for analyzers if the line JSON object exists, if the YAML text is ill-formed, this will be nil
    	fieldMap := make(map[string]int)
    
    	// yamlv3.Node contains information like line number of the node, which will be used with its name to construct the field map
    	yamlChunkNode := yamlv3.Node{}
    	err = yamlv3.Unmarshal(yamlChunk, &yamlChunkNode)
    	if err == nil && len(yamlChunkNode.Content) == 1 {
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Feb 02 17:36:47 UTC 2024
    - 18.2K bytes
    - Viewed (0)
  2. operator/pkg/util/yaml.go

    		return true
    	}
    	ajb, err := yaml.YAMLToJSON([]byte(a))
    	if err != nil {
    		scope.Debugf("bad YAML in isYAMLEqual:\n%s", a)
    		return false
    	}
    	bjb, err := yaml.YAMLToJSON([]byte(b))
    	if err != nil {
    		scope.Debugf("bad YAML in isYAMLEqual:\n%s", b)
    		return false
    	}
    
    	return bytes.Equal(ajb, bjb)
    }
    
    // IsYAMLEmpty reports whether the YAML string y is logically empty.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Jan 14 02:41:27 UTC 2023
    - 7.2K bytes
    - Viewed (0)
  3. operator/pkg/object/objects_test.go

    				}
    			}
    		})
    	}
    }
    
    // compareYAMLContent compares two yaml resources and returns true if they are equal. If they have same content but different
    // order of fields, it will return true as well.
    func compareYAMLContent(yaml1, yaml2 string) bool {
    	var obj1, obj2 interface{}
    	err := k8syaml.Unmarshal([]byte(yaml1), &obj1)
    	if err != nil {
    		return false
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Sep 21 07:16:46 UTC 2023
    - 18.4K bytes
    - Viewed (0)
  4. operator/pkg/tpath/util.go

    */
    
    package tpath
    
    import (
    	"gopkg.in/yaml.v2"
    	yaml2 "sigs.k8s.io/yaml"
    
    	"istio.io/istio/operator/pkg/util"
    )
    
    // AddSpecRoot adds a root node called "spec" to the given tree and returns the resulting tree.
    func AddSpecRoot(tree string) (string, error) {
    	t, nt := make(map[string]any), make(map[string]any)
    	if err := yaml.Unmarshal([]byte(tree), &t); err != nil {
    		return "", err
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jul 25 19:30:47 UTC 2022
    - 1.7K bytes
    - Viewed (0)
  5. operator/pkg/patch/patch.go

    // or a list of errors otherwise.
    func applyPatches(base *object.K8sObject, patches []*v1alpha1.K8SObjectOverlay_PathValue) (outYAML string, errs util.Errors) {
    	bo := make(map[any]any)
    	by, err := base.YAML()
    	if err != nil {
    		return "", util.NewErrs(err)
    	}
    	// Use yaml2 specifically to allow interface{} as key which WritePathContext treats specially
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Aug 10 15:35:03 UTC 2023
    - 6.2K bytes
    - Viewed (0)
  6. build/dependencies.yaml

        - path: staging/src/k8s.io/kubectl/testdata/set/multi-resource-yaml.yaml
          match: registry.k8s.io\/pause:\d+\.\d+
        - path: staging/src/k8s.io/kubectl/testdata/set/namespaced-resource.yaml
          match: registry.k8s.io\/pause:\d+\.\d+
        - path: test/cmd/core.sh
          match: registry.k8s.io\/pause:\d+\.\d+
        - path: test/fixtures/pkg/kubectl/cmd/set/multi-resource-yaml.yaml
          match: registry.k8s.io\/pause:\d+\.\d+
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jun 06 16:13:15 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  7. samples/addons/loki.yaml

    ---
    # Source: loki/templates/serviceaccount.yaml
    apiVersion: v1
    kind: ServiceAccount
    metadata:
      name: loki
      namespace: istio-system
      labels:
        helm.sh/chart: loki-6.6.3
        app.kubernetes.io/name: loki
        app.kubernetes.io/instance: loki
        app.kubernetes.io/version: "3.0.0"
        app.kubernetes.io/managed-by: Helm
    automountServiceAccountToken: true
    ---
    # Source: loki/templates/config.yaml
    apiVersion: v1
    kind: ConfigMap
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 18:57:35 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/g3doc/_book.yaml

    upper_tabs:
    # Tabs left of dropdown menu
    - include: /_upper_tabs_left.yaml
    - include: /api_docs/_upper_tabs_api.yaml
    # Dropdown menu
    - name: Resources
      path: /resources
      is_default: true
      menu:
      - include: /resources/_menu_toc.yaml
      lower_tabs:
        # Subsite tabs
        other:
        - name: Guide
          contents:
          - title: Overview
            path: /mlir/overview
          - heading: Dialects
          - title: Overview
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Feb 22 15:00:03 UTC 2022
    - 674 bytes
    - Viewed (0)
  9. staging/src/k8s.io/cli-runtime/pkg/printers/yaml.go

    limitations under the License.
    */
    
    package printers
    
    import (
    	"fmt"
    	"io"
    	"reflect"
    	"sync/atomic"
    
    	"sigs.k8s.io/yaml"
    
    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    	"k8s.io/apimachinery/pkg/runtime"
    )
    
    // YAMLPrinter is an implementation of ResourcePrinter which outputs an object as YAML.
    // The input object is assumed to be in the internal version of an API and is converted
    // to the given version first.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jun 02 14:15:25 UTC 2022
    - 2.5K bytes
    - Viewed (0)
  10. manifests/charts/gateways/istio-ingress/templates/zzz_profile.yaml

    {{- $profile := dict }}
    {{- with .Values.profile }}
    {{- 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)
Back to top