Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for NewFlowSchemaOps (0.17 sec)

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

    	flowcontrolclient "k8s.io/client-go/kubernetes/typed/flowcontrol/v1"
    	flowcontrollisters "k8s.io/client-go/listers/flowcontrol/v1"
    	flowcontrolapisv1 "k8s.io/kubernetes/pkg/apis/flowcontrol/v1"
    )
    
    func NewFlowSchemaOps(client flowcontrolclient.FlowSchemaInterface, cache flowcontrollisters.FlowSchemaLister) ObjectOps[*flowcontrolv1.FlowSchema] {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 30 12:18:35 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  2. pkg/registry/flowcontrol/rest/storage_flowcontrol.go

    		return err
    	}
    
    	fsOps := ensurer.NewFlowSchemaOps(clientset.FlowSchemas(), fsLister)
    	return ensurer.EnsureConfigurations(ctx, fsOps, flowcontrolbootstrap.SuggestedFlowSchemas, ensurer.NewSuggestedEnsureStrategy[*flowcontrolv1.FlowSchema]())
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 30 12:18:35 UTC 2023
    - 12.3K bytes
    - Viewed (0)
  3. pkg/registry/flowcontrol/ensurer/flowschema_test.go

    			if test.current != nil {
    				client.Create(context.TODO(), test.current, metav1.CreateOptions{})
    				indexer.Add(test.current)
    			}
    
    			ops := NewFlowSchemaOps(client, flowcontrollisters.NewFlowSchemaLister(indexer))
    			boots := []*flowcontrolv1.FlowSchema{test.bootstrap}
    			strategy := test.strategy()
    			err := EnsureConfigurations(context.Background(), ops, boots, strategy)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 30 12:18:35 UTC 2023
    - 15.2K bytes
    - Viewed (0)
Back to top