Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for GatewayClassSpec (0.26 sec)

  1. pkg/config/model_test.go

    			func(c Spec) Spec {
    				c.(*corev1.PodSpec).ServiceAccountName = "bar"
    				return c
    			},
    			nil,
    		},
    		// gateway-api type
    		{
    			&k8s.GatewayClassSpec{ControllerName: "foo"},
    			func(c Spec) Spec {
    				c.(*k8s.GatewayClassSpec).ControllerName = "bar"
    				return c
    			},
    			nil,
    		},
    		// mock type
    		{
    			&config.MockConfig{Key: "foobar"},
    			func(c Spec) Spec {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Apr 12 17:37:32 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  2. pilot/pkg/config/kube/gateway/controller_test.go

    	"istio.io/istio/pkg/config/schema/gvk"
    	"istio.io/istio/pkg/kube"
    	"istio.io/istio/pkg/kube/kclient/clienttest"
    	"istio.io/istio/pkg/test"
    	"istio.io/istio/pkg/util/sets"
    )
    
    var (
    	gatewayClassSpec = &k8s.GatewayClassSpec{
    		ControllerName: k8s.GatewayController(features.ManagedGatewayController),
    	}
    	gatewaySpec = &k8s.GatewaySpec{
    		GatewayClassName: "gwclass",
    		Listeners: []k8s.Listener{
    			{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 02 16:47:06 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  3. pilot/pkg/config/kube/gateway/gatewayclass_test.go

    	client.RunAndWait(stop)
    	go cc.Run(stop)
    	createClass := func(name, controller string) {
    		gc := &gateway.GatewayClass{
    			ObjectMeta: metav1.ObjectMeta{
    				Name: name,
    			},
    			Spec: gateway.GatewayClassSpec{
    				ControllerName: gateway.GatewayController(controller),
    			},
    		}
    		classes.CreateOrUpdate(gc)
    	}
    	deleteClass := func(name string) {
    		classes.Delete(name, "")
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Mar 06 08:41:13 UTC 2024
    - 3K bytes
    - Viewed (0)
  4. pilot/pkg/config/kube/gateway/gatewayclass.go

    		return nil
    	}
    	gc := &gateway.GatewayClass{
    		ObjectMeta: metav1.ObjectMeta{
    			Name: string(class),
    		},
    		Spec: gateway.GatewayClassSpec{
    			ControllerName: gateway.GatewayController(classInfo.controller),
    			Description:    &classInfo.description,
    		},
    	}
    	_, err := c.classes.Create(gc)
    	if err != nil && !kerrors.IsConflict(err) {
    		return err
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Feb 07 20:48:23 UTC 2024
    - 4K bytes
    - Viewed (0)
  5. pkg/config/schema/collections/collections.gen.go

    		Version:    "v1beta1",
    		VersionAliases: []string{
    			"v1alpha2",
    			"v1",
    		},
    		Proto: "k8s.io.gateway_api.api.v1alpha1.GatewayClassSpec", StatusProto: "k8s.io.gateway_api.api.v1alpha1.GatewayClassStatus",
    		ReflectType: reflect.TypeOf(&sigsk8siogatewayapiapisv1beta1.GatewayClassSpec{}).Elem(), StatusType: reflect.TypeOf(&sigsk8siogatewayapiapisv1beta1.GatewayClassStatus{}).Elem(),
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Apr 25 14:44:17 UTC 2024
    - 31.4K bytes
    - Viewed (0)
  6. pilot/pkg/config/kube/crdclient/types.gen.go

    			ObjectMeta: origMeta,
    			Spec:       *(orig.Spec.(*sigsk8siogatewayapiapisv1beta1.GatewayClassSpec)),
    		}
    		modRes := &sigsk8siogatewayapiapisv1beta1.GatewayClass{
    			ObjectMeta: modMeta,
    			Spec:       *(mod.Spec.(*sigsk8siogatewayapiapisv1beta1.GatewayClassSpec)),
    		}
    		patchBytes, err := genPatchBytes(oldRes, modRes, typ)
    		if err != nil {
    			return nil, err
    		}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Apr 12 17:37:32 UTC 2024
    - 62.2K bytes
    - Viewed (0)
  7. pkg/config/schema/metadata.yaml

        version: "v1beta1"
        versionAliases:
        - "v1alpha2"
        - "v1"
        clusterScoped: true
        protoPackage: "sigs.k8s.io/gateway-api/apis/v1beta1"
        proto: "k8s.io.gateway_api.api.v1alpha1.GatewayClassSpec"
        statusProto: "k8s.io.gateway_api.api.v1alpha1.GatewayClassStatus"
        statusProtoPackage: "sigs.k8s.io/gateway-api/apis/v1beta1"
    
      - kind: "Gateway"
        identifier: KubernetesGateway
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Apr 12 17:37:32 UTC 2024
    - 13.2K bytes
    - Viewed (0)
  8. pilot/pkg/config/kube/gateway/deploymentcontroller_test.go

    	defaultNamespace := &corev1.Namespace{ObjectMeta: metav1.ObjectMeta{Name: "default"}}
    	customClass := &k8sbeta.GatewayClass{
    		ObjectMeta: metav1.ObjectMeta{
    			Name: "custom",
    		},
    		Spec: k8s.GatewayClassSpec{
    			ControllerName: k8s.GatewayController(features.ManagedGatewayController),
    		},
    	}
    	defaultObjects := []runtime.Object{defaultNamespace}
    	store := model.NewFakeStore()
    	if _, err := store.Create(config.Config{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon May 13 21:43:20 UTC 2024
    - 16.5K bytes
    - Viewed (0)
  9. pilot/pkg/serviceregistry/kube/controller/ambient/ambientindex_test.go

    	}
    
    	// assume this is installed with istio
    	a.gwcls.Create(&k8sbeta.GatewayClass{
    		ObjectMeta: metav1.ObjectMeta{
    			Name: constants.WaypointGatewayClassName,
    		},
    		Spec: k8sv1.GatewayClassSpec{
    			ControllerName: constants.ManagedGatewayMeshController,
    		},
    	})
    
    	// ns is more important now that we want to be able to annotate ns for svc, wl waypoint selection
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 08 01:04:50 UTC 2024
    - 70.2K bytes
    - Viewed (0)
  10. pilot/pkg/config/kube/gateway/conversion.go

    	// Setup builtin ones - these can be overridden possibly
    	for name, controller := range builtinClasses {
    		res[string(name)] = controller
    	}
    	for _, obj := range r.GatewayClass {
    		gwc := obj.Spec.(*k8s.GatewayClassSpec)
    		_, known := classInfos[gwc.ControllerName]
    		if !known {
    			continue
    		}
    		res[obj.Name] = gwc.ControllerName
    
    		// Set status. If we created it, it may already be there. If not, set it again
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 14 04:34:37 UTC 2024
    - 84.7K bytes
    - Viewed (0)
Back to top