- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 113 for GVK (0.05 sec)
-
pilot/pkg/model/authentication_test.go
}, }, { Meta: config.Meta{ GroupVersionKind: gvk.RequestAuthentication, Name: "with-targetref", Namespace: "foo", }, Spec: &securityBeta.RequestAuthentication{ TargetRef: &selectorpb.PolicyTargetReference{ Group: gvk.KubernetesGateway.Group, Kind: gvk.KubernetesGateway.Kind, Name: "my-gateway", }, }, },
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Apr 17 22:20:44 UTC 2024 - 45.1K bytes - Viewed (0) -
pkg/config/schema/kubetypes/resources.gen.go
return gvk.ConfigMap, true case *k8sioapiextensionsapiserverpkgapisapiextensionsv1.CustomResourceDefinition: return gvk.CustomResourceDefinition, true case *k8sioapiappsv1.DaemonSet: return gvk.DaemonSet, true case *k8sioapiappsv1.Deployment: return gvk.Deployment, true case *istioioapinetworkingv1alpha3.DestinationRule: return gvk.DestinationRule, true case *apiistioioapinetworkingv1alpha3.DestinationRule:
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Apr 17 16:38:40 UTC 2024 - 6.2K bytes - Viewed (0) -
pkg/config/schema/kubetypes/common.go
"istio.io/istio/pkg/config" "istio.io/istio/pkg/config/schema/gvk" "istio.io/istio/pkg/ptr" "istio.io/istio/pkg/typemap" ) func MustGVRFromType[T runtime.Object]() schema.GroupVersionResource { if gk, ok := getGvk(ptr.Empty[T]()); ok { gr, ok := gvk.ToGVR(gk) if !ok { panic(fmt.Sprintf("unknown GVR for GVK %v", gk)) } return gr }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Apr 17 16:38:40 UTC 2024 - 2.2K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/runtime/serializer/cbor/cbor_test.go
} }, }, { name: "error determining gvk", metaFactory: stubMetaFactory{err: errors.New("test")}, assertOnError: func(t *testing.T, err error) { if err == nil || err.Error() != "test" { t.Errorf("expected error \"test\", got: %v", err) } }, }, { name: "typer does not recognize into", gvk: &schema.GroupVersionKind{Group: "x", Version: "y", Kind: "z"},
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon May 13 14:57:12 UTC 2024 - 20.1K bytes - Viewed (0) -
pkg/api/testing/unstructured_test.go
} var buf bytes.Buffer for gvk := range legacyscheme.Scheme.AllKnownTypes() { if nonRoundTrippableTypes.Has(gvk.Kind) { continue } if gvk.Version == runtime.APIVersionInternal { continue } subtestName := fmt.Sprintf("%s.%s/%s", gvk.Version, gvk.Group, gvk.Kind) if gvk.Group == "" { subtestName = fmt.Sprintf("%s/%s", gvk.Version, gvk.Kind) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 29 21:48:10 UTC 2024 - 16.9K bytes - Viewed (0) -
pkg/config/schema/codegen/templates/crdclient.go.tmpl
if orig.GroupVersionKind != mod.GroupVersionKind { return nil, fmt.Errorf("gvk mismatch: %v, modified: %v", orig.GroupVersionKind, mod.GroupVersionKind) } switch orig.GroupVersionKind { {{- range .Entries }} {{- if and (not .Resource.Synthetic) (not .Resource.Builtin) }} case gvk.{{.Resource.Identifier}}: oldRes := &{{ .IstioAwareClientImport }}.{{ .Resource.Kind }}{ ObjectMeta: origMeta,
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed May 08 13:57:51 UTC 2024 - 5.7K bytes - Viewed (0) -
pkg/config/analysis/analyzers/maturity/maturity.go
func (fa *AlphaAnalyzer) Analyze(ctx analysis.Context) { ctx.ForEach(gvk.Namespace, func(r *resource.Instance) bool { fa.allowAnnotations(r, ctx, gvk.Namespace) return true }) ctx.ForEach(gvk.Service, func(r *resource.Instance) bool { fa.allowAnnotations(r, ctx, gvk.Service) return true }) ctx.ForEach(gvk.Pod, func(r *resource.Instance) bool { fa.allowAnnotations(r, ctx, gvk.Pod) return true })
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu May 02 21:29:40 UTC 2024 - 5K bytes - Viewed (0) -
pkg/config/analysis/analyzers/sidecar/selector.go
"match at least one pod, and that there aren't multiple sidecar resources that select overlapping pods", Inputs: []config.GroupVersionKind{ gvk.Sidecar, gvk.Pod, gvk.Namespace, }, } } // Analyze implements Analyzer func (a *SelectorAnalyzer) Analyze(c analysis.Context) { podsToSidecars := make(map[resource.FullName][]*resource.Instance)
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Sun May 05 03:44:57 UTC 2024 - 5K bytes - Viewed (0) -
pkg/config/analysis/analyzers/destinationrule/ca-certificates.go
Description: "Checks if caCertificates is set when TLS mode is SIMPLE/MUTUAL", Inputs: []config.GroupVersionKind{ gvk.DestinationRule, }, } } func (c *CaCertificateAnalyzer) Analyze(ctx analysis.Context) { ctx.ForEach(gvk.DestinationRule, func(r *resource.Instance) bool { c.analyzeDestinationRule(r, ctx) return true }) }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Jun 14 07:22:31 UTC 2024 - 2.9K bytes - Viewed (0) -
pkg/config/analysis/analyzers/externalcontrolplane/externalcontrolplane.go
if err != nil { c.Report(gvk.ValidatingWebhookConfiguration, msg.NewInvalidExternalControlPlaneConfig(r, *clientConf.URL, hName, err.Error())) return } if result.isIP() { c.Report(gvk.ValidatingWebhookConfiguration, msg.NewExternalControlPlaneAddressIsNotAHostname(r, *clientConf.URL, hName)) } } else if clientConf.Service == nil {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Apr 18 16:48:42 UTC 2024 - 4.5K bytes - Viewed (0)