- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for EnsureConfigurations (0.42 sec)
-
pkg/registry/flowcontrol/rest/storage_flowcontrol.go
if err := ensurer.EnsureConfigurations(ctx, plcOps, flowcontrolbootstrap.SuggestedPriorityLevelConfigurations, ensurer.NewSuggestedEnsureStrategy[*flowcontrolv1.PriorityLevelConfiguration]()); err != nil { return err } fsOps := ensurer.NewFlowSchemaOps(clientset.FlowSchemas(), fsLister)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Oct 30 12:18:35 UTC 2023 - 12.3K bytes - Viewed (0) -
pkg/registry/flowcontrol/ensurer/strategy.go
} accessor.GetAnnotations()[flowcontrolv1.AutoUpdateAnnotationKey] = strconv.FormatBool(autoUpdate) } // EnsureConfigurations applies the given maintenance strategy to the given objects. // At the first error, if any, it stops and returns that error. func EnsureConfigurations[ObjectType configurationObjectType](ctx context.Context, ops ObjectOps[ObjectType], boots []ObjectType, strategy EnsureStrategy[ObjectType]) error {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Oct 30 12:18:40 UTC 2023 - 14K bytes - Viewed (0) -
pkg/registry/flowcontrol/ensurer/flowschema_test.go
} ops := NewFlowSchemaOps(client, flowcontrollisters.NewFlowSchemaLister(indexer)) boots := []*flowcontrolv1.FlowSchema{test.bootstrap} strategy := test.strategy() err := EnsureConfigurations(context.Background(), ops, boots, strategy) if err != nil { t.Fatalf("Expected no error, but got: %v", err) } fsGot, err := client.Get(context.TODO(), test.bootstrap.Name, metav1.GetOptions{})
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Oct 30 12:18:35 UTC 2023 - 15.2K bytes - Viewed (0) -
pkg/registry/flowcontrol/ensurer/prioritylevelconfiguration_test.go
boots := []*flowcontrolv1.PriorityLevelConfiguration{test.bootstrap} strategy := test.strategy() err := EnsureConfigurations(context.Background(), ops, boots, strategy) if err != nil { t.Fatalf("Expected no error, but got: %v", err) } plGot, err := client.Get(context.TODO(), test.bootstrap.Name, metav1.GetOptions{})
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Apr 15 14:34:53 UTC 2024 - 19.8K bytes - Viewed (0)