- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for makeStore (0.09 sec)
-
pilot/pkg/config/aggregate/config_test.go
schema2 := collections.GatewayClass store1 := memory.Make(collection.SchemasFor(schema1)) store2 := memory.Make(collection.SchemasFor(schema2)) stores := []model.ConfigStore{store1, store2} store, err := makeStore(stores, nil) g.Expect(err).NotTo(HaveOccurred()) schemas := store.Schemas() g.Expect(cmp.Diff(schemas, collection.SchemasFor(schema1, schema2))).To(BeEmpty()) }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Feb 02 17:36:47 UTC 2024 - 6.7K bytes - Viewed (0) -
pilot/pkg/config/aggregate/config.go
"istio.io/istio/pkg/slices" "istio.io/istio/pkg/util/sets" ) var errorUnsupported = errors.New("unsupported operation: the config aggregator is read-only") // makeStore creates an aggregate config store from several config stores and // unifies their descriptors func makeStore(stores []model.ConfigStore, writer model.ConfigStore) (model.ConfigStore, error) { union := collection.NewSchemasBuilder()
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Dec 26 01:14:27 UTC 2023 - 5.4K bytes - Viewed (0) -
pilot/pkg/model/fake_store.go
"istio.io/istio/pkg/maps" ) type FakeStore struct { store map[config.GroupVersionKind]map[string]map[string]config.Config } func NewFakeStore() *FakeStore { f := FakeStore{ store: make(map[config.GroupVersionKind]map[string]map[string]config.Config), } return &f } var _ ConfigStore = (*FakeStore)(nil) func (s *FakeStore) Schemas() collection.Schemas { return collections.Pilot }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Jul 18 06:50:06 UTC 2023 - 3K bytes - Viewed (0)