Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for PilotGatewayAPI (0.25 sec)

  1. pkg/config/schema/collections/extras.go

    import (
    	"istio.io/istio/pilot/pkg/features"
    	"istio.io/istio/pkg/config/schema/collection"
    )
    
    var Istio = Pilot.Add(MeshNetworks).Add(MeshConfig)
    
    func PilotGatewayAPI() collection.Schemas {
    	if features.EnableAlphaGatewayAPI {
    		return pilotGatewayAPI
    	}
    	return pilotStableGatewayAPI
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon May 08 17:26:01 UTC 2023
    - 897 bytes
    - Viewed (0)
  2. pkg/config/schema/codegen/templates/collections.go.tmpl

    	{{- range .Entries }}
    		{{- if (contains .Resource.Group "istio.io") }}
    		MustAdd({{ .Resource.Identifier }}).
    		{{- end}}
    	{{- end }}
    		Build()
    
    	// pilotGatewayAPI contains only collections used by Pilot, including the full Gateway API.
    	pilotGatewayAPI = collection.NewSchemasBuilder().
    	{{- range .Entries }}
    		{{- if or (contains .Resource.Group "istio.io") (contains .Resource.Group "gateway.networking.k8s.io") }}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Apr 25 14:44:17 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  3. pilot/pkg/bootstrap/validation.go

    	if s.kubeClient == nil {
    		return nil
    	}
    
    	log.Info("initializing config validator")
    	// always start the validation server
    	params := server.Options{
    		Schemas:      collections.PilotGatewayAPI(),
    		DomainSuffix: args.RegistryOptions.KubeOptions.DomainSuffix,
    		Mux:          s.httpsMux,
    	}
    	_, err := server.New(params)
    	if err != nil {
    		return err
    	}
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 23 17:08:31 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  4. pkg/config/schema/collections/collections.agent.gen.go

    		MustAdd(Telemetry).
    		MustAdd(VirtualService).
    		MustAdd(WasmPlugin).
    		MustAdd(WorkloadEntry).
    		MustAdd(WorkloadGroup).
    		Build()
    
    	// pilotGatewayAPI contains only collections used by Pilot, including the full Gateway API.
    	pilotGatewayAPI = collection.NewSchemasBuilder().
    			MustAdd(AuthorizationPolicy).
    			MustAdd(DestinationRule).
    			MustAdd(Gateway).
    			MustAdd(PeerAuthentication).
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Apr 25 14:44:17 UTC 2024
    - 12.9K bytes
    - Viewed (0)
  5. pilot/pkg/config/kube/crdclient/client_test.go

    func TestClient(t *testing.T) {
    	store, _ := makeClient(t, collections.PilotGatewayAPI().Union(collections.Kube), nil)
    	configName := "test"
    	configNamespace := "test-ns"
    	timeout := retry.Timeout(time.Millisecond * 200)
    	for _, r := range collections.PilotGatewayAPI().All() {
    		name := r.Kind()
    		t.Run(name, func(t *testing.T) {
    			configMeta := config.Meta{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 10 02:58:52 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  6. pilot/pkg/config/kube/crd/conversion.go

    			return nil, nil, fmt.Errorf("cannot parse proto message: %v", err)
    		}
    		if reflect.DeepEqual(obj, empty) {
    			continue
    		}
    
    		gvk := obj.GroupVersionKind()
    		s, exists := collections.PilotGatewayAPI().FindByGroupVersionAliasesKind(resource.FromKubernetesGVK(&gvk))
    		if !exists {
    			log.Debugf("unrecognized type %v", obj.Kind)
    			others = append(others, obj)
    			continue
    		}
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Apr 25 18:26:16 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  7. pilot/test/xds/fake.go

    	}
    	mc := multicluster.NewFakeController()
    	creds := kubesecrets.NewMulticluster(opts.DefaultClusterName, mc)
    
    	configController := memory.NewSyncController(memory.MakeSkipValidation(collections.PilotGatewayAPI()))
    	clientBuilder := opts.KubeClientBuilder
    	if clientBuilder == nil {
    		clientBuilder = func(objects ...runtime.Object) kubelib.Client {
    			return kubelib.NewFakeClientWithVersion(opts.KubernetesVersion, objects...)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jun 10 16:08:52 UTC 2024
    - 18.4K bytes
    - Viewed (0)
  8. pilot/pkg/networking/core/fake.go

    	t.Helper()
    	configs := getConfigs(t, opts)
    	cc := opts.ConfigController
    	if cc == nil {
    		cc = memory.NewSyncController(memory.MakeSkipValidation(collections.PilotGatewayAPI()))
    	}
    	controllers := []model.ConfigStoreController{cc}
    	if opts.CreateConfigStore != nil {
    		controllers = append(controllers, opts.CreateConfigStore(cc))
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  9. pkg/config/schema/collections/collections.gen.go

    		MustAdd(Telemetry).
    		MustAdd(VirtualService).
    		MustAdd(WasmPlugin).
    		MustAdd(WorkloadEntry).
    		MustAdd(WorkloadGroup).
    		Build()
    
    	// pilotGatewayAPI contains only collections used by Pilot, including the full Gateway API.
    	pilotGatewayAPI = collection.NewSchemasBuilder().
    			MustAdd(AuthorizationPolicy).
    			MustAdd(DestinationRule).
    			MustAdd(EnvoyFilter).
    			MustAdd(GRPCRoute).
    			MustAdd(Gateway).
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Apr 25 14:44:17 UTC 2024
    - 31.4K bytes
    - Viewed (0)
  10. pilot/pkg/config/kube/crdclient/client.go

    }
    
    var _ model.ConfigStoreController = &Client{}
    
    func New(client kube.Client, opts Option) *Client {
    	schemas := collections.Pilot
    	if features.EnableGatewayAPI {
    		schemas = collections.PilotGatewayAPI()
    	}
    	return NewForSchemas(client, opts, schemas)
    }
    
    func NewForSchemas(client kube.Client, opts Option, schemas collection.Schemas) *Client {
    	schemasByCRDName := map[string]resource.Schema{}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 14 00:12:28 UTC 2024
    - 13.7K bytes
    - Viewed (0)
Back to top