Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 118 for tpath (0.28 sec)

  1. src/cmd/cover/cfg_test.go

    	"encoding/json"
    	"fmt"
    	"internal/testenv"
    	"os"
    	"path/filepath"
    	"strings"
    	"testing"
    )
    
    func writeFile(t *testing.T, path string, contents []byte) {
    	if err := os.WriteFile(path, contents, 0666); err != nil {
    		t.Fatalf("os.WriteFile(%s) failed: %v", path, err)
    	}
    }
    
    func writePkgConfig(t *testing.T, outdir, tag, ppath, pname string, gran string, mpath string) string {
    	incfg := filepath.Join(outdir, tag+"incfg.txt")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 15 12:51:11 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  2. operator/pkg/translate/translate_common.go

    // valuePath points to component path in the values tree.
    func IsComponentEnabledFromValue(cn name.ComponentName, valueSpec map[string]any) (enabled bool, pathExist bool, err error) {
    	t := NewTranslator()
    	cnMap, ok := t.ComponentMaps[cn]
    	if !ok {
    		return false, false, nil
    	}
    	valuePath := cnMap.ToHelmValuesTreeRoot
    	enabledPath := valuePath + ".enabled"
    	enableNodeI, found, err := tpath.Find(valueSpec, util.ToYAMLPath(enabledPath))
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun Apr 21 17:42:54 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  3. operator/cmd/mesh/profile-dump.go

    	if err != nil {
    		return err
    	}
    	y, err = tpath.GetConfigSubtree(y, "spec")
    	if err != nil {
    		return err
    	}
    
    	if pdArgs.configPath == "" {
    		if y, err = prependHeader(y); err != nil {
    			return err
    		}
    	} else {
    		if y, err = tpath.GetConfigSubtree(y, pdArgs.configPath); err != nil {
    			return err
    		}
    	}
    
    	var output string
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Mar 15 01:18:49 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  4. operator/pkg/compare/compare.go

    type YAMLCmpReporter struct {
    	path     cmp.Path
    	diffTree map[string]any
    }
    
    // PushStep implements interface to keep track of current path by pushing.
    // a step into YAMLCmpReporter.path
    func (r *YAMLCmpReporter) PushStep(ps cmp.PathStep) {
    	r.path = append(r.path, ps)
    }
    
    // PopStep implements interface to keep track of current path by popping a step out.
    // of YAMLCmpReporter.path
    func (r *YAMLCmpReporter) PopStep() {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 15 01:29:35 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/helper/ActivityHelperTest.java

            activityHelper.access(OptionalThing.empty(), "/", "aaa");
            assertEquals("action:ACCESS\tuser:-\tpath:/\texecute:aaa", localLogMsg.get());
    
            activityHelper.access(createUser("testuser", new String[0]), "/aaa", "bbb");
            assertEquals("action:ACCESS\tuser:testuser\tpath:/aaa\texecute:bbb", localLogMsg.get());
    
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  6. operator/pkg/name/name.go

    package name
    
    import (
    	"fmt"
    	"strings"
    
    	"istio.io/api/operator/v1alpha1"
    	iop "istio.io/istio/operator/pkg/apis/istio/v1alpha1"
    	"istio.io/istio/operator/pkg/helm"
    	"istio.io/istio/operator/pkg/tpath"
    )
    
    // Kubernetes Kind strings.
    const (
    	CRDStr                            = "CustomResourceDefinition"
    	ClusterRoleStr                    = "ClusterRole"
    	ClusterRoleBindingStr             = "ClusterRoleBinding"
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 14 19:23:44 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  7. operator/pkg/manifest/shared.go

    func GetValueForSetFlag(setFlags []string, path string) string {
    	ret := ""
    	for _, sf := range setFlags {
    		p, v := getPV(sf)
    		if p == path {
    			ret = v
    		}
    		// if set multiple times, return last set value
    	}
    	return ret
    }
    
    // getPV returns the path and value components for the given set flag string, which must be in path=value format.
    func getPV(setFlag string) (path string, value string) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 03 06:27:07 UTC 2024
    - 19.7K bytes
    - Viewed (0)
  8. operator/pkg/apis/istio/v1alpha1/validation/validation.go

    	"k8s.io/apimachinery/pkg/util/intstr"
    
    	"istio.io/api/operator/v1alpha1"
    	valuesv1alpha1 "istio.io/istio/operator/pkg/apis/istio/v1alpha1"
    	"istio.io/istio/operator/pkg/tpath"
    	"istio.io/istio/operator/pkg/util"
    )
    
    const (
    	validationMethodName = "Validate"
    )
    
    type deprecatedSettings struct {
    	old string
    	new string
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 16 20:02:28 UTC 2024
    - 14.9K bytes
    - Viewed (0)
  9. operator/pkg/controller/istiocontrolplane/istiocontrolplane_controller.go

    	"istio.io/istio/operator/pkg/helm"
    	"istio.io/istio/operator/pkg/helmreconciler"
    	"istio.io/istio/operator/pkg/metrics"
    	"istio.io/istio/operator/pkg/name"
    	"istio.io/istio/operator/pkg/object"
    	"istio.io/istio/operator/pkg/tpath"
    	"istio.io/istio/operator/pkg/translate"
    	"istio.io/istio/operator/pkg/util"
    	"istio.io/istio/operator/pkg/util/clog"
    	"istio.io/istio/operator/pkg/util/progress"
    	"istio.io/istio/pkg/config/constants"
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 30 13:56:46 UTC 2024
    - 19.4K bytes
    - Viewed (0)
  10. istioctl/pkg/workload/workload.go

    	"istio.io/istio/istioctl/pkg/cli"
    	"istio.io/istio/istioctl/pkg/clioptions"
    	"istio.io/istio/istioctl/pkg/completion"
    	istioctlutil "istio.io/istio/istioctl/pkg/util"
    	"istio.io/istio/operator/pkg/tpath"
    	"istio.io/istio/pilot/pkg/model"
    	"istio.io/istio/pilot/pkg/serviceregistry/kube/controller"
    	"istio.io/istio/pkg/config/constants"
    	"istio.io/istio/pkg/config/schema/gvk"
    	"istio.io/istio/pkg/config/validation/agent"
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 17 20:06:41 UTC 2024
    - 25.5K bytes
    - Viewed (0)
Back to top