Bump k8s.io deps to v0.25.3
Signed-off-by: Luca Comellini <luca.com@gmail.com>
This commit is contained in:
		
							
								
								
									
										11
									
								
								vendor/sigs.k8s.io/json/json.go
									
									
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										11
									
								
								vendor/sigs.k8s.io/json/json.go
									
									
									
										generated
									
									
										vendored
									
									
								
							@@ -84,6 +84,8 @@ const (
 | 
			
		||||
// and a list of the strict failures (if any) are returned. If no `strictOptions` are selected,
 | 
			
		||||
// all supported strict checks are performed.
 | 
			
		||||
//
 | 
			
		||||
// Strict errors returned will implement the FieldError interface for the specific erroneous fields.
 | 
			
		||||
//
 | 
			
		||||
// Currently supported strict checks are:
 | 
			
		||||
// - DisallowDuplicateFields: ensure the data contains no duplicate fields
 | 
			
		||||
// - DisallowUnknownFields: ensure the data contains no unknown fields (when decoding into typed structs)
 | 
			
		||||
@@ -137,3 +139,12 @@ func SyntaxErrorOffset(err error) (isSyntaxError bool, offset int64) {
 | 
			
		||||
		return false, 0
 | 
			
		||||
	}
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
// FieldError is an error that provides access to the path of the erroneous field
 | 
			
		||||
type FieldError interface {
 | 
			
		||||
	error
 | 
			
		||||
	// FieldPath provides the full path of the erroneous field within the json object.
 | 
			
		||||
	FieldPath() string
 | 
			
		||||
	// SetFieldPath updates the path of the erroneous field output in the error message.
 | 
			
		||||
	SetFieldPath(path string)
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user