INNER CODE UNIT · Go

_KiamService_GetPodCredentials_Handler

uswitch/kiam · proto/service.pb.go:637

func _KiamService_GetPodCredentials_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(GetPodCredentialsRequest)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(KiamServiceServer).GetPodCredentials(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: "/kiam.KiamService/GetPodCredentials",
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(KiamServiceServer).GetPodCredentials(ctx, req.(*GetPodCredentialsRequest))
	}
	return interceptor(ctx, in, info, handler)
}

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…