- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for NewKubeSource (0.16 sec)
-
pilot/pkg/config/file/store_test.go
. "github.com/onsi/gomega" "istio.io/istio/pkg/config/schema/collections" "istio.io/istio/pkg/config/schema/gvk" ) func TestUpdateExistingContents(t *testing.T) { g := NewWithT(t) src := NewKubeSource(collections.Istio) applyAndValidate := func(version string) { configTemplate := `apiVersion: networking.istio.io/v1beta1 kind: DestinationRule metadata: name: productpage labels: version: %s
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Jan 05 18:44:58 UTC 2024 - 1.5K bytes - Viewed (0) -
pkg/config/analysis/analyzers/multicluster_analyzers_test.go
client := &fakeClientImpl{ CLIClient: kube.NewFakeClient(), clusterID: cluster.ID(clusterName), } // Gather test files src := file.NewKubeSource(collections.All) for i, yamlFile := range yamls { data, err := os.ReadFile(yamlFile) if err != nil { return err } err = src.ApplyContent(fmt.Sprintf("%d", i), string(data)) if err != nil {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Apr 02 08:32:06 UTC 2024 - 4.5K bytes - Viewed (0) -
pilot/pkg/config/file/store.go
} type kubeResourceKey struct { fullName resource.FullName kind string } var _ model.ConfigStore = &KubeSource{} // NewKubeSource returns a new in-memory Source that works with Kubernetes resources. func NewKubeSource(schemas collection.Schemas) *KubeSource { name := fmt.Sprintf("kube-inmemory-%d", inMemoryKubeNameDiscriminator) inMemoryKubeNameDiscriminator++ return &KubeSource{
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Feb 02 17:36:47 UTC 2024 - 18.2K bytes - Viewed (0) -
pkg/config/analysis/local/istiod_analyze.go
if includeRuntimeResources { readerResources = sa.kubeResources } else { readerResources = sa.kubeResources.Remove(kuberesource.DefaultExcludedSchemas().All()...) } src = file.NewKubeSource(readerResources) sa.fileSource = src } src.SetDefaultNamespace(sa.namespace) src.SetNamespacesFilter(func(obj interface{}) bool { cfg, ok := obj.(config.Config) if !ok { return false
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Apr 02 21:06:13 UTC 2024 - 21.6K bytes - Viewed (0)