Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 129 for GetBind (0.13 sec)

  1. pkg/config/validation/validation.go

    				continue
    			}
    
    			// nolint: staticcheck
    			if i.Port.TargetPort > 0 {
    				errs = AppendValidation(errs, fmt.Errorf("targetPort has no impact on Sidecars"))
    			}
    
    			bind := i.GetBind()
    			errs = AppendValidation(errs, validateSidecarIngressPortAndBind(i.Port, bind))
    
    			if portMap.Contains(i.Port.Number) {
    				errs = AppendValidation(errs, fmt.Errorf("sidecar: ports on IP bound listeners must be unique"))
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 04:03:33 UTC 2024
    - 107.2K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apimachinery/pkg/apis/meta/v1/unstructured/unstructured_list.go

    }
    
    func (u *UnstructuredList) SetAPIVersion(version string) {
    	u.setNestedField(version, "apiVersion")
    }
    
    func (u *UnstructuredList) GetKind() string {
    	return getNestedString(u.Object, "kind")
    }
    
    func (u *UnstructuredList) SetKind(kind string) {
    	u.setNestedField(kind, "kind")
    }
    
    func (u *UnstructuredList) GetResourceVersion() string {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun May 28 04:46:35 UTC 2023
    - 6.3K bytes
    - Viewed (0)
  3. platforms/ide/ide/src/main/java/org/gradle/plugins/ide/eclipse/model/AccessRule.java

            this.kind = Preconditions.checkNotNull(kind);
            this.pattern = Preconditions.checkNotNull(pattern);
        }
    
        public String getKind() {
            return kind;
        }
    
        public void setKind(String kind) {
            this.kind = kind;
        }
    
        public String getPattern() {
            return pattern;
        }
    
        public void setPattern(String pattern) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:12 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apimachinery/pkg/api/meta/meta.go

    type resourceAccessor struct{}
    
    func (resourceAccessor) Kind(obj runtime.Object) (string, error) {
    	return objectAccessor{obj}.GetKind(), nil
    }
    
    func (resourceAccessor) SetKind(obj runtime.Object, kind string) error {
    	objectAccessor{obj}.SetKind(kind)
    	return nil
    }
    
    func (resourceAccessor) APIVersion(obj runtime.Object) (string, error) {
    	return objectAccessor{obj}.GetAPIVersion(), nil
    }
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jun 25 16:23:43 UTC 2022
    - 16.5K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apimachinery/pkg/test/api_meta_meta_test.go

    		t.Errorf("expected %v, got %v", e, a)
    	}
    	if e, a := "b", typeAccessor.GetKind(); e != a {
    		t.Errorf("expected %v, got %v", e, a)
    	}
    
    	accessor.SetNamespace("baz")
    	accessor.SetName("bar")
    	accessor.SetGenerateName("generate")
    	accessor.SetUID("other")
    	typeAccessor.SetAPIVersion("c")
    	typeAccessor.SetKind("d")
    	accessor.SetResourceVersion("2")
    	accessor.SetSelfLink("google.com")
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 14 10:11:56 UTC 2022
    - 12.9K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apimachinery/pkg/test/apis_meta_v1_unstructed_unstructure_test.go

    			},
    		},
    	}
    
    	if got, want := unstruct.GetAPIVersion(), "test_version"; got != want {
    		t.Errorf("GetAPIVersions() = %s, want %s", got, want)
    	}
    
    	if got, want := unstruct.GetKind(), "test_kind"; got != want {
    		t.Errorf("GetKind() = %s, want %s", got, want)
    	}
    
    	if got, want := unstruct.GetNamespace(), "test_namespace"; got != want {
    		t.Errorf("GetNamespace() = %s, want %s", got, want)
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 05 20:12:50 UTC 2022
    - 17.3K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apimachinery/pkg/apis/meta/v1/unstructured/unstructured.go

    }
    
    func (u *Unstructured) SetAPIVersion(version string) {
    	u.setNestedField(version, "apiVersion")
    }
    
    func (u *Unstructured) GetKind() string {
    	return getNestedString(u.Object, "kind")
    }
    
    func (u *Unstructured) SetKind(kind string) {
    	u.setNestedField(kind, "kind")
    }
    
    func (u *Unstructured) GetNamespace() string {
    	return getNestedString(u.Object, "metadata", "namespace")
    }
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun May 28 03:26:35 UTC 2023
    - 13.7K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiextensions-apiserver/test/integration/yaml_test.go

    			t.Fatalf("expected mytest, got %s", obj.GetName())
    		}
    		if obj.GetAPIVersion() != apiVersion {
    			t.Fatalf("expected %s, got %s", apiVersion, obj.GetAPIVersion())
    		}
    		if obj.GetKind() != kind {
    			t.Fatalf("expected %s, got %s", kind, obj.GetKind())
    		}
    		if v, ok, err := unstructured.NestedFloat64(obj.Object, "values", "numVal"); v != 1 || !ok || err != nil {
    			t.Fatal(v, ok, err, string(result))
    		}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 02 19:34:41 UTC 2021
    - 16.5K bytes
    - Viewed (0)
  9. platforms/core-runtime/internal-instrumentation-processor/src/main/java/org/gradle/internal/instrumentation/processor/codegen/JavadocUtils.java

            String callableNameForDocComment = interceptedCallable.getKind() == CallableKindInfo.AFTER_CONSTRUCTOR ? className.simpleName() : interceptedCallable.getCallableName();
            List<ParameterInfo> params = request.getInterceptedCallable().getParameters();
            List<ParameterInfo> methodParameters = params.stream().filter(parameter -> parameter.getKind().isSourceParameter()).collect(Collectors.toList());
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Oct 02 15:44:14 UTC 2023
    - 4.4K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apimachinery/pkg/apis/meta/v1/meta.go

    // TODO: move this, and TypeMeta and ListMeta, to a different package
    type Type interface {
    	GetAPIVersion() string
    	SetAPIVersion(version string)
    	GetKind() string
    	SetKind(kind string)
    }
    
    var _ ListInterface = &ListMeta{}
    
    func (meta *ListMeta) GetResourceVersion() string        { return meta.ResourceVersion }
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 05 20:12:50 UTC 2022
    - 7.7K bytes
    - Viewed (0)
Back to top