- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for NewFullName (0.12 sec)
-
pkg/config/analysis/analyzers/webhook/webhook.go
return } for name, whs := range webhooks { for _, wh := range whs { if wh.ClientConfig.Service == nil { // it is an url, skip it continue } fname := resource.NewFullName( resource.Namespace(wh.ClientConfig.Service.Namespace), resource.LocalName(wh.ClientConfig.Service.Name)) if !context.Exists(gvk.Service, fname) {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Sun May 05 03:44:57 UTC 2024 - 6K bytes - Viewed (0) -
pkg/config/analysis/analyzers/analyzers_bench_test.go
// Generate blank test data store := memory.MakeSkipValidation(collections.All) collections.All.ForEach(func(s resource2.Schema) bool { for i := 0; i < count; i++ { name := resource.NewFullName("default", resource.LocalName(fmt.Sprintf("%s-%d", s.Kind(), i))) _, _ = store.Create(config.Config{ Meta: config.Meta{ GroupVersionKind: s.GroupVersionKind(), Name: name.Name.String(),
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Apr 02 08:32:06 UTC 2024 - 3.3K bytes - Viewed (0) -
pkg/config/analysis/analyzers/schema/validation_test.go
return nil, nil }) ctx := &fixtures.Context{ Resources: []*resource.Instance{ { Message: &v1alpha3.VirtualService{}, Metadata: resource.Metadata{ FullName: resource.NewFullName("ns", "name"), }, Origin: fakeOrigin{}, }, }, } a := ValidationAnalyzer{s: testSchema} a.Analyze(ctx) } func TestSchemaValidationWrapper(t *testing.T) {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Apr 02 08:32:06 UTC 2024 - 4.5K bytes - Viewed (0) -
pkg/config/analysis/analyzers/util/in_mesh.go
func getNamesSidecarInjectionStatus(ns resource.Namespace, c analysis.Context) (enabled bool, ok bool) { enabled, ok = false, false namespace := c.Find(gvk.Namespace, resource.NewFullName("", resource.LocalName(ns))) if namespace != nil { enabled, ok = namespace.Metadata.Labels[InjectionLabelName] == InjectionLabelEnableValue, true } return enabled, ok }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu May 02 21:29:40 UTC 2024 - 4.3K bytes - Viewed (0)