Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for GatewayClassSpec (0.27 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)
Back to top