- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for ReconcileStatuses (0.2 sec)
-
tests/fuzz/status_fuzzer.go
import ( fuzz "github.com/AdaLogics/go-fuzz-headers" "istio.io/api/meta/v1alpha1" "istio.io/istio/pilot/pkg/status/distribution" ) // FuzzReconcileStatuses implements a fuzzer that targets // status.ReconcileStatuses. It does so by inserting // pseudo-random vlues in the config and the progress // as well as pass a pseudo-random generation parameter. func FuzzReconcileStatuses(data []byte) int { f := fuzz.NewConsumer(data)
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Apr 20 06:17:08 UTC 2022 - 1.3K bytes - Viewed (0) -
pilot/pkg/status/distribution/state_test.go
}, }, }, }, } for _, tt := range tests { t.Run(tt.name, func(t *testing.T) { got, got1 := ReconcileStatuses(tt.args.current.Status.(*v1alpha1.IstioStatus), tt.args.desired) if got != tt.want { t.Errorf("ReconcileStatuses() got = %v, want %v", got, tt.want) } if tt.want1 != nil { for i := range tt.want1.Conditions { if got1 != nil && i < len(got1.Conditions) {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Aug 22 22:47:47 UTC 2022 - 4.3K bytes - Viewed (0) -
pilot/pkg/status/distribution/state.go
if status == nil { return nil } distributionState := context.(Progress) if needsReconcile, desiredStatus := ReconcileStatuses(status, distributionState); needsReconcile { return desiredStatus } return status }), } // client-go defaults to 5 QPS, with 10 Boost, which is insufficient for updating status on all the config
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue May 23 17:08:31 UTC 2023 - 7.7K bytes - Viewed (0)