- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for flowSchemaSpecEqual (0.15 sec)
-
pkg/registry/flowcontrol/ensurer/flowschema.go
} func flowSchemaReplaceSpec(into, from *flowcontrolv1.FlowSchema) *flowcontrolv1.FlowSchema { copy := into.DeepCopy() copy.Spec = *from.Spec.DeepCopy() return copy } func flowSchemaSpecEqual(expected, actual *flowcontrolv1.FlowSchema) bool { copiedExpectedSpec := expected.Spec.DeepCopy()
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Oct 30 12:18:35 UTC 2023 - 1.6K bytes - Viewed (0) -
pkg/registry/flowcontrol/ensurer/flowschema_test.go
expected: fs1, actual: fs2, specChanged: true, }, } for _, testCase := range testCases { t.Run(testCase.name, func(t *testing.T) { w := !flowSchemaSpecEqual(testCase.expected, testCase.actual) assert.Equal(t, testCase.specChanged, w) }) } } func TestRemoveFlowSchema(t *testing.T) { tests := []struct { name string
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Oct 30 12:18:35 UTC 2023 - 15.2K bytes - Viewed (0)