Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 220 for GVK (0.15 sec)

  1. pilot/pkg/model/policyattachment_test.go

    	"istio.io/istio/pkg/config/schema/gvk"
    	"istio.io/istio/pkg/test"
    )
    
    func TestPolicyMatcher(t *testing.T) {
    	sampleTargetRef := &v1beta1.PolicyTargetReference{
    		Group: gvk.KubernetesGateway.Group,
    		Kind:  gvk.KubernetesGateway.Kind,
    		Name:  "sample-gateway",
    	}
    	waypointTargetRef := &v1beta1.PolicyTargetReference{
    		Group: gvk.KubernetesGateway.Group,
    		Kind:  gvk.KubernetesGateway.Kind,
    		Name:  "sample-waypoint",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 17 22:20:44 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/admission/plugin/policy/validating/typechecking.go

    	object *apiservercel.DeclType
    	params *apiservercel.DeclType
    }
    
    // TypeCheckingResult holds the issues found during type checking, any returned
    // error, and the gvk that the type checking is performed against.
    type TypeCheckingResult struct {
    	// GVK is the associated GVK
    	GVK schema.GroupVersionKind
    	// Issues contain machine-readable information about the typechecking result.
    	Issues error
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 22:07:40 UTC 2024
    - 15.3K bytes
    - Viewed (0)
  3. pilot/pkg/networking/core/gateway_test.go

    		},
    	}
    	virtualService := config.Config{
    		Meta: config.Meta{
    			GroupVersionKind: gvk.VirtualService,
    			Name:             "virtual-service",
    			Namespace:        "default",
    		},
    		Spec: virtualServiceSpec,
    	}
    	virtualServiceCaseInsensitive := config.Config{
    		Meta: config.Meta{
    			GroupVersionKind: gvk.VirtualService,
    			Name:             "virtual-service-case-insensitive",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon May 06 04:44:06 UTC 2024
    - 144K bytes
    - Viewed (0)
  4. pilot/pkg/model/push_context_test.go

    		"invalid-type": {
    			Meta: config.Meta{Name: "invalid-type", Namespace: constants.IstioSystemNamespace, GroupVersionKind: gvk.WasmPlugin},
    			Spec: &networking.DestinationRule{},
    		},
    		"invalid-url": {
    			Meta: config.Meta{Name: "invalid-url", Namespace: constants.IstioSystemNamespace, GroupVersionKind: gvk.WasmPlugin},
    			Spec: &extensions.WasmPlugin{
    				Phase:    extensions.PluginPhase_AUTHN,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun Apr 21 17:42:54 UTC 2024
    - 95.3K bytes
    - Viewed (0)
  5. pkg/config/analysis/analyzers/deployment/services.go

    		Description: "Checks association between services and pods",
    		Inputs: []config.GroupVersionKind{
    			gvk.Service,
    			gvk.Deployment,
    			gvk.Namespace,
    		},
    	}
    }
    
    func (s *ServiceAssociationAnalyzer) Analyze(c analysis.Context) {
    	c.ForEach(gvk.Deployment, func(r *resource.Instance) bool {
    		if !isWaypointDeployment(r) && util.DeploymentInMesh(r, c) {
    			s.analyzeDeploymentPortProtocol(r, c)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun May 05 03:44:57 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  6. pilot/pkg/config/kube/gateway/controller_test.go

    	store.Create(config.Config{
    		Meta: config.Meta{
    			GroupVersionKind: gvk.GatewayClass,
    			Name:             "gwclass",
    			Namespace:        "ns1",
    		},
    		Spec: gatewayClassSpec,
    	})
    	if _, err := store.Create(config.Config{
    		Meta: config.Meta{
    			GroupVersionKind: gvk.KubernetesGateway,
    			Name:             "gwspec",
    			Namespace:        "ns1",
    		},
    		Spec: gatewaySpec,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 02 16:47:06 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apimachinery/pkg/apis/meta/v1/controller_ref.go

    		}
    	}
    	return nil
    }
    
    // NewControllerRef creates an OwnerReference pointing to the given owner.
    func NewControllerRef(owner Object, gvk schema.GroupVersionKind) *OwnerReference {
    	return &OwnerReference{
    		APIVersion:         gvk.GroupVersion().String(),
    		Kind:               gvk.Kind,
    		Name:               owner.GetName(),
    		UID:                owner.GetUID(),
    		BlockOwnerDeletion: ptr.To(true),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Apr 09 05:14:33 UTC 2024
    - 2K bytes
    - Viewed (0)
  8. pilot/pkg/config/memory/store_test.go

    }
    
    func BenchmarkStoreGet(b *testing.B) {
    	s := initStore(b)
    	gvk := config.GroupVersionKind{
    		Group:   "networking.istio.io",
    		Version: "v1alpha3",
    		Kind:    "ServiceEntry",
    	}
    	b.ResetTimer()
    	for n := 0; n < b.N; n++ {
    		// get one thousand times
    		for i := 0; i < 1000; i++ {
    			if s.Get(gvk, strconv.Itoa(i), "ns") == nil {
    				b.Fatal("get failed")
    			}
    		}
    	}
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Dec 26 01:14:27 UTC 2023
    - 3.4K bytes
    - Viewed (0)
  9. pkg/config/schema/resource/schema.go

    	return s.identifier
    }
    
    func (s *schemaImpl) Kind() string {
    	return s.gvk.Kind
    }
    
    func (s *schemaImpl) Plural() string {
    	return s.plural
    }
    
    func (s *schemaImpl) Group() string {
    	return s.gvk.Group
    }
    
    func (s *schemaImpl) Version() string {
    	return s.gvk.Version
    }
    
    func (s *schemaImpl) GroupVersionAliasKinds() []config.GroupVersionKind {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Dec 19 22:42:42 UTC 2023
    - 9.7K bytes
    - Viewed (0)
  10. pilot/pkg/networking/apigen/apigen_test.go

    			t.Fatal("ADSC: failed running ", err)
    		}
    
    		_, err = adscConn.WaitVersion(10*time.Second, gvk.ServiceEntry.String(), "")
    		if err != nil {
    			t.Fatal("Failed to receive lds", err)
    		}
    
    		ses := adscConn.Store.List(gvk.ServiceEntry, "")
    		for _, se := range ses {
    			t.Log(se)
    		}
    		sec := adscConn.Store.List(gvk.EnvoyFilter, "")
    		for _, se := range sec {
    			t.Log(se)
    		}
    	})
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jan 12 18:20:36 UTC 2024
    - 2.3K bytes
    - Viewed (0)
Back to top