- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 239 for tpath (0.89 sec)
-
operator/pkg/validate/validate.go
} return nil } func validateHub(path util.Path, val any) util.Errors { if val == "" { return nil } return validateWithRegex(path, val, ReferenceRegexp) } func validateTag(path util.Path, val any) util.Errors { return validateWithRegex(path, val.(*structpb.Value).GetStringValue(), TagRegexp) } func validateRevision(_ util.Path, val any) util.Errors { if val == "" { return nil
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jan 12 16:04:15 UTC 2023 - 7.7K 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/tpath/struct_test.go
// See the License for the specific language governing permissions and // limitations under the License. package tpath import ( "testing" "sigs.k8s.io/yaml" "istio.io/istio/operator/pkg/util" ) func TestGetFromStructPath(t *testing.T) { tests := []struct { desc string nodeYAML string path string wantYAML string wantFound bool wantErr string }{ {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Jul 25 19:30:47 UTC 2022 - 2.7K bytes - Viewed (0) -
operator/pkg/tpath/struct.go
} // getFromStructPath is the internal implementation of GetFromStructPath which recurses through a tree of Go structs // given a path. It terminates when the end of the path is reached or a path element does not exist. func getFromStructPath(node any, path util.Path) (any, bool, error) { scope.Debugf("getFromStructPath path=%s, node(%T)", path, node) if len(path) == 0 { scope.Debugf("getFromStructPath returning node(%T)%v", node, node)
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Jul 25 19:30:47 UTC 2022 - 4.4K 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) -
operator/pkg/tpath/tree.go
if len(path) == 0 { return nil, false, fmt.Errorf("path is empty") } node, found := find(inputTree, path) return node, found, nil } // Delete sets value at path of input untyped tree to nil func Delete(root map[string]any, path util.Path) (bool, error) { pc, _, err := getPathContext(&PathContext{Node: root}, path, path, false) if err != nil { return false, err }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue May 23 17:08:31 UTC 2023 - 17.5K bytes - Viewed (0) -
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) -
operator/pkg/tpath/tree_test.go
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Jul 25 19:30:47 UTC 2022 - 15.6K bytes - Viewed (0) -
src/os/removeall_test.go
t.Fatalf("MkdirAll %q: %s", dpath, err) } fd, err = Create(fpath) if err != nil { t.Fatalf("create %q: %s", fpath, err) } fd.Close() fd, err = Create(dpath + "/file") if err != nil { t.Fatalf("create %q: %s", fpath, err) } fd.Close() if err = RemoveAll(path); err != nil { t.Fatalf("RemoveAll %q (third): %s", path, err) } if _, err := Lstat(path); err == nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 25 19:21:29 UTC 2024 - 12.3K bytes - Viewed (0)