- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 80 for tpath (0.04 sec)
-
operator/pkg/translate/translate_value.go
return err } } return nil } // isEnablementPath is helper function to check whether paths represent enablement of components in values.yaml func (t *ReverseTranslator) isEnablementPath(path util.Path) bool { if len(path) < 2 || path[len(path)-1] != "enabled" { return false } pf := path[:len(path)-1].String() if specialComponentPath[pf] {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Feb 08 03:52:24 UTC 2024 - 21.6K bytes - Viewed (0) -
operator/cmd/mesh/test-util_test.go
// mustGetValueAtPath returns the value at the given path in the unstructured tree t. Fails if the path is not found // in the tree. func mustGetValueAtPath(g *WithT, t map[string]any, path string) any { got, f, err := tpath.GetPathContext(t, util.PathFromString(path), false) g.Expect(err).Should(BeNil(), "path %s should exist (%s)", path, err) g.Expect(f).Should(BeTrue(), "path %s should exist", path) return got.Node }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Oct 31 14:48:28 UTC 2023 - 15.3K 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/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/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/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) -
operator/pkg/component/component.go
"istio.io/api/operator/v1alpha1" "istio.io/istio/operator/pkg/helm" "istio.io/istio/operator/pkg/metrics" "istio.io/istio/operator/pkg/name" "istio.io/istio/operator/pkg/patch" "istio.io/istio/operator/pkg/tpath" "istio.io/istio/operator/pkg/translate" "istio.io/istio/pkg/log" "istio.io/istio/pkg/util/sets" ) const ( // String to emit for any component which is disabled.
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Aug 10 15:35:03 UTC 2023 - 11.7K bytes - Viewed (0) -
operator/pkg/object/objects.go
func (o *K8sObject) Container(name string) map[string]any { u := o.Unstructured() path := fmt.Sprintf("spec.template.spec.containers.[name:%s]", name) node, f, err := tpath.GetPathContext(u, util.PathFromString(path), false) if err == nil && f { // Must be the type from the schema. return node.Node.(map[string]any) } return nil }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Sep 21 07:16:46 UTC 2023 - 15.5K bytes - Viewed (1) -
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)