Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 375 for GVK (0.02 sec)

  1. staging/src/k8s.io/apimachinery/pkg/runtime/helper.go

    	}
    	kind := obj.GetObjectKind()
    	oldGVK := kind.GroupVersionKind()
    	gvk := gvks[0]
    	if e.Version != nil {
    		preferredGVK, ok := e.Version.KindForGroupVersionKinds(gvks)
    		if ok {
    			gvk = preferredGVK
    		}
    	}
    
    	// The gvk only needs to be set if not already as desired.
    	if gvk != oldGVK {
    		kind.SetGroupVersionKind(gvk)
    		defer kind.SetGroupVersionKind(oldGVK)
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Dec 13 22:54:34 UTC 2023
    - 8.4K bytes
    - Viewed (0)
  2. pkg/controller/garbagecollector/dump.go

    			return err
    		}
    	}
    	if _, err := fmt.Fprintf(w, "  ];\n"); err != nil {
    		return err
    	}
    	return nil
    }
    
    func (v *dotVertex) String() string {
    	kind := v.gvk.Kind + "." + v.gvk.Version
    	if len(v.gvk.Group) > 0 {
    		kind = kind + "." + v.gvk.Group
    	}
    	missing := ""
    	if v.missingFromGraph {
    		missing = "(missing)"
    	}
    	deleting := ""
    	if v.beingDeleted {
    		deleting = "(deleting)"
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Sep 23 17:12:33 UTC 2022
    - 9.5K bytes
    - Viewed (0)
  3. pilot/pkg/config/kube/crd/conversion_test.go

    				Meta: config.Meta{
    					GroupVersionKind: gvk.HTTPRoute,
    					Name:             "test",
    					Namespace:        "default",
    					Domain:           "cluster",
    				},
    				Spec: &gateway.HTTPRouteSpec{
    					Hostnames: []gateway.Hostname{"example.com"},
    				},
    			},
    		},
    		{
    			name: "gateway status",
    			cfg: config.Config{
    				Meta: config.Meta{
    					GroupVersionKind: gvk.HTTPRoute,
    					Name:             "test",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Apr 25 18:26:16 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  4. pkg/config/analysis/analyzers/webhook/webhook.go

    	meta := analysis.Metadata{
    		Name:        "webhook.Analyzer",
    		Description: "Checks the validity of Istio webhooks",
    		Inputs: []config.GroupVersionKind{
    			gvk.MutatingWebhookConfiguration,
    		},
    	}
    	if !a.SkipServiceCheck {
    		meta.Inputs = append(meta.Inputs, gvk.Service)
    	}
    	return meta
    }
    
    func getNamespaceLabels() []klabels.Set {
    	return []klabels.Set{
    		{},
    		{"istio-injection": "enabled"},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun May 05 03:44:57 UTC 2024
    - 6K bytes
    - Viewed (0)
  5. 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)
  6. pkg/config/analysis/analyzers/gateway/certificate.go

    	"istio.io/istio/pkg/config/schema/gvk"
    )
    
    type CertificateAnalyzer struct{}
    
    var _ analysis.Analyzer = &CertificateAnalyzer{}
    
    func (*CertificateAnalyzer) Metadata() analysis.Metadata {
    	return analysis.Metadata{
    		Name:        "gateway.CertificateAnalyzer",
    		Description: "Checks a gateway certificate",
    		Inputs: []config.GroupVersionKind{
    			gvk.Gateway,
    		},
    	}
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Mar 01 01:34:15 UTC 2023
    - 4.9K bytes
    - Viewed (0)
  7. 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)
  8. staging/src/k8s.io/cli-runtime/pkg/resource/fallback_query_param_verifier.go

    	err := f.primary.HasSupport(gvk)
    	// If an error was returned from the primary OpenAPI endpoint,
    	// we fallback to check the secondary OpenAPI endpoint for
    	// any error *except* "paramUnsupportedError".
    	if err != nil && !IsParamUnsupportedError(err) {
    		klog.V(7).Infof("openapi v3 error...falling back to legacy: %s", err)
    		err = f.secondary.HasSupport(gvk)
    	}
    	return err
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 10 19:13:54 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  9. 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)
  10. staging/src/k8s.io/apimachinery/pkg/util/managedfields/internal/versionconverter.go

    }
    
    type noCorrespondingTypeErr struct {
    	gvk schema.GroupVersionKind
    }
    
    func NewNoCorrespondingTypeError(gvk schema.GroupVersionKind) error {
    	return &noCorrespondingTypeErr{gvk: gvk}
    }
    
    func (k *noCorrespondingTypeErr) Error() string {
    	return fmt.Sprintf("no corresponding type for %v", k.gvk)
    }
    
    func isNoCorrespondingTypeError(err error) bool {
    	if err == nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 08 21:44:00 UTC 2023
    - 3.7K bytes
    - Viewed (0)
Back to top