Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 124 for flowschemas (0.17 sec)

  1. pkg/registry/flowcontrol/flowschema/strategy.go

    	fl := obj.(*flowcontrol.FlowSchema)
    	fl.Status = flowcontrol.FlowSchemaStatus{}
    	fl.Generation = 1
    }
    
    // PrepareForUpdate clears fields that are not allowed to be set by end users on update.
    func (flowSchemaStrategy) PrepareForUpdate(ctx context.Context, obj, old runtime.Object) {
    	newFlowSchema := obj.(*flowcontrol.FlowSchema)
    	oldFlowSchema := old.(*flowcontrol.FlowSchema)
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 30 11:48:22 UTC 2023
    - 6K bytes
    - Viewed (0)
  2. api/openapi-spec/swagger.json

              "group": "flowcontrol.apiserver.k8s.io",
              "kind": "FlowSchema",
              "version": "v1"
            }
          }
        },
        "/apis/flowcontrol.apiserver.k8s.io/v1/flowschemas/{name}": {
          "delete": {
            "consumes": [
              "*/*"
            ],
            "description": "delete a FlowSchema",
            "operationId": "deleteFlowcontrolApiserverV1FlowSchema",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 05 18:37:07 UTC 2024
    - 3.1M bytes
    - Viewed (0)
  3. pkg/apis/flowcontrol/validation/validation_test.go

    				NonResourceURLs: []string{"/"},
    			}},
    		}},
    	}
    	testCases := []struct {
    		name           string
    		flowSchema     *flowcontrol.FlowSchema
    		expectedErrors field.ErrorList
    	}{{
    		name: "missing both resource and non-resource policy-rule should fail",
    		flowSchema: &flowcontrol.FlowSchema{
    			ObjectMeta: metav1.ObjectMeta{
    				Name: "system-foo",
    			},
    			Spec: flowcontrol.FlowSchemaSpec{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 30 22:22:51 UTC 2023
    - 54.7K bytes
    - Viewed (0)
  4. pkg/apis/flowcontrol/internalbootstrap/defaults_test.go

    	bootstrapFlowSchemas := make([]*flowcontrol.FlowSchema, 0)
    	bootstrapFlowSchemas = append(bootstrapFlowSchemas, bootstrap.MandatoryFlowSchemas...)
    	bootstrapFlowSchemas = append(bootstrapFlowSchemas, bootstrap.SuggestedFlowSchemas...)
    	for _, original := range bootstrapFlowSchemas {
    		t.Run(fmt.Sprintf("FlowSchema/%s", original.Name), func(t *testing.T) {
    			defaulted := original.DeepCopyObject().(*flowcontrol.FlowSchema)
    			scheme.Default(defaulted)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 30 12:18:35 UTC 2023
    - 2.4K bytes
    - Viewed (0)
  5. pkg/apis/flowcontrol/internalbootstrap/default-internal.go

    	scheme := runtime.NewScheme()
    	install.Install(scheme)
    	return scheme
    }
    
    func internalizeFSes(exts []*flowcontrolv1.FlowSchema) map[string]*flowcontrol.FlowSchema {
    	ans := make(map[string]*flowcontrol.FlowSchema, len(exts))
    	scheme := NewAPFScheme()
    	for _, ext := range exts {
    		var untyped flowcontrol.FlowSchema
    		if err := scheme.Convert(ext, &untyped, nil); err != nil {
    			panic(err)
    		}
    		ans[ext.Name] = &untyped
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 30 12:18:35 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  6. pkg/registry/flowcontrol/flowschema/doc.go

    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    // Package flowschema provides model implementation of flow-schema api
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Nov 08 06:27:14 UTC 2019
    - 727 bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiserver/pkg/util/flowcontrol/controller_test.go

    	newFTRs = map[string]*fsTestingRecord{}
    	catchAlls = map[bool]*flowcontrol.FlowSchema{
    		false: fcboot.MandatoryFlowSchemaCatchAll,
    		true:  fcboot.MandatoryFlowSchemaCatchAll}
    	newFSMap = map[string]*flowcontrol.FlowSchema{}
    	add := func(ftr *fsTestingRecord) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 30 12:18:40 UTC 2023
    - 18.4K bytes
    - Viewed (0)
  8. pkg/apis/flowcontrol/v1beta1/zz_generated.defaults.go

    // All generated defaulters are covering - they call all nested defaulters.
    func RegisterDefaults(scheme *runtime.Scheme) error {
    	scheme.AddTypeDefaultingFunc(&v1beta1.FlowSchema{}, func(obj interface{}) { SetObjectDefaults_FlowSchema(obj.(*v1beta1.FlowSchema)) })
    	scheme.AddTypeDefaultingFunc(&v1beta1.FlowSchemaList{}, func(obj interface{}) { SetObjectDefaults_FlowSchemaList(obj.(*v1beta1.FlowSchemaList)) })
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jul 14 01:00:06 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  9. pkg/apis/flowcontrol/v1beta2/zz_generated.defaults.go

    // All generated defaulters are covering - they call all nested defaulters.
    func RegisterDefaults(scheme *runtime.Scheme) error {
    	scheme.AddTypeDefaultingFunc(&v1beta2.FlowSchema{}, func(obj interface{}) { SetObjectDefaults_FlowSchema(obj.(*v1beta2.FlowSchema)) })
    	scheme.AddTypeDefaultingFunc(&v1beta2.FlowSchemaList{}, func(obj interface{}) { SetObjectDefaults_FlowSchemaList(obj.(*v1beta2.FlowSchemaList)) })
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jul 14 01:00:06 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  10. pkg/apis/flowcontrol/v1beta3/zz_generated.defaults.go

    // All generated defaulters are covering - they call all nested defaulters.
    func RegisterDefaults(scheme *runtime.Scheme) error {
    	scheme.AddTypeDefaultingFunc(&v1beta3.FlowSchema{}, func(obj interface{}) { SetObjectDefaults_FlowSchema(obj.(*v1beta3.FlowSchema)) })
    	scheme.AddTypeDefaultingFunc(&v1beta3.FlowSchemaList{}, func(obj interface{}) { SetObjectDefaults_FlowSchemaList(obj.(*v1beta3.FlowSchemaList)) })
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 30 12:18:41 UTC 2023
    - 2.6K bytes
    - Viewed (0)
Back to top