Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for withrules (0.26 sec)

  1. pkg/controller/clusterroleaggregation/clusterroleaggregation_controller.go

    	}
    	return err
    }
    
    func (c *ClusterRoleAggregationController) applyClusterRoles(ctx context.Context, name string, newPolicyRules []rbacv1.PolicyRule) error {
    	clusterRoleApply := rbacv1ac.ClusterRole(name).
    		WithRules(toApplyPolicyRules(newPolicyRules)...)
    
    	opts := metav1.ApplyOptions{FieldManager: "clusterrole-aggregation-controller", Force: true}
    	_, err := c.clusterRoleClient.ClusterRoles().Apply(ctx, clusterRoleApply, opts)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 8K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/cel/validation_test.go

    			oldObj: "baz",
    			schema: withRule(stringType, `
    				!oldSelf.hasValue() || self == "bar"
    			`),
    		},
    		{
    			name:   "integer",
    			obj:    1,
    			oldObj: 2,
    			schema: withRule(integerType, `
    				!oldSelf.hasValue() || self == 1
    			`),
    		},
    		{
    			name:   "number",
    			obj:    1.1,
    			oldObj: 2.2,
    			schema: withRule(numberType, `
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 17:14:10 UTC 2024
    - 159.9K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/cel/compilation_test.go

    			schemaGenerator: func(max *int64) *schema.Structural {
    				strType := withMaxLength(primitiveType("string", ""), max)
    				array := withMaxItems(arrayType("atomic", nil, &strType), max)
    				array = withRule(array, "self.join(' ') == 'aa bb'")
    				return &array
    			},
    			expectedCalcCost: 329853068905,
    			setMaxElements:   10,
    			expectedSetCost:  43,
    		},
    		{
    			name: "extended library isSorted",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 16 20:13:14 UTC 2024
    - 51.5K bytes
    - Viewed (0)
  4. platforms/documentation/docs/src/docs/userguide/dep-man/03-controlling-transitive-dependencies/component_metadata_rules.adoc

    - The location of the published files that make up the actual content of the variant — `withFiles { }` block
    
    There are also a few properties of the whole component that can be changed:
    
    - The _component level attributes_, currently the only meaningful attribute there is `org.gradle.status`
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 15:10:53 UTC 2024
    - 33.2K bytes
    - Viewed (0)
  5. samples/bookinfo/src/productpage/static/tailwind/tailwind.css

    ector:i};let t=e[1].match(/^(with(?:out)?):(.+)$/);if(t){let r=t[1]==="with",n=Object.fromEntries(t[2].trim().split(/\s+/).map(s=>[s,!0]));if(r&&n.all)return{type:"noop"};let a=s=>!!n[s];return n.all?a=()=>!0:r&&(a=s=>s==="all"?!1:!n[s]),{type:"withrules",escapes:a}}return{type:"unknown"}}function SS(i){let e=[],t=i.parent;for(;t&&t instanceof vS;)e.push(t),t=t.parent;return e}function CS(i){let e=i[Mp];if(!e)i.after(i.nodes);else{let t=i.nodes,r,n=-1,a,s,o,u=SS(i);if(u.forEach((c,f)=>{if(e(c.na...
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 28 14:48:01 UTC 2024
    - 357.1K bytes
    - Viewed (1)
Back to top