Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for NewInvalidAnnotation (0.15 sec)

  1. pkg/config/analysis/analyzers/annotations/annotations.go

    			continue
    		}
    
    		validationFunction := inject.AnnotationValidation[ann]
    		if validationFunction != nil {
    			if err := validationFunction(value); err != nil {
    				m := msg.NewInvalidAnnotation(r, ann, err.Error())
    				util.AddLineNumber(r, ann, m)
    
    				ctx.Report(collectionType, m)
    				continue
    			}
    		}
    	}
    }
    
    // istioAnnotation is true if the annotation is in Istio's namespace
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun Jun 25 13:14:31 UTC 2023
    - 5K bytes
    - Viewed (0)
  2. pkg/config/analysis/msg/messages.gen.go

    	return diag.NewMessage(
    		NamespaceMultipleInjectionLabels,
    		r,
    		labels,
    	)
    }
    
    // NewInvalidAnnotation returns a new diag.Message based on InvalidAnnotation.
    func NewInvalidAnnotation(r *resource.Instance, annotation string, problem string) diag.Message {
    	return diag.NewMessage(
    		InvalidAnnotation,
    		r,
    		annotation,
    		problem,
    	)
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 22 10:13:03 UTC 2024
    - 43.2K bytes
    - Viewed (0)
Back to top