go.mod: update kubernetes to v1.22.0
This brings in some cri api changes for cgroups, Windows pod sandbox security context changes and some new fields for the Windows version of a privileged container. This also unfortunately bumps the prometheus client, grpc middleware, bolt and klog :( Signed-off-by: Daniel Canter <dcanter@microsoft.com>
This commit is contained in:
		
							
								
								
									
										4
									
								
								vendor/github.com/grpc-ecosystem/go-grpc-middleware/doc.go
									
									
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										4
									
								
								vendor/github.com/grpc-ecosystem/go-grpc-middleware/doc.go
									
									
									
										generated
									
									
										vendored
									
									
								
							| @@ -23,7 +23,7 @@ server chaining: | ||||
|  | ||||
| 	myServer := grpc.NewServer( | ||||
| 	    grpc.StreamInterceptor(grpc_middleware.ChainStreamServer(loggingStream, monitoringStream, authStream)), | ||||
| 	    grpc.UnaryInterceptor(grpc_middleware.ChainUnaryServer(loggingUnary, monitoringUnary, authUnary), | ||||
| 	    grpc.UnaryInterceptor(grpc_middleware.ChainUnaryServer(loggingUnary, monitoringUnary, authUnary)), | ||||
| 	) | ||||
|  | ||||
| These interceptors will be executed from left to right: logging, monitoring and auth. | ||||
| @@ -63,7 +63,7 @@ needed. For example: | ||||
| 	func FakeAuthStreamingInterceptor(srv interface{}, stream grpc.ServerStream, info *grpc.StreamServerInfo, handler grpc.StreamHandler) error { | ||||
| 	   newStream := grpc_middleware.WrapServerStream(stream) | ||||
| 	   newStream.WrappedContext = context.WithValue(ctx, "user_id", "john@example.com") | ||||
| 	   return handler(srv, stream) | ||||
| 	   return handler(srv, newStream) | ||||
| 	} | ||||
| */ | ||||
| package grpc_middleware | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Daniel Canter
					Daniel Canter