- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 239 for tpath (0.07 sec)
-
operator/pkg/translate/translate_test.go
package translate import ( "fmt" "testing" "istio.io/api/operator/v1alpha1" "istio.io/istio/operator/pkg/name" "istio.io/istio/operator/pkg/object" "istio.io/istio/operator/pkg/tpath" "istio.io/istio/operator/pkg/util" "istio.io/istio/pkg/test/util/assert" ) func Test_skipReplicaCountWithAutoscaleEnabled(t *testing.T) { const valuesWithHPAndReplicaCountFormat = ` values: pilot:
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Feb 12 19:43:09 UTC 2024 - 5.1K bytes - Viewed (0) -
operator/pkg/translate/translate.go
func createPatchObjectFromPath(node any, path util.Path) (map[string]any, error) { if len(path) == 0 { return nil, fmt.Errorf("empty path %s", path) } if util.IsKVPathElement(path[0]) { return nil, fmt.Errorf("path %s has an unexpected first element %s", path, path[0]) } length := len(path) if util.IsKVPathElement(path[length-1]) {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Feb 12 19:43:09 UTC 2024 - 36.3K bytes - Viewed (0) -
operator/pkg/tpath/util_test.go
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Oct 27 09:06:29 UTC 2021 - 2.2K bytes - Viewed (0) -
operator/pkg/tpath/util.go
return GetConfigSubtree(yml, "spec") } // GetConfigSubtree returns the subtree at the given path. func GetConfigSubtree(manifest, path string) (string, error) { root := make(map[string]any) if err := yaml2.Unmarshal([]byte(manifest), &root); err != nil { return "", err } nc, _, err := GetPathContext(root, util.PathFromString(path), false) if err != nil { return "", err } out, err := yaml2.Marshal(nc.Node)
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Jul 25 19:30:47 UTC 2022 - 1.7K bytes - Viewed (0) -
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) -
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) -
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) -
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) -
operator/pkg/name/name_test.go
inputTree: ` k1: v1 `, path: util.Path{"k1"}, }, want: ` v1 `, found: true, wantErr: false, }, { name: "found tree node", args: args{ inputTree: ` k1: k2: v2 `, path: util.Path{"k1"}, }, want: ` k2: v2 `, found: true, wantErr: false, }, { name: "path is longer than tree depth, string node", args: args{
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Apr 05 14:08:11 UTC 2023 - 7.7K bytes - Viewed (0) -
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)