Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 3,646 for yamlv3 (0.12 sec)

  1. 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)
  2. 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)
  3. 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)
  4. hack/testdata/kustomize/kustomization.yaml

    nameprefix: test-
    resources:
    - deployment.yaml
    - service.yaml
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Feb 26 00:31:03 UTC 2019
    - 79 bytes
    - Viewed (0)
  5. staging/src/k8s.io/cli-runtime/artifacts/kustomization/kustomization.yaml

    nameprefix: test-
    resources:
    - deployment.yaml
    - service.yaml
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Feb 26 00:29:27 UTC 2019
    - 79 bytes
    - Viewed (0)
  6. staging/src/k8s.io/apimachinery/pkg/runtime/serializer/yaml/yaml.go

    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package yaml
    
    import (
    	"k8s.io/apimachinery/pkg/runtime"
    	"k8s.io/apimachinery/pkg/runtime/schema"
    	"k8s.io/apimachinery/pkg/util/yaml"
    )
    
    // yamlSerializer converts YAML passed to the Decoder methods to JSON.
    type yamlSerializer struct {
    	// the nested serializer
    	runtime.Serializer
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jan 11 14:09:48 UTC 2017
    - 1.4K 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