Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 1,128 for Obj (0.13 sec)

  1. platforms/core-configuration/model-core/src/test/groovy/org/gradle/util/ConfigureUtilTest.groovy

            }
    
            when:
            ConfigureUtil.configure(cl, obj)
            ConfigureUtil.configure(cl2, obj)
            ConfigureUtil.configure(cl3, obj)
    
            then:
            noExceptionThrown()
        }
    
        def canConfigureObjectPropertyUsingMap() {
            given:
            Bean obj = new Bean()
    
            when:
            ConfigureUtil.configureByMap(obj, prop: 'value')
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 23 17:40:52 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  2. pkg/apis/extensions/v1beta1/defaults.go

    	labels := obj.Spec.Template.Labels
    
    	// TODO: support templates defined elsewhere when we support them in the API
    	if labels != nil {
    		if obj.Spec.Selector == nil {
    			obj.Spec.Selector = &metav1.LabelSelector{
    				MatchLabels: labels,
    			}
    		}
    		if len(obj.Labels) == 0 {
    			obj.Labels = labels
    		}
    	}
    	if obj.Spec.Replicas == nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 01 07:16:15 UTC 2023
    - 5.3K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/base/link.go

    // appear within a //go:linkname directive.
    func Linkname(name string, abi obj.ABI) *obj.LSym {
    	return linksym("_", name, abi)
    }
    
    // linksym is an internal helper function for implementing the above
    // exported APIs.
    func linksym(pkg, name string, abi obj.ABI) *obj.LSym {
    	return Ctxt.LookupABIInit(name, abi, func(r *obj.LSym) { r.Pkg = pkg })
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 09 11:28:56 UTC 2022
    - 1.6K bytes
    - Viewed (0)
  4. pkg/config/xds/xds.go

    		obj = &listener.Filter{}
    	case networking.EnvoyFilter_VIRTUAL_HOST:
    		obj = &route.VirtualHost{}
    	case networking.EnvoyFilter_HTTP_ROUTE:
    		obj = &route.Route{}
    	case networking.EnvoyFilter_EXTENSION_CONFIG:
    		obj = &core.TypedExtensionConfig{}
    	case networking.EnvoyFilter_BOOTSTRAP:
    		obj = &bootstrap.Bootstrap{}
    	case networking.EnvoyFilter_LISTENER_FILTER:
    		obj = &listener.ListenerFilter{}
    	default:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Jan 14 02:41:27 UTC 2023
    - 3K bytes
    - Viewed (0)
  5. pkg/apis/admissionregistration/v1beta1/zz_generated.defaults.go

    		SetObjectDefaults_ValidatingAdmissionPolicy(obj.(*v1beta1.ValidatingAdmissionPolicy))
    	})
    	scheme.AddTypeDefaultingFunc(&v1beta1.ValidatingAdmissionPolicyBinding{}, func(obj interface{}) {
    		SetObjectDefaults_ValidatingAdmissionPolicyBinding(obj.(*v1beta1.ValidatingAdmissionPolicyBinding))
    	})
    	scheme.AddTypeDefaultingFunc(&v1beta1.ValidatingAdmissionPolicyBindingList{}, func(obj interface{}) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jul 21 20:56:23 UTC 2023
    - 5.3K bytes
    - Viewed (0)
  6. pkg/apis/admissionregistration/fuzzer/fuzzer.go

    				obj.FailurePolicy = &p
    			}
    			if obj.MatchPolicy == nil {
    				m := admissionregistration.MatchPolicyType("Exact")
    				obj.MatchPolicy = &m
    			}
    			if obj.SideEffects == nil {
    				s := admissionregistration.SideEffectClassUnknown
    				obj.SideEffects = &s
    			}
    			if obj.TimeoutSeconds == nil {
    				i := int32(30)
    				obj.TimeoutSeconds = &i
    			}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jul 20 16:30:09 UTC 2023
    - 3.6K bytes
    - Viewed (0)
  7. pkg/registry/resource/resourceclaimtemplate/strategy.go

    }
    
    func (resourceClaimTemplateStrategy) Validate(ctx context.Context, obj runtime.Object) field.ErrorList {
    	resourceClaimTemplate := obj.(*resource.ResourceClaimTemplate)
    	return validation.ValidateClaimTemplate(resourceClaimTemplate)
    }
    
    func (resourceClaimTemplateStrategy) WarningsOnCreate(ctx context.Context, obj runtime.Object) []string {
    	return nil
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Nov 10 19:08:24 UTC 2022
    - 3.1K bytes
    - Viewed (0)
  8. staging/src/k8s.io/api/core/v1/objectreference.go

    func (obj *ObjectReference) SetGroupVersionKind(gvk schema.GroupVersionKind) {
    	obj.APIVersion, obj.Kind = gvk.ToAPIVersionAndKind()
    }
    
    func (obj *ObjectReference) GroupVersionKind() schema.GroupVersionKind {
    	return schema.FromAPIVersionAndKind(obj.APIVersion, obj.Kind)
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jun 22 17:21:42 UTC 2017
    - 1.2K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apimachinery/pkg/apis/meta/v1/unstructured/helpers_test.go

    	wg.Wait()
    }
    
    func TestRemoveNestedField(t *testing.T) {
    	obj := map[string]interface{}{
    		"x": map[string]interface{}{
    			"y": 1,
    			"a": "foo",
    		},
    	}
    	RemoveNestedField(obj, "x", "a")
    	assert.Len(t, obj["x"], 1)
    	RemoveNestedField(obj, "x", "y")
    	assert.Empty(t, obj["x"])
    	RemoveNestedField(obj, "x")
    	assert.Empty(t, obj)
    	RemoveNestedField(obj, "x") // Remove of a non-existent field
    	assert.Empty(t, obj)
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Nov 24 07:53:28 UTC 2021
    - 5.9K bytes
    - Viewed (0)
  10. pkg/registry/resource/resourceclass/strategy.go

    }
    
    func (resourceClassStrategy) AllowCreateOnUpdate() bool {
    	return false
    }
    
    func (resourceClassStrategy) PrepareForUpdate(ctx context.Context, obj, old runtime.Object) {
    }
    
    func (resourceClassStrategy) ValidateUpdate(ctx context.Context, obj, old runtime.Object) field.ErrorList {
    	errorList := validation.ValidateClass(obj.(*resource.ResourceClass))
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Nov 10 19:08:24 UTC 2022
    - 2.3K bytes
    - Viewed (0)
Back to top